Repurpose long-form content into Instagram and LinkedIn posts with OpenAI and Teams
UnknownWhat this workflow does
This AI workflow has 105 nodes and runs on Gmail events. Along the way it connects Gmail, Google Drive, Google Sheets and OpenAI Chat Model and 4 more.
How it runs
Trigger: On Gmail events.
- Download Email Attachments (Gmail): get
- Extract from File: extracts data from a file (text)
- Save original content to Drive (Google Drive): create from text
- Create project subfolder (Google Drive): work with folder
- Move original to project folder (Google Drive): move
- Extract URLs from approval data (Code): runs custom JavaScript code
- Log run metadata in Google Sheets (Google Sheets): append
- The Repurpose Strategist (AI Agent): runs an AI agent, with model: OpenAI Chat Model; output parser: Auto-fixing Output Parser
- Validate content pillars exist (If): checks a condition and branches into true / false
- Update sheet: content pillars (Google Sheets): append or update
…plus 73 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 2 community packages, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that n8n-nodes-htmlcsstopdf is verified or supports 3.0 (used in HTML to PDF).
- Check that @blotato/n8n-nodes-blotato is verified or supports 3.0 (used in Publish LI text post via Blotato, Publish SM carousel via Blotato, Check SM carousel post status).
- Also check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll).
Nodes used (21)
- Gmail Trigger
n8n-nodes-base.gmailTrigger - Google Drive
n8n-nodes-base.googleDrive - Google Sheets
n8n-nodes-base.googleSheets - Code
n8n-nodes-base.code - Extract from File
n8n-nodes-base.extractFromFile - Auto-fixing Output Parser
@n8n/n8n-nodes-langchain.outputParserAutofixing - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - AI Agent
@n8n/n8n-nodes-langchain.agent - APITemplate.io
n8n-nodes-base.apiTemplateIo - Merge
n8n-nodes-base.merge - HTTP Request
n8n-nodes-base.httpRequest - Edit Fields (Set)
n8n-nodes-base.set - Htmlcsstopdf
n8n-nodes-htmlcsstopdf.htmlcsstopdf - Microsoft Teams
n8n-nodes-base.microsoftTeams - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - If
n8n-nodes-base.if - Gmail
n8n-nodes-base.gmail - Blotato
@blotato/n8n-nodes-blotato.blotato - Wait
n8n-nodes-base.wait - Switch
n8n-nodes-base.switch
From the author
Who is this for Content creators, solopreneurs, and marketing teams who produce long-form content (podcasts, newsletters, interviews, scripts) and want to automatically turn it into multiple social media assets -- Instagram carousels, LinkedIn carousels,…