π¬ Generate educational social media carousels with GPT-4.1, Templated.io & Google Drive
β‘ 487 views Β· π¬ Content Creation & Video
Description
π― Description
Automatically generates, designs, stores, and logs complete Instagram carousel posts. It transforms a simple text prompt into a full post with copy, visuals, rendered images, Google Drive storage, and a record in Google Sheets.
βοΈ Use case / What it does
This workflow enables creators, educators, or community managers to instantly produce polished, on-brand carousel assets for social media. It integrates OpenAI GPT-4.1, Pixabay, Templated.io, Google Drive, and Google Sheets into one continuous content-production chain.
π‘ How it works
1οΈβ£ Form Trigger β Collects the user prompt via a simple web form. 2οΈβ£ OpenAI GPT-4.1 β Generates structured carousel JSON: titles, subtitles, topic, description, and visual keywords. 3οΈβ£ Code (Format content) β Parses the JSON output for downstream use. 4οΈβ£ Google Drive (Create Folder) β Creates a subfolder for the new carousel inside βRRSSβ. 5οΈβ£ HTTP Request (Pixabay) β Searches for a relevant image using GPTβs visual suggestion. 6οΈβ£ Code (Get first result) β Extracts the top Pixabay result and image URL. 7οΈβ£ Templated.io β Fills the design template layers (titles/subtitles/topic/image). 8οΈβ£ HTTP Request (Download renders) β Downloads the rendered PNGs from Templated.io. 9οΈβ£ Google Drive (Upload) β Uploads the rendered images into the created folder. 10οΈβ£ Google Sheets (Save in DB) β Logs metadata (title, topic, folder link, description, timestamp, status).
π Connectors used
- OpenAI GPT-4.1 (via n8n LangChain node)
- Templated.io API (design rendering)
- Pixabay API (stock image search)
- Google Drive (storage + folder management)
- Google Sheets (database / logging)
- Form Trigger (input collection)
π§± Input / Output
Input:
- User-submitted βPromptβ (text) via form
Output:
- Generated carousel images stored in Google Drive
- Spreadsheet row in Google Sheets containing title, topic, description, Drive URL, status
β οΈ Requirements / Setup
Valid credentials for:
- OpenAI API (GPT-4.1 access)
- Templated.io API key
- Pixabay API key
- Google Drive + Google Sheets OAuth connections
- Existing Google Drive folder ID for RRSS storage
- Spreadsheet with matching column headers (Created At, Title, Topic, Folder URL, Description, Status)
- Published form URL for user prompts
π Example applications / extensions
- Educational themes (mental health, fitness, sustainability).
- Extend to auto-publish to Instagram Business via Meta API.
- Add Notion logging or automated email notifications.
- Integrate scheduling (Cron node) to batch-generate weekly carousels.
π Nodes Used
Google Sheets, HTTP Request, Google Drive, n8n Form Trigger, OpenAI
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File