Repurpose long-form content into social posts via webhook with GPT-4.1 mini
Ready for 3.0What this workflow does
This AI workflow has 21 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects Google Sheets, OpenAI Chat Model, Google Gemini Chat Model and Slack.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).
- Normalize Webhook Input (Edit Fields (Set)): sets 4 fields: content, sourceTitle, sourceUrl…
- Fetch Blog Feed (RSS Read): reads an RSS feed
- Long Enough To Repurpose? (If): checks a condition and branches into true / false
- Pick New Posts (Code): runs custom JavaScript code
- Prepare Brief (Code): runs custom JavaScript code
- Respond Bad Request (Respond to Webhook): sends the response back to the webhook caller
- Load Brand Voice (Google Sheets): uses Google Sheets
- Apply Brand Voice (Code): runs custom JavaScript code
- Repurposing Agent (AI Agent): runs an AI agent, with model: Writing Model, Fallback Writing Model; output parser: Draft Format
- Enforce Channel Limits (Code): runs custom JavaScript code
…plus 6 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 (13)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - Respond to Webhook
n8n-nodes-base.respondToWebhook - Schedule Trigger
n8n-nodes-base.scheduleTrigger - RSS Read
n8n-nodes-base.rssFeedRead - Code
n8n-nodes-base.code - Google Sheets
n8n-nodes-base.googleSheets - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Slack
n8n-nodes-base.slack
From the author
Quick Overview This workflow exposes a webhook that accepts long-form text and uses OpenAI (via an n8n AI Agent) to repurpose it into a summary, key points, a Twitter thread, a LinkedIn post, and an Instagram caption, returning the results as JSON in the…