AI-powered viral trend analysis for TikTok and Instagram with GPT-4
Ready for 3.0What this workflow does
This AI workflow has 22 nodes and runs on a schedule (every day at 08:00). Along the way it connects OpenAI Chat Model, Google Sheets, Gmail and Slack.
How it runs
Trigger: On a schedule (every day at 08:00).
- Workflow Configuration (Edit Fields (Set)): sets 5 fields: apifyToken, minViews, minEngagementRate…
- Search Config (Edit Fields (Set)): sets 4 fields: nicheKeywords, hashtags, languages…
- Scrape TikTok (HTTP Request): calls an HTTP API (POST)
- Scrape Instagram (HTTP Request): calls an HTTP API (POST)
- Normalize TikTok Results (Edit Fields (Set)): sets 10 fields: platform, video_url, author…
- Normalize Instagram Results (Edit Fields (Set)): sets 10 fields: platform, video_url, author…
- Combine Platforms (Merge): merges the data from its input branches
- Filter High-Growth Videos (Code): runs custom JavaScript code
- Analyze Visual Hook (GPT-4 Vision) (AI Agent): runs an AI agent, with model: OpenAI GPT-4 Vision Model
- Analyze Trend & Adaptation (GPT-4) (AI Agent): runs an AI agent, with model: OpenAI GPT-4 Model
…plus 9 more steps. See the full node list below.
Services it uses
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 (12)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Merge
n8n-nodes-base.merge - Code
n8n-nodes-base.code - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - AI Agent
@n8n/n8n-nodes-langchain.agent - If
n8n-nodes-base.if - Google Sheets
n8n-nodes-base.googleSheets - Aggregate
n8n-nodes-base.aggregate - Gmail
n8n-nodes-base.gmail - Slack
n8n-nodes-base.slack
From the author
Automatically discover, analyze, and report the most viral TikTok and Instagram videos in your niche every day. This workflow leverages AI and Apify to help you stay ahead of social media trends. --- What This Workflow Does - Scrapes trending videos from…