Templates / Auto-post Facebook and Instagram content with OpenAI, Google Sheets and review

Auto-post Facebook and Instagram content with OpenAI, Google Sheets and review

Ready for 3.0

by Pixril ✓ · 1,479 views · created 2026-04-12 · Social Media, AI Chatbot

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 18 nodes and runs when someone submits an n8n form (“PIXRIL Marketing Agent”). Along the way it connects Google Sheets, OpenAI and Facebook Graph API.

How it runs

Trigger: When someone submits an n8n form (“PIXRIL Marketing Agent”).

  1. Manual Dispatcher (Code): runs custom JavaScript code
  2. Product vs Pitch Router (If): checks a condition and branches into true / false
  3. Generate Custom Pitch (Code): runs custom JavaScript code
  4. Fetch All Agents (Google Sheets): uses Google Sheets
  5. Image URL Converter (Code): runs custom JavaScript code
  6. Smart Product Selector (Code): runs custom JavaScript code
  7. AI Copywriter (OpenAI): uses OpenAI
  8. Approval Gate (Wait): pauses until form
  9. Check Approval (If): checks a condition and branches into true / false
  10. Build Payloads (Code): runs custom JavaScript code

…plus 7 more steps. See the full node list below.

Services it uses

Google SheetsOpenAIFacebook Graph API

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (7)

From the author

Who is this for? This workflow is designed for social media managers, marketing agencies, and business owners who want to automate their Facebook and Instagram posting without losing quality control. It is perfect if you manage content in Google Sheets and…

Excerpt from Pixril's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.