Workflow
Viral Instagram Reel Analyzer
Automatically gather top-performing Instagram Reels from competitors, analyze why they went viral, and generate original scripts tailored to your niche using AI.
Tags
InstagramSocial MediaContent CreationCompetitor Analysis
Viral Reel Analyzer
The Viral Reel Analyzer workflow automates the process of gathering competitive intelligence from Instagram Reels. By providing a competitor's Instagram handle, the workflow fetches their latest Reels, identifies the most viral one, analyzes why it performed well, and generates original scripts you can use to create your own content.
What You Need
| Requirement | Description |
|---|---|
| Needle Account | Access to AI models and workflow automation. |
| Apify API Token | Permissions for the Apify Instagram Reel Scraper. |
| Notion Workspace | Access to a Content Calendar database. |
| Slack Workspace | A channel to receive notifications and a configured Needle connector. |
How It Works
- Webhook Trigger: Receives an HTTP POST request containing the competitor's Instagram handle and a test mode flag to start the flow.
- AI Router: Determines whether the workflow runs in mock or production mode based on the test flag and passes the competitor handle to the next steps.
- Apify Scraper: Calls the Apify Instagram Reel Scraper API to retrieve up to 10 of the competitor's recent Reels.
- AI Strategist: An AI model analyzes the scraped Reels, identifies the top performer by views, explains why it went viral, and drafts 3 original, 30-second Reel scripts with clearly labeled audio and visual cues.
- Save to Notion: Creates a new Notion page in your Content Calendar, including the viral strategy breakdown and the newly drafted scripts.
- Slack Notification: Sends a message to your Slack channel summarizing the competitor analyzed, the top Reel's views, and a brief strategy highlight.
Expected Output
| Output Type | Details |
|---|---|
| Notion Page | A detailed analysis of the competitor's most viral Reel. |
| Content Scripts | Three original Reel scripts ready for immediate production. |
| Slack Alert | A notification with key insights and a summary of the drafted content. |
Important Notes
- If you run the flow in test mode or omit the webhook payload, it uses mock data to demonstrate the pipeline.
- Ensure your APIFY_TOKEN environment variable is correctly set to avoid API errors during scraping.
- The generated scripts are customized for English teachers by default, but you can easily adapt them by editing the prompt in the AI Strategist step to fit your specific niche.
- The workflow automatically formats content for Notion and Slack to maintain readability across platforms.
Want to showcase your own workflows?
Become a Needle workflow partner and turn your expertise into recurring revenue.
