Skip to content
Airtable integration

Airtable social media calendar that publishes itself

Airtable is a good place to plan a content calendar, but it does not post anything. You can close that gap with an Airtable automation: when a record reaches a status such as Ready, a Run a script action calls POST /posts on the PostMyReels API and the video goes to TikTok, Instagram and YouTube. There is no PostMyReels app inside Airtable, and you do not need one.

·6 min read·PostMyReels team

A content planner reviewing a grid of planned posts on a laptop beside a notebook

The setup: keep one record per post (video URL, caption, platforms, publish time, status). Create an automation that triggers when a record becomes Ready, add a Run a script action that sends the record to https://api.postmyreels.com/api/v1/posts, then write the returned post_id and a status back to the record. Start with a pmr_test_ key; it validates everything and posts nothing.

What you need

  • A PostMyReels account (the Free plan is open now: sign in with Google, no card) with a profile and at least one connected TikTok, Instagram or YouTube account. Instagram must be a Business or Creator account linked to a Facebook Page.
  • An API key. pmr_test_ keys simulate deliveries; pmr_live_ keys publish for real. The developer overview covers the whole API.
  • An Airtable base on a plan that has automations with the Run a script action. Airtable's Run a script documentation lists the plans and limits, so check that yours is included.
  • Videos at a public, direct URL (for example cloud storage). An Airtable attachment link works only as long as the link stays reachable; if PostMyReels cannot fetch the file, the delivery fails with media_unreachable. For large files, upload through POST /media/uploads and send a media_id instead.
Your appPOST /api/v1/posts
PostMyReelsuploads, retries, per-platform options
TikTokPublished
InstagramPublished
YouTubePublished
Your apppost.published / post.failed
One request in, one webhook back. Errors come with a code, a message and a fix.

How it fits together

Airtable stays your planning surface: the calendar view, the status column, the assignee, the client. PostMyReels does the publishing. The automation is the bridge, and it runs once per post, not on a timer. A post that is scheduled in the API keeps its own publish time, so Airtable does not have to be "on" at 9:30 a.m. for the video to go out. The same pattern works with a Google Sheet or with n8n; Airtable just keeps everything in a database you may already use.

Step 1: build the table

Create a table called Posts with these fields. Names are yours to choose; the script below uses them.

FieldTypeUsed for
TitleSingle line textYouTube title, TikTok caption fallback
CaptionLong textMain caption
Video URLURLPublic link to the .mp4
PlatformsMultiple select (tiktok, instagram, youtube)Where to post
Publish atDate with timescheduled_at
StatusSingle select (Draft, Ready, Sent, Failed)Trigger and result
PMR post IDSingle line textThe post_id returned by the API
NoteLong textError message and fix, if any

A Calendar view on Publish at gives you the social media calendar. Our content calendar guide has ideas for what to put in it.

Step 2: the trigger

Create an automation with the trigger When record matches conditions and set the condition Status is Ready. Airtable fires it once when a record starts to match. Add a second condition that PMR post ID is empty so an edited record never posts twice.

Step 3: the Run a script action

Add the action Run a script. In the sidebar, add input variables that map to the trigger record (title, caption, videoUrl, platforms, publishAt, recordId). Store the API key as a secret in the action rather than pasting it into the code; Airtable's docs say secrets are read with input.secret.

Then paste the script. Airtable's script action supports fetch() for external APIs, per its documentation.

const cfg = input.config();
const apiKey = input.secret("pmrKey");

const body = {
  profile: "bakery-kowalski",
  platform: cfg.platforms.split(",").map(p => p.trim().toLowerCase()),
  media: [{ url: cfg.videoUrl }],
  title: cfg.title,
  caption: cfg.caption,
  external_id: cfg.recordId,
  tiktok: { privacy_level: "PUBLIC_TO_EVERYONE" },
  instagram: { media_type: "REELS", share_to_feed: true },
  youtube: { title: cfg.title, privacy_status: "public" }
};

if (cfg.publishAt) {
  body.scheduled_at = cfg.publishAt;   // ISO 8601, e.g. 2027-03-22T09:30:00.000Z
}

const res = await fetch("https://api.postmyreels.com/api/v1/posts", {
  method: "POST",
  headers: {
    "Authorization": "Bearer " + apiKey,
    "Content-Type": "application/json",
    "Idempotency-Key": cfg.recordId
  },
  body: JSON.stringify(body)
});

const data = await res.json();

if (res.status === 202) {
  output.set("status", "Sent");
  output.set("postId", data.post_id);
  output.set("note", "");
} else {
  const e = data.error || {};
  output.set("status", "Failed");
  output.set("postId", "");
  output.set("note", (e.message || "Request failed") + " Fix: " + (e.fix || "see docs_url"));
}
  • Time zone. Airtable date fields with time are passed to scripts as UTC ISO strings, which already carry an offset. If you send a time without an offset, add "timezone": "America/New_York" so it is read in that zone.
  • Idempotency. The Idempotency-Key header is valid for 24 hours. Using the record id means a re-run of the same record does not create a second post.
  • Platforms field. A multiple select reaches the script as text in many setups. The split(",") line handles a comma-separated string. If your input arrives as a list, remove the split. Log it with console.log in the test panel to see what you get.
  • Platform status. YouTube works today. TikTok posts publish as private ("Only me") until TikTok's audit of our app passes. Instagram opens after Meta's review. YouTube uploads publish with the privacy you choose; our daily upload quota is still YouTube's default while our increase request is reviewed.
One request, three platforms
One request, three platforms

Step 4: write the result back

Add an Update record action after the script. Set Status to the script's status output, PMR post ID to postId and Note to note. The API answers 202 Accepted with a post_id and a list of deliveries. That means "accepted", not "live": publishing happens afterwards, at your scheduled time. So Sent in your base means queued at PostMyReels, which is why the next section matters.

Step 5: find out whether it actually published

Two ways, both optional:

  1. Webhooks. Register a webhook with POST /webhooks for post.published and post.failed. Each event carries your external_id, which is the Airtable record id, so you can find the row. Airtable can receive a webhook with its When webhook received trigger on some plans; check Airtable's current documentation for availability on yours. If it is not available, send the webhook to n8n or Make and update Airtable from there with the Airtable API.
  2. Polling. Add a scheduled automation that finds records with Status Sent and calls GET /posts/{id} for each one. Airtable allows up to 50 fetch requests per script run, so keep the batch small.

Airtable limits to plan around

These come from Airtable's Run a script documentation, as read in November 2026, and Airtable can change them:

  • Up to 50 fetch requests per run, so one script run should post one record, not a whole table.
  • A fetch times out after 30 seconds. POST /posts returns quickly because publishing is asynchronous, so this is rarely a problem.
  • Scripts can use 512 MB of memory, and output returns at most 6 MB. Do not download the video inside the script; send its URL.

The script action is not available on Team plan trials, per the same page.

What breaks most often

  • Attachment links. Airtable's attachment URLs are not meant to be permanent links. Host the video somewhere stable, or upload it through /media/uploads first.
  • Wrong ratio. Vertical 9:16 is the safe default. A 16:9 file fails Reels with media_invalid_ratio. The Note field will say so, with the fix.
  • Caption length. Over-long captions are rejected with caption_too_long. Use per-platform fields, such as youtube.title, when limits differ. Check each platform's current rules in its official documentation rather than relying on a number copied into a base.
  • Re-trigger loops. If the script changes the same record that triggers the automation, the "PMR post ID is empty" condition is what stops a loop.

Airtable, or something else?

Airtable suits teams that already keep clients, briefs and approvals in a base. If you only want a sheet, use Google Sheets. If you want branching logic and retries without writing code, use n8n with its HTTP Request node. If you manage many clients, see how agencies keep one profile per client. For the bigger picture of connecting tools to the API, start at the developers page. 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

Can Airtable post to TikTok, Instagram and YouTube?

Not by itself. Airtable plans the content; to publish, an automation script calls the PostMyReels REST API, which posts to TikTok, Instagram and YouTube. There is no native PostMyReels app in Airtable.

Do I need a paid Airtable plan?

You need a plan that includes automations with the Run a script action. Airtable's documentation lists availability and limits, and notes the action is not available on Team plan trials. Check your plan there.

How do I schedule posts from an Airtable social media calendar?

Add a date-time field, send it as scheduled_at in the API call, and PostMyReels publishes at that time. Airtable does not need to be running at the publish moment.

How do I know if the post failed?

Failed deliveries come back with an error code, a message and a fix. You can read them with GET /posts/{id} or receive them through a post.failed webhook, then write them into a Note field.

Can I test it without posting?

Yes. Keys that start with pmr_test_ validate the request and simulate deliveries without posting anything. Switch to a pmr_live_ key when the table and script behave.

Post to TikTok, Instagram and YouTube from one place.

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

Start freeAsk your AI