Skip to main content

Automate Instagram content discovery & repurposing w/ Apify, GPT-4o & Perplexity

Workflow preview

Workflow preview
100%
Automate Instagram content discovery & repurposing w/ Apify, GPT-4o & Perplexity preview
Open on n8n.io

Important notice

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

1. Workflow Overview

This workflow creates an end to end Instagram content pipeline that automatically discovers trending content from competitor channels, extracts valuable insights, and generates new high quality scr...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.httprequest, n8n-nodes-base.limit, @n8n/n8n-nodes-langchain.openai, n8n-nodes-base.googlesheets, n8n-nodes-base.merge, n8n-nodes-base.scheduletrigger

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Nick Saraev.

Original n8n.io source

1.1 Workflow description

Title
Automate Instagram content discovery & repurposing w/ Apify, GPT-4o & Perplexity
Workflow name
Automate Instagram content discovery & repurposing w/ Apify, GPT-4o & Perplexity

This workflow creates an end-to-end Instagram content pipeline that automatically discovers trending content from competitor channels, extracts valuable insights, and generates new high-quality scripts for your own content creation. The system helped scale an Instagram channel from 0 to 10,000 followers in just 15 days through intelligent content repurposing.

Benefits:

  • Complete Content Automation - Monitors competitor Instagram accounts, downloads new reels, and processes them without manual intervention
  • AI-Powered Script Generation - Uses ChatGPT and Perplexity to analyze content, identify tools/technologies, and rewrite scripts with fresh angles
  • Smart Duplicate Prevention - Automatically tracks processed content in a database to avoid redundant work
  • Multi-Platform Intelligence - Combines Instagram scraping, AI transcription, web research, and content generation in one seamless flow
  • Scalable Content Strategy - Process content from multiple niches and creators to fuel unlimited content ideas
  • Revenue-Focused Approach - Specifically designed to identify monetizable tools and technologies for business-focused content

How It Works:

  1. Instagram Content Discovery:
  • Uses Apify's Instagram scraper to monitor specified creator accounts for new reels
  • Automatically downloads video content and metadata from target accounts
  • Filters content based on engagement metrics and relevance
  1. Intelligent Processing Pipeline:
  • Transcribes video content using OpenAI Whisper for accurate text extraction
  • Filters content using AI to identify tools, technologies, and automation opportunities
  • Cross-references against existing database to prevent duplicate processing
  1. Enhanced Research & Analysis:
  • Searches Perplexity AI for additional insights about discovered tools
  • Generates step-by-step usage guides and implementation instructions
  • Identifies unique angles and opportunities for content improvement
  1. Script Generation & Optimization:
  • Creates new, original scripts optimized for your specific audience
  • Maintains consistent brand voice while adding fresh perspectives
  • Includes strategic call-to-action elements for audience engagement

Required Google Sheets Database Setup: Before running this workflow, create a Google Sheets database with these exact column headers: Essential Columns:

id - Unique Instagram post identifier (primary key for duplicate detection) timestamp - When the reel was posted caption - Original reel caption text hashtags - Hashtags used in the post videoUrl - Direct link to download the video file username - Account that posted the reel scrapedTranscript - Original transcript from video (added by workflow) newTranscript - AI-generated script for your content (added by workflow)

Additional Tracking Columns:

shortCode - Instagram's internal post code url - Public Instagram post URL commentsCount - Number of comments firstComment - Top comment on the post likesCount - Number of likes videoViewCount - View count metrics videoDuration - Length of video in seconds

Setup Instructions:

Create a new Google Sheet with these column headers in the first row Name the sheet "Reels" Connect your Google Sheets OAuth credentials in n8n Update the document ID in the workflow nodes

The merge logic relies on the id column to prevent duplicate processing, so this structure is essential for the workflow to function correctly.

Business Use Cases:

  • Content Creators - Scale content production by 10x while maintaining quality and originality
  • Marketing Agencies - Offer content research and ideation as a premium service
  • Course Creators - Identify trending tools and technologies for educational content

Revenue Potential:

This exact system can be sold as a service for $3,000-$5,000 to growing channels or agencies. The automation saves 10+ hours weekly of manual research and content planning.

  • Difficulty Level: Intermediate
  • Estimated Build Time: 1-2 hours
  • Monthly Operating Cost: ~$30 (API usage)

Watch the Complete Build Process

Want to see exactly how this system was built from scratch? Nick Saraev walks through the entire development process in this comprehensive tutorial, including all the debugging, dead ends, and problem-solving that goes into building real automation systems.

🎥 Watch: "The N8N Instagram Parasite System (10K Followers In 15 Days)"

This 1.5-hour deep-dive shows the actual build process - not a polished demo, but real system development with all the thinking and iteration included.

Set Up Steps:

  1. Configure Apify Integration:
  • Sign up for Apify account and obtain API key
  • Replace the bearer token in the "Run Actor Synchronously" node
  • Customize the username array with your target Instagram accounts
  1. Set Up AI Services:
  • Add OpenAI API credentials for transcription and content generation
  • Configure Perplexity API for enhanced research capabilities
  • Set up appropriate rate limiting for cost control
  1. Database Configuration:
  • Create Google Sheets database with provided column structure
  • Connect Google Sheets OAuth credentials
  • Configure the merge logic for duplicate detection
  1. Content Filtering Setup:
  • Customize the AI prompts for your specific niche and requirements
  • Adjust the filtering criteria for tool/technology detection
  • Set up the script generation template to match your brand voice
  1. Automation Schedule:
  • Configure the schedule trigger for daily content monitoring
  • Set optimal timing based on your content creation workflow
  • Test the complete flow with a small number of accounts first
  1. Advanced Customization:
  • Add additional content sources beyond Instagram
  • Integrate with your existing content management systems
  • Scale up monitoring to dozens of competitor accounts

More AI Automation Systems: For more advanced automation tutorials and business systems, check out My YouTube Channel where I share proven automation strategies that generate real revenue.

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 - Unnamed node

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

Block 2 - Unnamed node

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

Block 3 - Unnamed node

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

Block 4 - Unnamed node

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

Block 5 - Run Actor Synchronously

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 6 - Limit

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

Block 7 - Filter & Generate Suggestions

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.6

Block 8 - Search for Entries

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

Block 9 - Drop Duplicates

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3

Block 10 - Add Entries

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

Block 11 - Download Video

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 12 - Transcribe Video

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.6

Block 13 - Search Perplexity

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 14 - Write New Script

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.6

Block 15 - Schedule Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 16 - Update Entries

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

3. Summary Table

Workflow Automate Instagram content discovery & repurposing w/ Apify, GPT-4o & Perplexity
Complexity advanced
Nodes 16
Categories Content Creation, Multimodal AI
Author Nick Saraev
Published 04 Jun 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/4658/4658.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 Automate Instagram content discovery & repurposing w/ Apify, GPT-4o & Perplexity do?

This workflow creates an end to end Instagram content pipeline that automatically discovers trending content from competitor channels, extracts valuable insights, and generates new high quality scr...

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 Content Creation, Multimodal AI use case.