Templates / Create daily Facebook posts from Google Sheets with GPT-4o-mini and Ideogram

Create daily Facebook posts from Google Sheets with GPT-4o-mini and Ideogram

Needs changes

by isaWOW ✓ · 97 views · created 2026-04-21 · Social Media, Multimodal AI

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 11 nodes and runs on a schedule (every day at 06:00). Along the way it connects Google Sheets and OpenAI Chat Model. It also calls api.ideogram.ai and graph.facebook.com over HTTP.

How it runs

Trigger: On a schedule (every day at 06:00).

  1. 2. Google Sheets — Read Today Keywords (Google Sheets): uses Google Sheets
  2. 3. Split — Loop Over Each Row (Loop Over Items (Split in Batches)): loops over the items in batches
  3. 4. AI Agent — Generate Post Content (AI Agent): runs an AI agent, with model: 5. OpenAI — GPT-4o-mini Model; output parser: 6. Parser — Structured Post Output
  4. 7. HTTP — Generate Image Ideogram (HTTP Request): calls api.ideogram.ai (POST)
  5. 8. Code — Prepare Post Data (Code): runs custom JavaScript code
  6. 9. HTTP — Post to Facebook (HTTP Request): calls graph.facebook.com (POST)
  7. 10. Google Sheets — Log Posted URL (Google Sheets): append
  8. 11. Wait — 1 Minute Rate Limit (Wait): waits 1 minutes

Services it uses

Google SheetsOpenAI Chat Model

HTTP calls to: api.ideogram.ai, graph.facebook.com

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in 4. AI Agent — Generate Post Content (v1.9): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Published 2026 — 6% of 2026 templates need changes for 3.0. See how template age affects 3.0 readiness →

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.
Removed in 3.0Replace with
AI Agent v1 (old agent modes)
4. AI Agent — Generate Post Content (v1.9)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (9)

From the author

Description Set up your keyword schedule once in a Google Sheet and the workflow publishes daily Facebook posts automatically every morning at 6AM. For each keyword scheduled for today, it generates a headline and post content with GPT-4o-mini, creates a…

Excerpt from isaWOW'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.