Transform Long-Form Content into Social Snippets with GPT-4o-mini and Meta Auto-Publishing
Ready for 3.0What this workflow does
This AI workflow has 17 nodes and runs on a schedule (every day at 08:00) (plus 1 other trigger). Along the way it connects Airtable, OpenAI Chat Model, Slack and Facebook Graph API.
How it runs
Trigger: On a schedule (every day at 08:00) (plus 1 other trigger).
- Fetch Pending Content (Airtable): search
- Slack: uses Slack
- Split Content In Batches (Loop Over Items (Split in Batches)): loops over the items in batches
- AI Agent: runs an AI agent, with model: OpenAI Chat Model; memory: Memory - Conversation Buffer; output parser: Output Parser - Structured JSON
- Prepare Content Update (Edit Fields (Set)): sets 7 fields: fields.ai_snippets_30_word, fields.ai_snippets_data_points, fields.ai_snippets_quotes…
- Update Content Record (Airtable): update
- Should Auto-Post? (If): checks a condition and branches into true / false
- Prepare Post Data Facebook (Edit Fields (Set)): sets 1 field: caption
- Publish Article to Meta (Facebook Graph API) (Facebook Graph API): uses Facebook Graph API
- Prepare Post Result (Edit Fields (Set)): sets 3 fields: fields.last_social_post_status, fields.last_social_post_response, id
…plus 2 more steps. See the full node list below.
Services it uses
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 (12)
- Airtable
n8n-nodes-base.airtable - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - AI Agent
@n8n/n8n-nodes-langchain.agent - Slack
n8n-nodes-base.slack - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Facebook Graph API
n8n-nodes-base.facebookGraphApi - Error Trigger
n8n-nodes-base.errorTrigger
From the author
📊 Description Automate your content repurposing workflow by transforming long-form articles, blogs, and newsletters into short, high-signal, AI-ready social media snippets. ✍️🤖 This workflow fetches pending content from Airtable, generates 30-word snippets,…