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.

Last updated

March 16, 2026

Connectors used

Notion
Slack

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

RequirementDescription
Needle AccountAccess to AI models and workflow automation.
Apify API TokenPermissions for the Apify Instagram Reel Scraper.
Notion WorkspaceAccess to a Content Calendar database.
Slack WorkspaceA channel to receive notifications and a configured Needle connector.

How It Works

  1. Webhook Trigger: Receives an HTTP POST request containing the competitor's Instagram handle and a test mode flag to start the flow.
  2. 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.
  3. Apify Scraper: Calls the Apify Instagram Reel Scraper API to retrieve up to 10 of the competitor's recent Reels.
  4. 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.
  5. Save to Notion: Creates a new Notion page in your Content Calendar, including the viral strategy breakdown and the newly drafted scripts.
  6. 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 TypeDetails
Notion PageA detailed analysis of the competitor's most viral Reel.
Content ScriptsThree original Reel scripts ready for immediate production.
Slack AlertA notification with key insights and a summary of the drafted content.

Important Notes

  1. If you run the flow in test mode or omit the webhook payload, it uses mock data to demonstrate the pipeline.
  2. Ensure your APIFY_TOKEN environment variable is correctly set to avoid API errors during scraping.
  3. 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.
  4. 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.

Try Needle today

Streamline AI productivity at your company today

Join thousands of people who have transformed their workflows.

Agentic workflowsAutomations, meet AI agents
AI SearchAll your data, searchable
Chat widgetsDrop-in widget for your website
Developer APIMake your app talk to Needle
    Needle LogoNeedle
    Like many websites, we use cookies to enhance your experience, analyze site traffic and deliver personalized content while you are here. By clicking "Accept", you are giving us your consent to use cookies in this way. Read our more on our cookie policy .