Library / Social Media Publishing
Social Media Publishing
Analyze Instagram Reels sent via Telegram with Apify and OpenAI
When a Reel link arrives in your Telegram bot, transcribes the audio with Apify and returns an OpenAI content-strategy breakdown with hooks, audience and post ideas.
What it does
Paste an Instagram Reel link into your own Telegram bot and get a full content-strategy breakdown back in seconds - without opening Instagram or watching the video. Built for creators, social media managers, freelancers and small agencies who need to turn saved Reels into something they can post. ## How it works 1. You send a Reel link to the bot. 2. The Apify Actor lance_api/instagram-video-ai-transcript-scraper-api transcribes the audio. 3. OpenAI returns a structured analysis: what it is about and why it works, the hook type, target audience, key message, 3 original hooks, 3 content ideas and an original Reel script. 4. The reply is split into numbered chunks when it is long. 5. Results are cached for 24 hours, so re-sending the same Reel costs nothing. Links that cannot work (profiles, Stories, image-only posts, private or speechless Reels) are rejected before any paid API is called. ## Setup 1. Create a bot with @BotFather and connect the token. 2. Add a Header Auth credential for Apify: Name Authorization, Value Bearer . 3. Connect OpenAI (default model gpt-4o-mini). 4. Self-hosted: Telegram needs a public HTTPS URL to your n8n (ngrok, Cloudflare Tunnel, reverse proxy). 5. Recommended: restrict 01 — Receive Reel From Telegram to your own user ID - anyone who finds the bot can spend your Apify credits. 6. Publish, then message your bot. ## Customization Questions live in 14 — Build AI Prompt, message wording in 17 — Format Creator Insights, the model in the OpenAI Chat Model sub-node, cache settings in 06 — Check Recent Cache and 19 — Save To Cache. ## Requirements Telegram bot token, Apify account, OpenAI API key. Transcription is billed to your Apify account at about $0.01 per Reel; failures are free.
The steps
- 01 — Receive Reel From Telegram
- 02 — Read Message & Classify Intent
- 03 — Route Request
- 04 — Extract & Validate Reel URL
- 05 — Reel URL Valid?
- 06 — Check Recent Cache
- 07 — Cached Result Available?
- 08 — Start Transcript Run
- 09 — Transcript Run Ready?
- 10 — Wait & Re-check Transcript Run
- 09B — Run Ready After Wait?
- 10E — Mark Failure: Transcript Run Took Too Long
- 11 — Read Transcript Result
- 12 — Validate Transcript
23 steps in total.
Similar automations
Social Media PublishingAnalyze Instagram Reels with Apify, OpenAI and Perplexity12 stepsWeb Scraping & ResearchTranscribe Instagram Reels and Add Ideas to Sheets12 stepsSocial Media PublishingSchedule Instagram Reels from Google Drive and Sheets10 stepsSocial Media PublishingPost the Best Reels to Instagram Automatically11 steps