Content calendar in Google Sheets scheduled in xpost
Each new row in your content calendar becomes a scheduled xpost post at the row's time, with its image and networks. The post ID, or the reason it was not posted, goes back to the row.
The prompt
We plan social posts in a Google Sheet, one row per post, with the columns Publish at, Caption, Image link and Networks. When a new row is added, schedule it in xpost for that date and time in our xpost project's time zone, or in the next free queue slot if Publish at is empty. Attach the image from the link if there is one, and post to our connected accounts on the networks the row names. Write the xpost post ID and when it goes out back to the row. If the row is missing something, names a network we have no account on, or xpost refuses the post, write the reason in the row instead.
FlowRunner Prompt to Flow built this flow from that request. Here it is as it opens in the editor.
The flow
Download the file, then in FlowRunner click + beside Flows, pick it under Import a Flow Version and click Create. How importing works
What each step does
- New row in the content calendar Checks your content calendar sheet every 5 minutes for a new row.
- Read the project's time zone Reads your xpost project's time zone, so 09:00 in the sheet means 09:00 where your team plans.
- Find the connected accounts Lists the connected accounts in xpost and matches them to the row's Networks column, such as X, LinkedIn or Bluesky, or all of them.
- Row ready to post? A row needs a caption or an image, a network you have an account on, and a time still to come. Anything else goes straight back to the row with the reason.
- Add the image to xpost When the row has an image link, adds the image to the xpost media library.
- Schedule the post in xpost Creates the post for the row's time, or the next free queue slot when Publish at is empty. The same row is never posted twice.
- xpost refused the post When xpost refuses the post, for example because the caption breaks a network's rule, its reason is kept for the row.
- Write the result to the row Writes Scheduled, the xpost post ID and when it goes out, or Not posted and the reason, so the sheet shows where every post stands.
Before you turn it on
- Enter your xpost API key, made in xpost under AI agent, Keys, and connect your Google account.
- Make a content calendar sheet whose first tab has these headers in row 1: Publish at, Caption, Image link, Networks, Status, xpost post ID and Note. Pick it in New row in the content calendar and in Write the result to the row.
- Write Publish at as a date and time like 2026-12-08 09:00 in your xpost project's time zone, and format that column as plain text. Leave it empty to use the next free queue slot.
- In Networks, list network names separated by commas, such as X, LinkedIn, Bluesky, or an account reference like x:yourbrand, or all. Image links must be public https links.