n8n template: posts from a Google Sheet as drafts or scheduled
With this template you collect your posts in a Google Sheet. As soon as a row has the status ready, n8n creates a draft in Social Poster and writes the result back to the sheet. By default it stays a draft. With one field you switch it so every row is scheduled right away.
Download: google-sheets-row-to-post.json from the help center or from GitHub. How to import the file is explained in n8n templates.

What the template does
- Every 15 minutes starts the workflow.
- Read ready rows reads the sheet. Only status ready only lets rows through where Status is exactly ready and Caption is not empty.
- Create the draft creates a draft for each of these rows. An error in one row does not stop the others.
- Should it be scheduled? only passes the row on to Schedule the draft with mode schedule. That node schedules the draft minutesFromNow minutes later and confirms it.
- Write the status writes the result to the row: Status draft (draft only), scheduled or error, the draft ID in DraftRef and, for scheduled posts, the time (UTC) in ScheduledAt.
If your team requires approval, a scheduled post waits in Social Poster under Wartet auf dich (waiting for you).
Where you see the draft
The draft ID (starts with dr_) is in the DraftRef column. The output of Create the draft also shows the link app_draft_url under draft. After you sign in to Social Poster, it opens a read-only view of the draft. A post only appears in the calendar once it is scheduled.
In the app: If the new view is already switched on for your team, you also find the draft under Drafts in the section Drafts from n8n and AI assistants. It carries the label Automation (n8n). With the Source filter you show only these drafts. There you can edit the text, schedule the draft or delete it. Scheduling follows the same rules as in n8n: consents, approval, quota and at least 5 minutes lead time. The calendar shows scheduled posts with the same label, and you can filter by Source there too. If you don't see the section yet, the view isn't switched on for your team yet. Then use the link app_draft_url as before.
How to set up the sheet
Row 1 needs exactly these column headers, spelled like this:
- Caption: the post text (required)
- Link: a link for the post (optional)
- MediaURLs: publicly reachable image or video addresses, separated by commas or line breaks, at most 20 (optional)
- Title: a title for networks such as YouTube, Pinterest or Tumblr (optional)
- Status: ready for rows n8n should pick up
- DraftRef: stays empty, n8n writes the draft ID or the error here
- ScheduledAt: stays empty, n8n writes the scheduled time here
What you adapt
In the node Every 15 minutes you set how often n8n checks the sheet.
In the node Settings:
- sheetId: The ID of your sheet instead of YOUR_GOOGLE_SHEET_ID. You find it in the sheet address between /d/ and /edit.
- sheetName: The name of the tab at the bottom of the sheet. The default is Posts.
- accountRef: Your account reference instead of acc_YOUR_ACCOUNT_REF. How to find it is explained in n8n templates.
- mode: The default is draft. With schedule every row is scheduled.
- minutesFromNow: Only used with mode schedule. How many minutes after the run the post goes out. The default is 15; the node treats values below 5 as 5.
Credentials: Select Social Poster API in Create the draft and Schedule the draft, and your Google Sheets credential in Read ready rows and Write the status.
Switch from draft to scheduled
- Open the node Settings.
- Change the value of the field mode from draft to schedule. Upper or lower case and spaces at the edges don't matter. Any other value keeps the draft.
- Enter in minutesFromNow how many minutes after the run the post should go out.
- Open Schedule the draft and check that your Social Poster API credential is selected.
- Set one test row to ready and click Test workflow.
- The sheet then shows Status scheduled and the time in ScheduledAt. Check the post in Social Poster in the calendar or under Wartet auf dich (waiting for you).
- Save the workflow and activate it.
The switch only applies to rows that are set to ready from then on. Rows with status draft stay drafts. To schedule one of them, use the variation “Schedule a single draft later” below. To go back to drafts, set mode to draft.
Typical variations
- Check less or more often: Set the node Every 15 minutes to every hour, for example.
- Fixed time per row: Add your own column, for example PlanAt, with date and time in the form 2026-12-01T09:00:00+01:00. In Schedule the draft set Schedule to At Date and Time and use an expression for Date and Time that reads this column from Only status ready. The time must be at least 5 minutes in the future.
- Several accounts: Create one copy of the workflow with its own tab per account.
- Schedule a single draft later: Add a Social Poster node with Post > Schedule Draft, enter the ID from DraftRef under Draft ID and run it once.
Errors and solutions
- Nothing happens: Check that Status is exactly ready (without spaces) and Caption is filled in. Also check that sheetId and sheetName are correct.
- Status stays draft although you want to schedule: mode is still set to draft or misspelled.
- Status error and only an error text in DraftRef: The draft was not created. The text explains why. Fix the row and set Status to ready again.
- Status error and an ID starting with dr_ plus an error text in DraftRef: The draft exists, only scheduling failed. Schedule it with Post > Schedule Draft and this ID. If you set the row to ready again, n8n creates a second draft.
- “Too many requests. Wait a minute and try again.”: The key allows about 10 draft changes and 3 publishing steps per minute. Don't set too many rows to ready at the same time.
- A row runs twice: If n8n could not write the result back, the row stays on ready and runs again next time. Check the Google Sheets credential and discard the duplicate in n8n with Draft > Discard and its draft ID.
- Google reports missing permissions: The Google credential belongs to an account without access to the sheet. Share the sheet with this account.
- For X: Leave X Content Reviewed off in Schedule the draft until a person has checked the exact text and media.