Automate Instagram Reel Analysis with Gemini and Apify
detail.loadingPreview
Unlock deeper insights into your Instagram Reels by automating analysis. This workflow leverages Apify to fetch reel data and Gemini AI to dissect key elements like background, pose, text, and context, enabling better content replication.
About This Workflow
This n8n workflow provides a powerful solution for automatically analyzing your Instagram Reels to understand their core components. By integrating with Apify's Instagram Scraper, it efficiently fetches reel data. Subsequently, it utilizes the Gemini AI model to perform a detailed analysis, breaking down each reel into crucial parameters such as background, pose, on-screen text, clothing, context, and participants. This granular understanding is vital for content creators looking to replicate successful video formats, optimize their strategy, and improve audience engagement. The workflow is designed for seamless integration, allowing you to gain actionable insights without manual effort.
Key Features
- Automated Reel Data Fetching: Integrates with Apify to pull reel information directly from Instagram.
- Advanced AI Analysis: Leverages Gemini AI to dissect reels into key creative and contextual parameters.
- Replication-Focused Insights: Provides specific data points (background, pose, text, etc.) to aid in content creation.
- Customizable Analysis Prompt: Allows for tailoring the AI's analytical focus based on your specific needs.
- Scalable Workflow: Designed to process multiple reels and provide consistent, valuable output.
How To Use
- Obtain API Tokens: Secure API tokens for Apify and Google Gemini.
- Configure Apify Node: In the 'Apify - Fetch Reels' node, input your Apify API token and specify the Instagram username for analysis. You might need to adjust the
resultsTypeandonlyPostsNewerThanparameters based on your requirements. - Configure Gemini Upload Nodes: In the 'Gemini - Generate Upload URL' and 'Gemini - Upload File' nodes, replace
<your_token_here>with your Gemini API key. Ensure theinputDataFieldNamein 'Gemini - Upload File' is set to 'data' and thecontentTypeto 'binaryData'. - Set Analysis Parameters: Update the 'Set Prompt' node with the specific questions you want Gemini to answer about the reels. The provided example prompt is a good starting point.
- Connect Nodes: Ensure the output of the 'Apify - Fetch Reels' node is correctly piped to the 'Gemini - Generate Upload URL' node. The output of 'Gemini - Generate Upload URL' should feed into 'Gemini - Upload File', and its output into 'Save Values'. The 'Save Values' node should capture the file URI and MIME type for use in the 'Gemini - Ask Questions' node.
- Final AI Interaction: Connect the output of 'Save Values' to the 'Gemini - Ask Questions' node. This node uses the collected reel data and your custom prompt to generate the final analysis. Remember to replace
<your_token_here>with your Gemini API key in this node as well.
Apps Used
Workflow JSON
{
"id": "eed61193-f628-49ab-875d-c09d429cf257",
"name": "Automate Instagram Reel Analysis with Gemini and Apify",
"nodes": 24,
"category": "Marketing",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: eed61193-f628...
About the Author
Free n8n Workflows Official
System Admin
The official repository for verified enterprise-grade workflows.
Statistics
Related Workflows
Discover more workflows you might like
Automated Multi-Platform Social Media Publisher
Streamline your social media content creation and publishing with this n8n workflow. Simply fill out a web form with your caption, media (image or video), and target platforms, and let n8n automate the posting process across multiple social networks.
WhatsApp AI Assistant: LLaMA 4 & Google Search for Real-Time Insights
Instantly deploy a smart AI assistant on WhatsApp, powered by Groq's lightning-fast LLaMA 4 model. This workflow enables real-time conversations, remembers context, and provides up-to-date answers by integrating live Google Search results.
AI-Powered On-Page SEO Audit & Report Automation
Instantly generate comprehensive on-page SEO technical and content audits for any website URL. This AI-powered workflow automates the entire process, from scraping the page to delivering a detailed report directly to your inbox, empowering you to optimize for better search rankings and user engagement.