Skip to content
Google Sheets integration

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.

·8 min read·PostMyReels team

Content planner reviewing a weekly posting spreadsheet on a laptop beside a notebook and coffee

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.

Triggernew file, row or RSS item
Caption steptemplate or AI
HTTP RequestPOST /posts
Webhookpublished or failed → notify
Any automation tool that can send an HTTP request can publish to TikTok, Instagram and YouTube.

Three ways to connect a sheet

MethodGood forTrade-off
Apps Script (UrlFetchApp)A single sheet, no extra tools, free to run inside GoogleYou maintain a short script; daily quotas apply
n8nRows plus other steps: AI captions, approvals, Slack alertsNeeds an n8n instance (cloud or self-hosted)
Make or ZapierTeams who prefer a visual builderCounts 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.

ColumnHeaderExample
Aprofilebakery-kowalski (profile id or slug)
Bvideo_urlA public link to the MP4
CtitleUsed as the YouTube title and TikTok fallback
DcaptionMain text for all platforms
Eplatformstiktok,instagram,youtube
Fpublish_atA date-time cell, such as 2027-03-10 09:30
GtimezoneAmerica/New_York
HstatusFilled by the script: queued, error, then a final status
Ipost_idFilled by the script
JnoteError 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 status cell 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 timezone along. The API reads scheduled_at in that zone when it has no offset.
  • It sets external_id to the row number. It comes back on the post and in webhooks, so you can always tie a result to a row.
  • The Idempotency-Key header means a repeated call with the same body returns the original response instead of creating a second post.
  • muteHttpExceptions: true keeps a failed request from stopping the loop. Every API error carries a code, a message and a fix, 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

  1. In Apps Script, click the clock icon (Triggers) and choose Add Trigger.
  2. Pick postNewRows, event source Time-driven, and an interval such as every hour. The first run asks you to authorize external requests.
  3. 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, call GET /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.published and post.failed that points at an n8n or Make webhook, which then updates the sheet row matched by external_id. Apps Script web apps do not expose request headers to your code, so they cannot check the X-PMR-Signature header, 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.

  1. Add a Google Sheets trigger for new or updated rows (both n8n and Make have one built in).
  2. Filter to rows where status is empty and publish_at is filled.
  3. Add an HTTP Request step: method POST, URL https://api.postmyreels.com/api/v1/posts, Header Auth with Authorization: Bearer pmr_..., JSON body built from the row's cells, same fields as in the script above.
  4. Add a Google Sheets update step that writes the returned post_id and queued back to the row.
  5. In a second workflow, receive post.published and post.failed and update the same row by external_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 caption and title. Add columns if you want to override per platform, such as a longer YouTube description or a TikTok-specific caption, and map them to the tiktok, instagram and youtube objects 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.sleep if 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.

FAQ

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.

Post to TikTok, Instagram and YouTube from one place.

Free plan, no card. Connect an account in under a minute.

Start freeAsk your AI