Analyze competitor visual content across Instagram and TikTok with GPT-4o Vision

Go to Workflow
0 views
Built by 福壽一貴 福壽一貴
Created on June 15, 2026

Description

Who Is This For

Marketing teams, social media managers, and brand strategists who want to understand competitor visual strategies across multiple platforms. Perfect for agencies managing multiple client accounts or brands looking to benchmark their visual content.

What This Template Does

This workflow automates competitive visual intelligence gathering across Instagram and TikTok using AI-powered image analysis:

Collects recent posts from your account and up to 3 competitors via a simple form interface
Routes content to appropriate Apify scrapers based on selected platforms
Filters and processes image content from scraped posts
Analyzes each image using GPT-4o Vision to extract color palettes, composition styles, mood/emotion, and text design elements
Generates a comprehensive competitive analysis report with actionable recommendations
Logs all analysis results to Google Sheets for historical tracking

Requirements

Apify account** with API access (for Instagram and TikTok scraping)
OpenAI API key** with GPT-4o access
Google Sheets** connected for logging results

How to Set Up

Configure Apify credentials: Connect your Apify account in the credential settings
Add OpenAI API key: Enter your API key in the "Workflow Configuration" node (replace YOUR_OPENAI_API_KEY)
Set up Google Sheets:
Create a new spreadsheet with columns: timestamp, own_account, competitors, platforms, posts_analyzed, summary
Update the "Log Results to Google Sheets" node with your document ID
Activate the workflow and access the form via the provided webhook URL

How to Customize

Adjust analysis depth**: Modify the postsCount variable to analyze more or fewer posts per account
Customize AI prompts**: Edit the prompt in "Analyze Images with GPT-4o Vision" to extract different visual attributes
Add more platforms**: Extend the Platform Router to include additional social networks
Change report format**: Modify the prompt in "Generate Competitive Analysis Report" for different output structures

Nodes Used (2)

Code
n8n-nodes-base.code
Google Sheets
n8n-nodes-base.googleSheets