Automatisation de la conformité des livrables et des contrats pour les influenceurs Instagram
Ceci est unSocial Media, AI Summarizationworkflow d'automatisation du domainecontenant 26 nœuds.Utilise principalement des nœuds comme If, Set, Code, Cron, Slack. Automatiser la conformité des contrats d'influenceurs Instagram avec Claude AI et des rappels Slack
- •Token Bot Slack ou URL Webhook
- •Point de terminaison HTTP Webhook (généré automatiquement par n8n)
- •Peut nécessiter les informations d'identification d'authentification de l'API cible
- •Informations d'identification Google Sheets API
Nœuds utilisés (26)
Catégorie
{
"id": "xl4Z2irVR0uBoHoJ",
"meta": {
"instanceId": "dd69efaf8212c74ad206700d104739d3329588a6f3f8381a46a481f34c9cc281",
"templateCredsSetupCompleted": true
},
"name": "Influencer Deliverable & Contract Compliance Automation For Instagram",
"tags": [],
"nodes": [
{
"id": "03e0f79e-fd01-474c-8135-4bf0f0faeb1d",
"name": "Déclencheur programmé",
"type": "n8n-nodes-base.cron",
"position": [
-624,
-176
],
"parameters": {},
"typeVersion": 1
},
{
"id": "33aa1cec-3a0b-418a-b0ed-9af18722ef10",
"name": "Obtenir les contrats",
"type": "n8n-nodes-base.googleSheets",
"position": [
-400,
-176
],
"parameters": {
"options": {},
"sheetId": "your-contracts-sheet-id!A:H"
},
"credentials": {
"googleApi": {
"id": "ScSS2KxGQULuPtdy",
"name": "Google Sheets- test"
}
},
"typeVersion": 1
},
{
"id": "5516f33e-16a1-4beb-bf07-f573ba8ccd08",
"name": "Boucle sur les contrats",
"type": "n8n-nodes-base.splitInBatches",
"position": [
-176,
-176
],
"parameters": {
"options": {},
"batchSize": 1
},
"typeVersion": 1
},
{
"id": "af25ad56-9311-49e8-842c-204b328d0ced",
"name": "Calculer l'état des échéances",
"type": "n8n-nodes-base.code",
"position": [
48,
-176
],
"parameters": {
"jsCode": "const deadline = new Date($json['deadline']);\nconst now = new Date();\nconst daysToDeadline = Math.ceil((deadline - now) / (1000 * 60 * 60 * 24));\n\nreturn {\n json: {\n ...$json,\n daysToDeadline,\n isApproaching: daysToDeadline > 0 && daysToDeadline <= 3,\n isPassed: daysToDeadline <= 0\n }\n};"
},
"typeVersion": 1
},
{
"id": "6cb537be-9f88-4ef3-a6a7-d730ab782227",
"name": "SI échéance approchant",
"type": "n8n-nodes-base.if",
"position": [
272,
-272
],
"parameters": {
"conditions": {
"boolean": [
{
"value1": "={{ $json[\"isApproaching\"] }}",
"value2": true
}
]
}
},
"typeVersion": 1
},
{
"id": "fb583c49-8842-49c1-92ac-45511abeb67b",
"name": "Envoyer un rappel (Slack)",
"type": "n8n-nodes-base.slack",
"position": [
496,
-272
],
"parameters": {
"text": "=Reminder: Influencer {{ $json[\"influencerName\"] }} - Post due in {{ $json[\"daysToDeadline\"] }} days for campaign {{ $json[\"campaignId\"] }}. Required hashtag: {{ $json[\"requiredHashtag\"] }}",
"channel": "your-slack-channel",
"attachments": [],
"otherOptions": {}
},
"credentials": {
"slackApi": {
"id": "MQ0fgwuS8AzfwFvy",
"name": "Slack account - test "
}
},
"typeVersion": 1
},
{
"id": "2b15e005-aee0-4b23-a078-cb0f07004b1d",
"name": "SI échéance dépassée",
"type": "n8n-nodes-base.if",
"position": [
288,
112
],
"parameters": {
"conditions": {
"boolean": [
{
"value1": "={{ $json[\"isPassed\"] }}",
"value2": true
}
]
}
},
"typeVersion": 1
},
{
"id": "a08ad880-39e2-46e4-9428-56f019e43072",
"name": "Obtenir les publications de l'influenceur",
"type": "n8n-nodes-base.httpRequest",
"position": [
544,
96
],
"parameters": {
"url": "=https://graph.facebook.com/v12.0/{{ $json[\"influencerUserId\"] }}/media?access_token=YOUR_INSTAGRAM_ACCESS_TOKEN",
"options": {}
},
"typeVersion": 1
},
{
"id": "07a09646-85c3-4b67-a69b-8386e13589d2",
"name": "Vérifier la conformité des publications (Claude AI)",
"type": "n8n-nodes-base.httpRequest",
"position": [
784,
96
],
"parameters": {
"url": "https://api.anthropic.com/v1/messages",
"options": {},
"requestMethod": "POST",
"jsonParameters": true,
"bodyParametersJson": "={\"model\": \"claude-3-5-sonnet-20241022\", \"max_tokens\": 1024, \"messages\": [{\"role\": \"user\", \"content\": \"Check if any of these recent Instagram posts contain the required hashtag '{{ $json[\"requiredHashtag\"] }}' and match the campaign description '{{ $json[\"campaignDescription\"] }}'. Posts: {{ JSON.stringify($json[\"data\"]) }}. Output: is_compliant: yes/no\"}]}"
},
"typeVersion": 1
},
{
"id": "dcbc21bb-95b1-4041-9bde-50fb12edc097",
"name": "SI violation détectée",
"type": "n8n-nodes-base.if",
"position": [
992,
96
],
"parameters": {
"conditions": {
"string": [
{
"value1": "={{ $json[\"content\"][0][\"text\"].toLowerCase().split(':')[1].trim() }}",
"value2": "no"
}
]
}
},
"typeVersion": 1
},
{
"id": "cf595681-b060-4f83-9733-b8e7fb3966b1",
"name": "Notifier la violation (Slack)",
"type": "n8n-nodes-base.slack",
"position": [
1200,
-144
],
"parameters": {
"text": "=Contract Breach Alert! Influencer {{ $json[\"influencerName\"] }} failed to post for campaign {{ $json[\"campaignId\"] }} by deadline {{ $json[\"deadline\"] }}.",
"channel": "manager-slack-channel",
"attachments": [],
"otherOptions": {}
},
"credentials": {
"slackApi": {
"id": "MQ0fgwuS8AzfwFvy",
"name": "Slack account - test "
}
},
"typeVersion": 1
},
{
"id": "0f2431e2-d59e-4051-ac2c-29c6708cc529",
"name": "Journaliser la violation",
"type": "n8n-nodes-base.googleSheets",
"position": [
1200,
48
],
"parameters": {
"options": {},
"sheetId": "your-logs-sheet-id!A:F",
"operation": "append"
},
"credentials": {
"googleApi": {
"id": "ScSS2KxGQULuPtdy",
"name": "Google Sheets- test"
}
},
"typeVersion": 1
},
{
"id": "17dc2dd5-0e30-47e6-98a3-2ab651b9486e",
"name": "Fin (voie conforme)",
"type": "n8n-nodes-base.set",
"position": [
1200,
288
],
"parameters": {
"options": {},
"keepOnlySet": true
},
"typeVersion": 1
},
{
"id": "99da3762-46c3-4f66-b95d-84b818e71011",
"name": "Note autocollante",
"type": "n8n-nodes-base.stickyNote",
"position": [
-656,
-368
],
"parameters": {
"color": 3,
"width": 176,
"height": 480,
"content": "Runs daily at 9 AM or via webhook (/influencer-compliance)\n"
},
"typeVersion": 1
},
{
"id": "11643a92-6d5d-4899-aef5-a6fc4787eeb9",
"name": "Note autocollante 1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-224,
-368
],
"parameters": {
"color": 5,
"width": 176,
"height": 336,
"content": "Processes each contract individually\n"
},
"typeVersion": 1
},
{
"id": "a37ac9a7-71b4-4c4a-b835-cb730aef9074",
"name": "Note autocollante 2",
"type": "n8n-nodes-base.stickyNote",
"position": [
480,
-64
],
"parameters": {
"color": 4,
"width": 176,
"height": 336,
"content": "Fetches recent posts from influencer’s Instagram\n"
},
"typeVersion": 1
},
{
"id": "afd669d8-0961-4204-bc74-f04f27d6b25a",
"name": "Note autocollante 3",
"type": "n8n-nodes-base.stickyNote",
"position": [
240,
-64
],
"parameters": {
"width": 176,
"height": 336,
"content": "Branches if deadline has passed\n"
},
"typeVersion": 1
},
{
"id": "5d3990be-46b6-49f7-89e8-98a7d5a974a2",
"name": "Note autocollante 4",
"type": "n8n-nodes-base.stickyNote",
"position": [
464,
-448
],
"parameters": {
"color": 3,
"width": 176,
"height": 336,
"content": "Notifies influencer/team of upcoming deadline\n"
},
"typeVersion": 1
},
{
"id": "a6f8c630-09e3-41ee-93d1-98d2a9463a69",
"name": "Note autocollante 5",
"type": "n8n-nodes-base.stickyNote",
"position": [
240,
-448
],
"parameters": {
"color": 6,
"width": 176,
"height": 336,
"content": "Branches if within 3 days\n"
},
"typeVersion": 1
},
{
"id": "656ce4fc-f52d-477d-83f4-b40f2969bb7a",
"name": "Note autocollante 6",
"type": "n8n-nodes-base.stickyNote",
"position": [
16,
-368
],
"parameters": {
"color": 4,
"width": 176,
"height": 336,
"content": "Computes days to deadline, flags approaching/passed\n"
},
"typeVersion": 1
},
{
"id": "c1844ae1-a433-47af-8d61-b979bd283676",
"name": "Note autocollante 7",
"type": "n8n-nodes-base.stickyNote",
"position": [
-448,
-368
],
"parameters": {
"width": 176,
"height": 336,
"content": "Loads influencer contracts from Contracts sheet\n"
},
"typeVersion": 1
},
{
"id": "a69a2e61-b0c5-4430-9dd8-da77a0003450",
"name": "Note autocollante 8",
"type": "n8n-nodes-base.stickyNote",
"position": [
960,
-64
],
"parameters": {
"color": 2,
"width": 176,
"height": 336,
"content": "Branches if non-compliant\n"
},
"typeVersion": 1
},
{
"id": "fada9646-ea1a-41dc-a727-9e2233de03ba",
"name": "Note autocollante 9",
"type": "n8n-nodes-base.stickyNote",
"position": [
736,
-64
],
"parameters": {
"color": 5,
"width": 176,
"height": 336,
"content": "Uses AI to verify if post matches contract requirements\n"
},
"typeVersion": 1
},
{
"id": "8327329c-e485-4c3f-a75b-a9c8699e6dd4",
"name": "Note autocollante 10",
"type": "n8n-nodes-base.stickyNote",
"position": [
1168,
-544
],
"parameters": {
"color": 3,
"width": 176,
"height": 976,
"content": "Alerts manager of contract breach\nand Records breach details in Logs sheet\n also\tTerminates compliant branches"
},
"typeVersion": 1
},
{
"id": "318f9ab4-7200-4975-8e0c-9c401c1c48af",
"name": "Webhook",
"type": "n8n-nodes-base.webhook",
"position": [
-624,
-16
],
"webhookId": "f50af7ff-5c16-4985-9f9f-d10b805b11d4",
"parameters": {
"path": "f50af7ff-5c16-4985-9f9f-d10b805b11d4",
"options": {}
},
"typeVersion": 2.1
},
{
"id": "ff7449ef-d08d-4a4f-b5f6-b2f83433aaa9",
"name": "Répondre à Webhook",
"type": "n8n-nodes-base.respondToWebhook",
"position": [
1200,
-336
],
"parameters": {
"options": {}
},
"typeVersion": 1.4
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "a53b3923-88f0-485d-a994-5eee37e4b1f5",
"connections": {
"318f9ab4-7200-4975-8e0c-9c401c1c48af": {
"main": [
[
{
"node": "33aa1cec-3a0b-418a-b0ed-9af18722ef10",
"type": "main",
"index": 0
}
]
]
},
"33aa1cec-3a0b-418a-b0ed-9af18722ef10": {
"main": [
[
{
"node": "5516f33e-16a1-4beb-bf07-f573ba8ccd08",
"type": "main",
"index": 0
}
]
]
},
"03e0f79e-fd01-474c-8135-4bf0f0faeb1d": {
"main": [
[
{
"node": "33aa1cec-3a0b-418a-b0ed-9af18722ef10",
"type": "main",
"index": 0
}
]
]
},
"dcbc21bb-95b1-4041-9bde-50fb12edc097": {
"main": [
[
{
"node": "cf595681-b060-4f83-9733-b8e7fb3966b1",
"type": "main",
"index": 0
},
{
"node": "0f2431e2-d59e-4051-ac2c-29c6708cc529",
"type": "main",
"index": 0
},
{
"node": "ff7449ef-d08d-4a4f-b5f6-b2f83433aaa9",
"type": "main",
"index": 0
}
],
[
{
"node": "17dc2dd5-0e30-47e6-98a3-2ab651b9486e",
"type": "main",
"index": 0
}
]
]
},
"2b15e005-aee0-4b23-a078-cb0f07004b1d": {
"main": [
[
{
"node": "a08ad880-39e2-46e4-9428-56f019e43072",
"type": "main",
"index": 0
}
]
]
},
"5516f33e-16a1-4beb-bf07-f573ba8ccd08": {
"main": [
[
{
"node": "af25ad56-9311-49e8-842c-204b328d0ced",
"type": "main",
"index": 0
}
]
]
},
"a08ad880-39e2-46e4-9428-56f019e43072": {
"main": [
[
{
"node": "07a09646-85c3-4b67-a69b-8386e13589d2",
"type": "main",
"index": 0
}
]
]
},
"6cb537be-9f88-4ef3-a6a7-d730ab782227": {
"main": [
[
{
"node": "fb583c49-8842-49c1-92ac-45511abeb67b",
"type": "main",
"index": 0
}
]
]
},
"af25ad56-9311-49e8-842c-204b328d0ced": {
"main": [
[
{
"node": "6cb537be-9f88-4ef3-a6a7-d730ab782227",
"type": "main",
"index": 0
},
{
"node": "2b15e005-aee0-4b23-a078-cb0f07004b1d",
"type": "main",
"index": 0
}
]
]
},
"07a09646-85c3-4b67-a69b-8386e13589d2": {
"main": [
[
{
"node": "dcbc21bb-95b1-4041-9bde-50fb12edc097",
"type": "main",
"index": 0
}
]
]
}
}
}Comment utiliser ce workflow ?
Copiez le code de configuration JSON ci-dessus, créez un nouveau workflow dans votre instance n8n et sélectionnez "Importer depuis le JSON", collez la configuration et modifiez les paramètres d'authentification selon vos besoins.
Dans quelles scénarios ce workflow est-il adapté ?
Avancé - Réseaux sociaux, Résumé IA
Est-ce payant ?
Ce workflow est entièrement gratuit et peut être utilisé directement. Veuillez noter que les services tiers utilisés dans le workflow (comme l'API OpenAI) peuvent nécessiter un paiement de votre part.
Workflows recommandés
Oneclick AI Squad
@oneclick-aiThe AI Squad Initiative is a pioneering effort to build, automate and scale AI-powered workflows using n8n.io. Our mission is to help individuals and businesses integrate AI agents seamlessly into their daily operations from automating tasks and enhancing productivity to creating innovative, intelligent solutions. We design modular, reusable AI workflow templates that empower creators, developers and teams to supercharge their automation with minimal effort and maximum impact.
Partager ce workflow