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

Go to Workflow
0 views
Built by zahir khan zahir khan
Created on June 09, 2026

Description


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.

📺 How It Works

Daily Trigger: The workflow runs automatically every day at a set time.
Context Fetching: It pulls your "Brand Guidelines" and the specific "Post Theme" for the day (e.g., Expert Advice, System, or Activity) from Notion.
Image Generation: It uses OpenAI to craft a detailed image prompt based on the theme, then sends it to Fal.ai to generate a high-quality visual.
Caption Writing: It uses OpenAI again to write an engaging caption that adheres to your brand voice.
Scheduling: Finally, it uploads the media to Postiz and schedules it for publication on LinkedIn, X (Twitter), Facebook, and Instagram.

🔧 How to set up

Notion: Create a "Brand Guidelines" database and a "Post Themes" database.
Configure Nodes: Update the Notion nodes in the workflow to point to your specific Database IDs.
Credentials: Connect your accounts for OpenAI, Fal.ai, Google Drive, Notion, and Postiz.
Postiz IDs: In the final HTTP Request nodes, replace the integration_id fields with the specific IDs from your Postiz account for each social platform.

📋 Requirements

n8n (Self-hosted or Cloud)
Notion account
OpenAI API Key
Fal.ai API Key
Postiz instance (or account)
Google Drive account (for temporary image storage)

Nodes Used (6)

AI Agent
@n8n/n8n-nodes-langchain.agent
Code
n8n-nodes-base.code
Google Drive
n8n-nodes-base.googleDrive
HTTP Request
n8n-nodes-base.httpRequest
Notion
n8n-nodes-base.notion
OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi