Clone viral TikTok & Instagram reels with Apify and Gemini 2.5 Pro
Ready for 3.0What this workflow does
This workflow has 18 nodes and runs when someone submits an n8n form (“Reverse Engineer Short Form Video”). Along the way it connects Slack. It also calls api.apify.com and generativelanguage.googleapis.com over HTTP.
How it runs
Trigger: When someone submits an n8n form (“Reverse Engineer Short Form Video”).
- set_base_prompt (Edit Fields (Set)): sets 1 field: prompt
- Switch: routes items into 2 branches
- scrape_ig_reel (HTTP Request): calls api.apify.com (POST)
- scrape_tiktok (HTTP Request): calls api.apify.com (POST)
- build_final_ig_prompt (Edit Fields (Set)): sets 1 field: prompt
- build_final_tiktok_prompt (Edit Fields (Set)): sets 1 field: prompt
- download_ig_reel (HTTP Request): calls an HTTP API
- download_tiktok (HTTP Request): calls an HTTP API
- ig_to_base (Extract from File): extracts data from a file (binary to propery)
- tiktok_to_base (Extract from File): extracts data from a file (binary to propery)
…plus 7 more steps. See the full node list below.
Services it uses
HTTP calls to: api.apify.com, generativelanguage.googleapis.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 (7)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Switch
n8n-nodes-base.switch - HTTP Request
n8n-nodes-base.httpRequest - Extract from File
n8n-nodes-base.extractFromFile - Edit Fields (Set)
n8n-nodes-base.set - Slack
n8n-nodes-base.slack - Convert to File
n8n-nodes-base.convertToFile
From the author
Reverse engineer short-form videos from Instagram and TikTok using Gemini AI Who's it for Content creators, AI video enthusiasts, and digital marketers who want to analyze successful short-form videos and understand their production techniques. Perfect for…