Templates / AI-powered viral trend analysis for TikTok and Instagram with GPT-4

AI-powered viral trend analysis for TikTok and Instagram with GPT-4

Ready for 3.0

by Țugui Dragoș ✓ · 2,956 views · created 2025-12-01 · Market Research, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What 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).

  1. Workflow Configuration (Edit Fields (Set)): sets 5 fields: apifyToken, minViews, minEngagementRate…
  2. Search Config (Edit Fields (Set)): sets 4 fields: nicheKeywords, hashtags, languages…
  3. Scrape TikTok (HTTP Request): calls an HTTP API (POST)
  4. Scrape Instagram (HTTP Request): calls an HTTP API (POST)
  5. Normalize TikTok Results (Edit Fields (Set)): sets 10 fields: platform, video_url, author…
  6. Normalize Instagram Results (Edit Fields (Set)): sets 10 fields: platform, video_url, author…
  7. Combine Platforms (Merge): merges the data from its input branches
  8. Filter High-Growth Videos (Code): runs custom JavaScript code
  9. Analyze Visual Hook (GPT-4 Vision) (AI Agent): runs an AI agent, with model: OpenAI GPT-4 Vision Model
  10. 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

OpenAI Chat ModelGoogle SheetsGmailSlack

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)

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…

Excerpt from Țugui Dragoș's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.