Back to Templates
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.
| Step | Node | Description |
|---|---|---|
| 1 | Schedule Trigger | Runs daily at 9 AM or via webhook (/influencer-compliance) |
| 2 | Get Contracts | Loads influencer contracts from Contracts sheet |
| 3 | Loop Over Contracts | Processes each contract individually |
| 4 | Calculate Deadline Status | Computes days to deadline, flags approaching/passed |
| 5 | IF Approaching Deadline | Branches if within 3 days |
| 6 | Send Reminder (Slack) | Notifies influencer/team of upcoming deadline |
| 7 | IF Deadline Passed | Branches if deadline has passed |
| 8 | Get Influencer Posts | Fetches recent posts from influencer's Instagram |
| 9 | Check Post Compliance (Claude AI) | Uses AI to verify if post matches contract requirements |
| 10 | IF Breach Detected | Branches if non-compliant |
| 11 | Notify Breach (Slack) | Alerts manager of contract breach |
| 12 | Log Breach | Records breach details in Logs sheet |
| 13 | End (Compliant Path) | Terminates compliant branches |
| Integration | Details |
|---|---|
| Google Sheets | Service account with spreadsheet access |
| Instagram API | Business access token for fetching media |
| Claude AI | Anthropic API key for claude-3-5-sonnet-20241022 |
| Slack | Webhook or OAuth app |
Ensure your Google Sheets include:
ContractsLogs/webhook/influencer-compliance (for real-time updates)Use manual execution to confirm:
| campaignId | influencerName | influencerUserId | deadline | requiredHashtag | campaignDescription |
|---|---|---|---|---|---|
| CAMP-001 | InfluencerX | 1234567890 | 2023-12-31 | #BrandPromo | Promote new product |
| campaignId | influencerName | action | timestamp | details |
|---|---|---|---|---|
| CAMP-001 | InfluencerX | Breach Detected | 2023-10-01T12:00:00Z | Failed to post by deadline |
| Requirement | Version/Access |
|---|---|
| n8n | v1.50+ (AI and API integrations supported) |
| Claude AI API | claude-3-5-sonnet-20241022 |
| Instagram Graph API | Business account access token |
| Google Sheets API | https://www.googleapis.com/auth/spreadsheets |
| Slack Webhook | Required for notifications |
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!