n8nflow.net logo

Automate Instagram Influencer Contract Compliance with Claude AI & Slack Alerts

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

Getting Started

This enterprise-grade n8n workflow automates influencer contract compliance for Instagram campaigns — from deadline tracking to breach detection — using Claude AI , Instagram API, and smart reminders. It ensures timely deliverables by monitoring posts, sending proactive alerts, and escalating breaches, all with zero manual oversight.

Key Features

  • Daily contract scanning from Google Sheets
  • Deadline calculations for approaching or passed dates
  • Automated reminders via Slack for nearing deadlines
  • Post verification using Instagram API and Claude 3.5 Sonnet for hashtag/description matching
  • Breach detection engine identifies non-compliant influencers
  • Escalation notifications to managers on breaches
  • Audit logs stored in Google Sheets for compliance records
  • Scalable triggers: Daily schedule or webhook for new contracts

Workflow Process

StepNodeDescription
1Schedule TriggerRuns daily at 9 AM or via webhook (/influencer-compliance)
2Get ContractsLoads influencer contracts from Contracts sheet
3Loop Over ContractsProcesses each contract individually
4Calculate Deadline StatusComputes days to deadline, flags approaching/passed
5IF Approaching DeadlineBranches if within 3 days
6Send Reminder (Slack)Notifies influencer/team of upcoming deadline
7IF Deadline PassedBranches if deadline has passed
8Get Influencer PostsFetches recent posts from influencer's Instagram
9Check Post Compliance (Claude AI)Uses AI to verify if post matches contract requirements
10IF Breach DetectedBranches if non-compliant
11Notify Breach (Slack)Alerts manager of contract breach
12Log BreachRecords breach details in Logs sheet
13End (Compliant Path)Terminates compliant branches

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 fetching media
Claude AIAnthropic API key for claude-3-5-sonnet-20241022
SlackWebhook or OAuth app

3. Update Spreadsheet IDs

Ensure your Google Sheets include:

  • Contracts
  • Logs

4. Set Triggers

  • Webhook: /webhook/influencer-compliance (for real-time updates)
  • Schedule: Daily at 9:00 AM

5. Run a Test

Use manual execution to confirm:

  • Reminder and breach notifications
  • Post compliance checks
  • Log entries in sheet

Google Sheets Structure

Contracts

campaignIdinfluencerNameinfluencerUserIddeadlinerequiredHashtagcampaignDescription
CAMP-001InfluencerX12345678902023-12-31#BrandPromoPromote new product

Logs

campaignIdinfluencerNameactiontimestampdetails
CAMP-001InfluencerXBreach Detected2023-10-01T12:00:00ZFailed to post by deadline

System Requirements

RequirementVersion/Access
n8nv1.50+ (AI and API integrations supported)
Claude AI APIclaude-3-5-sonnet-20241022
Instagram Graph APIBusiness account access token
Google Sheets APIhttps://www.googleapis.com/auth/spreadsheets
Slack WebhookRequired for notifications

Optional Enhancements

  • Add email reminders to influencers directly
  • Integrate Asana/Trello for task creation on breaches
  • Use advanced AI prompts for deeper post analysis (e.g., sentiment)
  • Connect Payment APIs (Stripe) to withhold payments on breaches
  • Enable multi-platform checks (e.g., TikTok/YouTube)
  • Add reporting dashboard via Google Data Studio
  • Implement auto-contract updates from CRM systems

Result:
A single automated system that tracks, reminds, and enforces influencer deliverables — with full AI verification and zero manual work.

Get in touch with us for custom n8n automation!