n8nflow.net logo

Monitor Instagram Competitor Trends with Claude 3.5 & Multi-Channel Alerts

by Oneclick AI SquadUpdated: Last update 3 days agoSource: n8n.io
Loading workflow viewer...

Getting Started

This enterprise-grade n8n workflow automates competitor monitoring on Instagram — from post fetching to AI-driven strategy alerts — using Claude AI , Instagram API, and multi-channel notifications. It tracks trends, analyzes performance, and delivers actionable insights via WhatsApp and email, keeping your team ahead with zero manual effort.

Key Features

  • Daily competitor scanning from Google Sheets
  • Post performance metrics (engagement rate, trends) calculated automatically
  • AI-powered insights using Claude 3.5 Sonnet for content and engagement strategies
  • Dual-channel alerts: WhatsApp (Twilio) and email for instant delivery
  • Audit logs in Google Sheets for historical trends
  • Scalable triggers: Daily schedule or webhook for ad-hoc checks

Workflow Process

StepNodeDescription
1Schedule TriggerRuns daily at 10 AM or via webhook (/competitor-alert)
2Get Competitor ListLoads competitors from Competitors sheet
3Loop Over CompetitorsProcesses each competitor to avoid API limits
4Get Competitor PostsFetches last 10 posts via Instagram Graph API
5Calculate Performance MetricsComputes avg engagement and trend using Code node
6Generate AI Insights (Claude AI)Analyzes data for 3 strategic bullet-point insights
7Send Email AlertEmails detailed report to team
8Send WhatsApp Alert (Twilio)Sends concise alert via WhatsApp
9Log AlertRecords metrics and insights in AlertsLog sheet
10End WorkflowTerminates execution

Setup Instructions

1. Import Workflow

  • Open n8n → Workflows → Import from Clipboard
  • Paste the JSON workflow

2. Configure Credentials

IntegrationDetails
Google SheetsService account with spreadsheet access
Instagram APIBusiness access token for media fetching
Claude AIAnthropic API key for claude-3-5-sonnet-20241022
TwilioCredentials for WhatsApp messaging
SMTP/EmailSMTP or Gmail for email alerts

3. Update Spreadsheet IDs

Ensure your Google Sheets include:

  • Competitors
  • AlertsLog

4. Set Triggers

  • Webhook: /webhook/competitor-alert (for on-demand runs)
  • Schedule: Daily at 10:00 AM

5. Run a Test

Use manual execution to confirm:

  • Post fetching and metrics calculation
  • AI insights generation
  • WhatsApp/email delivery and sheet logging

Google Sheets Structure

Competitors

competitorNamecompetitorUserIdindustryFocus
BrandX1234567890Fashion

AlertsLog

competitoravgEngagementtrendinsightstimestamp
BrandX75.5Rising- Bullet 1...2023-10-01T12:00:00Z

System Requirements

RequirementVersion/Access
n8nv1.50+ (AI and messaging integrations supported)
Claude AI APIclaude-3-5-sonnet-20241022
Instagram Graph APIBusiness account access token
Twilio APIWhatsApp-enabled phone number
Google Sheets APIhttps://www.googleapis.com/auth/spreadsheets
SMTPFor email (e.g., Gmail OAuth)

Optional Enhancements

  • Add visual charts (e.g., engagement trends via Google Charts)
  • Integrate Slack for team-wide alerts
  • Use advanced metrics like reach/impressions via Instagram Insights API
  • Connect CRM (HubSpot) to tag competitors
  • Enable multi-platform monitoring (e.g., TikTok)
  • Add threshold-based alerts (e.g., only if engagement >20% increase)
  • Export insights to Notion or Airtable for strategy docs

Result:
A single automated system that monitors competitors, uncovers trends, and arms your team with AI strategies — delivered via WhatsApp and email with zero manual work.

Get in touch with us for custom n8n automation!