Google Sheets social media calendar that posts for you
A Google Sheets content calendar can publish itself: each row holds a video link, a caption and a time, and a small script (or an n8n or Make scenario) sends every new row to POST /posts so it goes out to TikTok, Instagram and YouTube. There is no PostMyReels add-on for Sheets. You connect the two with Apps Script's UrlFetchApp or an HTTP Request module, and this page has the columns and the code.

The short version: keep one row per post (profile, video URL, title, caption, platforms, date and time). A script reads rows whose status cell is empty, calls POST /posts with scheduled_at, and writes the returned post_id back into the row. Use a pmr_test_ key first: it validates everything and posts nothing.
Why a spreadsheet works as a content calendar
Most teams already plan in a sheet. It is easy to share, easy to filter by client or platform, and a client can comment on a cell without a login to yet another tool. The weak spot is the last step: someone still copies each caption into a scheduler by hand, which is where dates get mixed up and rows get skipped.
Connecting the sheet to a posting API closes that gap. The sheet stays your plan, and every row that gets a date becomes a scheduled post. If you only need a layout to start from, grab the social media calendar template or read the guide on building a content calendar. This page is for the next step, making it post.
The posting side is the PostMyReels REST API. One call sends a video to TikTok, Instagram and YouTube with per-platform options. YouTube works today. TikTok posts publish as private ("Only me") until TikTok's audit of our app passes. Instagram opens after Meta's review.
Three ways to connect a sheet
| Method | Good for | Trade-off |
|---|---|---|
Apps Script (UrlFetchApp) | A single sheet, no extra tools, free to run inside Google | You maintain a short script; daily quotas apply |
| n8n | Rows plus other steps: AI captions, approvals, Slack alerts | Needs an n8n instance (cloud or self-hosted) |
| Make or Zapier | Teams who prefer a visual builder | Counts against your plan's operations or tasks |
All three do the same thing underneath: read a row, send an HTTP POST with a Bearer key. None of them needs a native PostMyReels add-on, because there isn't one for Google Sheets, n8n, Make or Zapier. The HTTP step is the integration.
Set up the sheet
Create a tab called Calendar with these columns in row 1. The names are only for you, but the script below expects this order.
| Column | Header | Example |
|---|---|---|
| A | profile | bakery-kowalski (profile id or slug) |
| B | video_url | A public link to the MP4 |
| C | title | Used as the YouTube title and TikTok fallback |
| D | caption | Main text for all platforms |
| E | platforms | tiktok,instagram,youtube |
| F | publish_at | A date-time cell, such as 2027-03-10 09:30 |
| G | timezone | America/New_York |
| H | status | Filled by the script: queued, error, then a final status |
| I | post_id | Filled by the script |
| J | note | Error text, or per-platform results |
Two practical notes. The video must be reachable at a public URL; a private Drive link will not work, so use a direct public link or upload large files with POST /media/uploads and send the media_id instead. And add a dropdown or data validation on column E so nobody types a platform we do not support: only TikTok, Instagram and YouTube are supported (Instagram opens after Meta's review).
Option 1: Apps Script that posts new rows
In the sheet, open Extensions → Apps Script and paste the code below. First save your key: in the editor choose Project Settings → Script Properties and add a property named PMR_KEY with your pmr_test_ key. Keeping it there stops the key from sitting in a cell or in the code.
const API = "https://api.postmyreels.com/api/v1";
function postNewRows() {
const key = PropertiesService.getScriptProperties().getProperty("PMR_KEY");
const sheet = SpreadsheetApp.getActive().getSheetByName("Calendar");
const rows = sheet.getDataRange().getValues();
for (let i = 1; i < rows.length; i++) {
const [profile, videoUrl, title, caption, platforms, publishAt, tz, status] = rows[i];
if (!profile || status) continue; // skip blanks and rows already handled
const zone = tz || "UTC";
const local = Utilities.formatDate(new Date(publishAt), zone, "yyyy-MM-dd'T'HH:mm:ss");
const body = {
profile: profile,
platform: String(platforms).split(",").map(function (p) { return p.trim(); }),
media: [{ url: videoUrl }],
title: title,
caption: caption,
scheduled_at: local,
timezone: zone,
external_id: "sheet-row-" + (i + 1)
};
const res = UrlFetchApp.fetch(API + "/posts", {
method: "post",
contentType: "application/json",
headers: {
Authorization: "Bearer " + key,
"Idempotency-Key": "sheet-row-" + (i + 1) + "-" + local
},
payload: JSON.stringify(body),
muteHttpExceptions: true
});
const data = JSON.parse(res.getContentText());
if (res.getResponseCode() === 202) {
sheet.getRange(i + 1, 8, 1, 3).setValues([["queued", data.post_id, ""]]);
} else {
const err = data.error || {};
sheet.getRange(i + 1, 8, 1, 3).setValues([["error", "", err.message + " Fix: " + err.fix]]);
}
}
}
What the script does, line by line in plain words:
- It skips any row whose
statuscell already has a value, so running it twice never posts twice. - It formats the date in the row's time zone without a UTC offset, then sends that
timezonealong. The API readsscheduled_atin that zone when it has no offset. - It sets
external_idto the row number. It comes back on the post and in webhooks, so you can always tie a result to a row. - The
Idempotency-Keyheader means a repeated call with the same body returns the original response instead of creating a second post. muteHttpExceptions: truekeeps a failed request from stopping the loop. Every API error carries acode, amessageand afix, which the script writes into the note column.
The request options (method, headers, payload, contentType, muteHttpExceptions) are documented in Google's UrlFetchApp reference.
Run it on a timer
- In Apps Script, click the clock icon (Triggers) and choose Add Trigger.
- Pick
postNewRows, event source Time-driven, and an interval such as every hour. The first run asks you to authorize external requests. - Add rows during the week. The next run schedules each one ahead of its publish time.
Schedule ahead rather than at publish time. PostMyReels holds the post and publishes it at scheduled_at, so a late script run does not miss the slot. If a date is further out than your plan allows, the API rejects the row and the note column says why.
Know the Apps Script limits
Google publishes daily quotas for Apps Script. At the time of writing, its quotas page lists 20,000 URL Fetch calls a day on consumer accounts and 100,000 on Workspace accounts, a 6-minute cap per execution, and a total trigger runtime per day. A calendar of a few hundred posts a month is nowhere near these numbers, but a very large bulk import should be split across runs. Check that page for the current values.
Check the result back in the sheet
The create call returns 202 straight away, because posting is asynchronous. The row says queued until the post actually goes out. Two ways to close the loop:
- Poll. A second function can loop over rows with a
post_id, callGET /posts/{id}, and write the status (scheduled,published,partial,failed) and each delivery's URL or error into the note column. Run it on its own trigger. - Webhooks. Register a webhook for
post.publishedandpost.failedthat points at an n8n or Make webhook, which then updates the sheet row matched byexternal_id. Apps Script web apps do not expose request headers to your code, so they cannot check theX-PMR-Signatureheader, which is why we suggest n8n or Make for webhook handling.
When a post fails, the delivery has an error_code and a fix, for example a wrong aspect ratio. Fix the file, put the corrected URL in the row, and either retry from the dashboard or call POST /posts/{id}/retry.
Option 2: n8n or Make reading the sheet
If you want more than a script, let a workflow tool watch the sheet.
- Add a Google Sheets trigger for new or updated rows (both n8n and Make have one built in).
- Filter to rows where
statusis empty andpublish_atis filled. - Add an HTTP Request step: method POST, URL
https://api.postmyreels.com/api/v1/posts, Header Auth withAuthorization: Bearer pmr_..., JSON body built from the row's cells, same fields as in the script above. - Add a Google Sheets update step that writes the returned
post_idandqueuedback to the row. - In a second workflow, receive
post.publishedandpost.failedand update the same row byexternal_id.
This is the same pattern as the full n8n guide, which has the credential setup and webhook details. Make and Zapier work the same way through their HTTP modules; see Make and Zapier. A workflow tool also lets you add an AI caption step or a Slack approval before the post, which a plain script does not.
Platform notes for sheet-driven posting
- One caption, three platforms. The sheet uses a single
captionandtitle. Add columns if you want to override per platform, such as a longer YouTube description or a TikTok-specific caption, and map them to thetiktok,instagramandyoutubeobjects in the body. - Instagram needs a Business or Creator account linked to a Facebook Page. Personal accounts cannot be posted to by any app.
- TikTok posts publish as private ("Only me") while our TikTok audit is pending, whatever privacy value you send. YouTube uploads publish with the privacy you choose, and our daily YouTube upload quota is still the default while an increase request is reviewed. We do not promise dates; see the audit explainer.
- Test first. A
pmr_test_key validates every row and simulates the deliveries, so you can run the whole sheet end to end before a single real post. - Rate limits. Free keys allow 60 requests a minute and paid keys 300. A script that loops over a long list should pause between calls with
Utilities.sleepif it nears the limit.
When to skip the script
If you post a few times a week, a sheet plus a script may be more setup than it saves. The dashboard has a calendar, a queue and a composer that checks the file when you drop it. Use the sheet route when the plan already lives in a spreadsheet, when clients fill in captions themselves, or when you want to batch a month of posts from a content team's export. Either way the posts run through the same engine. Start free
Free plan, no card: sign in with Google and start now. YouTube works today. TikTok posts publish as private ("Only me") until TikTok’s audit of our app passes. Instagram opens after Meta’s review.
Questions
Is there a Google Sheets add-on for PostMyReels?
No. There is no native add-on. Connect a sheet with Apps Script's UrlFetchApp, or with an HTTP Request step in n8n, Make or Zapier that calls POST /posts.
How do I schedule posts from Google Sheets?
Put one post per row with a video URL, caption, platforms and a date-time, then run a script or workflow that sends each new row to POST /posts with scheduled_at and a timezone. PostMyReels holds the post and publishes it at that time.
Can a Google Sheets content calendar post to TikTok, Instagram and YouTube at once?
Yes. Set platform to an array such as tiktok, instagram and youtube in the request body. One row then becomes one post with a delivery per platform.
Why did my row go to 'error' in the sheet?
The API returns an error with a code, a message and a fix, and the script writes them into the note column. Common causes are a media link that is not public, a platform that is not supported, or a date outside what your plan allows.
Will running the script twice post twice?
Not if you keep the status check and the Idempotency-Key header. The script skips rows that already have a status, and a repeated call with the same key and body returns the original response.
Can I test it without posting anything?
Yes. A pmr_test_ API key validates every request and simulates deliveries, so you can run the whole sheet without publishing.
Related integrations

A social media posting API for TikTok, Instagram and YouTube
One REST call posts video to TikTok, Instagram and YouTube, with scheduling, webhooks, test keys and errors that say how to fix them. Free plan.
Read →
n8n social media automation: post to TikTok, Instagram and YouTube
Post to TikTok, Instagram and YouTube from n8n with the HTTP Request node and POST /posts. Header Auth setup, JSON body, webhooks and workflow ideas.
Read →
Free social media content calendar template
Generate a free social media content calendar for any month: pick platforms and posts per week, see the table and download a CSV for Google Sheets or Excel.
Read →Post to TikTok, Instagram and YouTube from one place.
Free plan, no card. Connect an account in under a minute.