Create LinkedIn carousel PDFs with GPT-4o-mini and Google Drive
Ready for 3.0What this workflow does
This AI workflow has 9 nodes and runs when someone submits an n8n form (“LinkedIn Carousel Generator”). Along the way it connects OpenAI Chat Model, Google Drive, Google Sheets and Gmail.
How it runs
Trigger: When someone submits an n8n form (“LinkedIn Carousel Generator”).
- 2. AI Agent — Generate Slide Content (AI Agent): runs an AI agent, with model: OpenAI — GPT-4o-mini Model
- 3. Code — Parse Slides JSON (Code): runs custom JavaScript code
- 4. Code — Build HTML Slides (Code): runs custom JavaScript code
- 5. Code — Generate PDF (Code): runs custom JavaScript code
- 6. Google Drive — Upload PDF (Google Drive): uses Google Drive
- 7. Google Sheets — Log Carousel (Google Sheets): append
- 8. Gmail — Email PDF to You (Gmail): uses Gmail
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other OpenAI + Google Sheets templates (2,011) · Other OpenAI + Gmail templates (1,623)
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (7)
- n8n Form Trigger
n8n-nodes-base.formTrigger - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Code
n8n-nodes-base.code - Google Drive
n8n-nodes-base.googleDrive - Google Sheets
n8n-nodes-base.googleSheets - Gmail
n8n-nodes-base.gmail
From the author
Description Submit your carousel topic, brand name, target audience, tone, and number of content slides via a simple form and the workflow generates a complete LinkedIn carousel PDF automatically. GPT-4o-mini returns a structured JSON array of slides — title…