Quick Overview
This workflow runs hourly to read “ready” rows from a Google Sheets content calendar, validates each row, then schedules approved posts via PostWire to client LinkedIn, Instagram, Facebook, TikTok, and Bluesky accounts, updating the sheet and emailing you a schedule or a list of fixes.
How it works
- Runs every hour on a schedule.
- Pulls your client brands from PostWire and reads “ready” rows from a Google Sheets content calendar.
- Validates each row against the PostWire brands and connected platforms, checks text limits (including Bluesky), verifies required media for Instagram/TikTok, confirms the publish time is valid, and flags same-time double bookings.
- Schedules valid rows in PostWire at the specified time for the selected platforms and client brand.
- Updates Google Sheets with the PostWire post ID, scheduling status, a human-readable note, and a timestamp, then emails you a per-client schedule summary via Gmail.
- For invalid or failed rows, writes the problem details back to Google Sheets (status “needs fix”) and emails you the list of rows to correct via Gmail.
Setup
- Install and configure the PostWire community node, create one PostWire brand per client with their social accounts connected, and add your PostWire API credential in n8n.
- Connect Google Sheets credentials, select the target spreadsheet and sheet in the workflow, and ensure it includes columns like client/brand, networks, text, short_text, media_url, publish_at, status, row_number, post_id, note, and updated_at.
- Connect a Gmail account, set the notification email address in the Agency settings, and update the timezone to match how publish_at times are entered in your sheet.