Turn Instagram Reels into content strategy insights with Telegram, Apify, and OpenAI
Ready for 3.0What this workflow does
This AI workflow has 23 nodes and runs on Telegram events (message). Along the way it connects Telegram and OpenAI Chat Model. It also calls api.apify.com over HTTP.
How it runs
Trigger: On Telegram events (message).
- 02 — Read Message & Classify Intent (Code): runs custom JavaScript code
- 03 — Route Request (Switch): routes items into 1 branches
- 17 — Format Creator Insights (Code): runs custom JavaScript code
- 04 — Extract & Validate Reel URL (Code): runs custom JavaScript code
- 18 — Reply In Telegram (Telegram): uses Telegram
- 05 — Reel URL Valid? (If): checks a condition and branches into true / false
- 19 — Save To Cache (Code): runs custom JavaScript code
- 06 — Check Recent Cache (Code): runs custom JavaScript code
- 07 — Cached Result Available? (If): checks a condition and branches into true / false
- 08 — Start Transcript Run (HTTP Request): calls api.apify.com (POST)
…plus 10 more steps. See the full node list below.
Services it uses
HTTP calls to: api.apify.com
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 (10)
- Telegram Trigger
n8n-nodes-base.telegramTrigger - Code
n8n-nodes-base.code - Switch
n8n-nodes-base.switch - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest - Edit Fields (Set)
n8n-nodes-base.set - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Telegram
n8n-nodes-base.telegram - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured
From the author
Quick overview This workflow turns an Instagram Reel link sent to a Telegram bot into a transcript-driven content strategy breakdown using Apify for extraction and OpenAI for structured analysis, then replies in Telegram and caches results for 24 hours to…