Templates / Generate and schedule themed social posts with Notion, OpenAI, Fal.ai and Postiz

Generate and schedule themed social posts with Notion, OpenAI, Fal.ai and Postiz

Needs changes

by zahir khan ✓ · 212 views · created 2025-12-30 · Content Creation, 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-10-19.

What this workflow does

This AI workflow has 44 nodes and runs on a schedule (every day at 12:00). Along the way it connects Google Drive, OpenAI Chat Model and Notion. It also calls fal.run and api.postiz.com over HTTP.

How it runs

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

  1. Get Post Theme (Notion): get many (database page)
  2. Get Brand Guidelines (Notion): get many (block)
  3. Merge: merges the data from its input branches
  4. Format Brand Text (Code): runs custom JavaScript code
  5. Route by Theme (Switch): routes items into 3 branches
  6. Gen Prompt (Expert) (AI Agent): runs an AI agent, with model: OpenAI Chat Model
  7. Gen Prompt (System) (AI Agent): runs an AI agent, with model: OpenAI Chat Model
  8. Gen Prompt (Activity) (AI Agent): runs an AI agent, with model: gpt-4o LLM
  9. Gen Image (Expert) (HTTP Request): calls fal.run (POST)
  10. Gen Image (System) (HTTP Request): calls fal.run (POST)

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

Services it uses

Google DriveOpenAI Chat ModelNotion

HTTP calls to: fal.run, api.postiz.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 Gen Prompt (System) (v1.7), Gen Prompt (Expert) (v1.7), Gen Prompt (Activity) (v1.7): 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).

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Gen Prompt (System) (v1.7), Gen Prompt (Expert) (v1.7), Gen Prompt (Activity) (v1.7)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (11)

From the author

This workflow automates your daily social media content creation by generating unique, on-brand posts based on specific themes stored in Notion. It creates images using Fal.ai, writes captions with OpenAI, and schedules them to multiple platforms via Postiz.…

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