Skip to main content

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

Workflow preview

Workflow preview
100%
Analyze competitor visual content across Instagram and TikTok with GPT-4o Vision preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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 c...

Best for

  • Market Research automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, @apify/n8n-nodes-apify.apify, n8n-nodes-base.code, n8n-nodes-base.aggregate, n8n-nodes-base.googlesheets, n8n-nodes-base.formtrigger, n8n-nodes-base.set, n8n-nodes-base.switch

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by 福壽一貴.

Original n8n.io source

1.1 Workflow description

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

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:

  1. Collects recent posts from your account and up to 3 competitors via a simple form interface
  2. Routes content to appropriate Apify scrapers based on selected platforms
  3. Filters and processes image content from scraped posts
  4. Analyzes each image using GPT-4o Vision to extract color palettes, composition styles, mood/emotion, and text design elements
  5. Generates a comprehensive competitive analysis report with actionable recommendations
  6. 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

  1. Configure Apify credentials: Connect your Apify account in the credential settings
  2. Add OpenAI API key: Enter your API key in the "Workflow Configuration" node (replace YOUR_OPENAI_API_KEY)
  3. 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
  4. 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

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Sticky Note - Overview

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Sticky Note - Step 1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Sticky Note - Step 2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Sticky Note - Step 3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - Sticky Note - Step 4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 6 - Sticky Note - Step 5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 7 - Sticky Note - Step 6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 8 - Scrape Instagram Posts

Type / Role
@apify/n8n-nodes-apify.apify - apify
Config choices
Version 1

Block 9 - Scrape TikTok Posts

Type / Role
@apify/n8n-nodes-apify.apify - apify
Config choices
Version 1

Block 10 - Analyze Images with GPT-4o Vision

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 11 - Aggregate All Results

Type / Role
n8n-nodes-base.aggregate - aggregate
Config choices
Version 1

Block 12 - Generate Competitive Analysis Report

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 13 - Log Results to Google Sheets

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 14 - Form Trigger1

Type / Role
n8n-nodes-base.formTrigger - formTrigger
Config choices
Version 2.3

Block 15 - Workflow Configuration1

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 16 - Platform Router1

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.3

Block 17 - Filter Images Only1

Type / Role
n8n-nodes-base.filter - filter
Config choices
Version 2.2

3. Summary Table

Workflow Analyze competitor visual content across Instagram and TikTok with GPT-4o Vision
Complexity advanced
Nodes 17
Categories Market Research, AI Summarization
Author 福壽一貴
Published 07 Dec 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/11573/11573.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Analyze competitor visual content across Instagram and TikTok with GPT-4o Vision do?

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 c...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Market Research, AI Summarization use case.