Automatic Instagram content creation with OpenAI, Nano Banana and Telegram check
Ready for 3.0What this workflow does
This AI workflow has 42 nodes and runs on a schedule (every day) (plus 3 other triggers). Along the way it connects Airtable, OpenAI Chat Model and Telegram.
How it runs
Trigger: On a schedule (every day) (plus 3 other triggers).
- Call 'Main Content‑Generation Workflow' (Execute Sub-workflow): calls another n8n workflow
- Get a record (Airtable): uses Airtable
- Input (Code): runs custom JavaScript code
- Process Callback (Code): runs custom JavaScript code
- Respond to Webhook: sends the response back to the webhook caller
- Get Historic Posts (HTTP Request): calls an HTTP API
- Switch: routes items into branches
- Map Historic Data (Code): runs custom JavaScript code
- Edit Confirm message (Telegram): uses Telegram
- Edit cancel message (Telegram): uses Telegram
…plus 27 more steps. See the full node list below.
Services it uses
Other Telegram + OpenAI templates (807) · Other OpenAI + Airtable templates (215) · Other Telegram + Airtable templates (58)
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 (17)
- Webhook
n8n-nodes-base.webhook - Airtable
n8n-nodes-base.airtable - Respond to Webhook
n8n-nodes-base.respondToWebhook - HTTP Request
n8n-nodes-base.httpRequest - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Code
n8n-nodes-base.code - Edit Fields (Set)
n8n-nodes-base.set - Telegram
n8n-nodes-base.telegram - Manual Trigger
n8n-nodes-base.manualTrigger - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Telegram Trigger
n8n-nodes-base.telegramTrigger - Stop and Error
n8n-nodes-base.stopAndError - Wait
n8n-nodes-base.wait - Switch
n8n-nodes-base.switch - If
n8n-nodes-base.if - Execute Sub-workflow
n8n-nodes-base.executeWorkflow
From the author
|Overview |Sample| |-|-| |This template is the first of its kind: it automatically generates both the caption and the image for your Instagram posts by analysing your existing feed, with zero spreadsheets or manual steps. Once configured, the workflow runs on…