Automatisierung von Instagram-Influencer-Lieferungen und Vertragskonformität

Experte

Dies ist ein Social Media, AI Summarization-Bereich Automatisierungsworkflow mit 26 Nodes. Hauptsächlich werden If, Set, Code, Cron, Slack und andere Nodes verwendet. Automatisierte Erinnerungen zur Einhaltung von Instagram-Influencer-Verträgen mit Claude AI und Slack

Voraussetzungen
  • Slack Bot Token oder Webhook URL
  • HTTP Webhook-Endpunkt (wird von n8n automatisch generiert)
  • Möglicherweise sind Ziel-API-Anmeldedaten erforderlich
  • Google Sheets API-Anmeldedaten
Workflow-Vorschau
Visualisierung der Node-Verbindungen, mit Zoom und Pan
Workflow exportieren
Kopieren Sie die folgende JSON-Konfiguration und importieren Sie sie in n8n
{
  "id": "xl4Z2irVR0uBoHoJ",
  "meta": {
    "instanceId": "dd69efaf8212c74ad206700d104739d3329588a6f3f8381a46a481f34c9cc281",
    "templateCredsSetupCompleted": true
  },
  "name": "Influencer Deliverable & Contract Compliance Automation For Instagram",
  "tags": [],
  "nodes": [
    {
      "id": "03e0f79e-fd01-474c-8135-4bf0f0faeb1d",
      "name": "Zeitplan-Trigger",
      "type": "n8n-nodes-base.cron",
      "position": [
        -624,
        -176
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "33aa1cec-3a0b-418a-b0ed-9af18722ef10",
      "name": "Verträge abrufen",
      "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": "Schleife über Verträge",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -176,
        -176
      ],
      "parameters": {
        "options": {},
        "batchSize": 1
      },
      "typeVersion": 1
    },
    {
      "id": "af25ad56-9311-49e8-842c-204b328d0ced",
      "name": "Friststatus berechnen",
      "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": "IF Frist nähert sich",
      "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": "Erinnerung senden (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": "IF Frist überschritten",
      "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": "Influencer-Beiträge abrufen",
      "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": "Beitragskonformität prüfen (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": "IF Verstoß erkannt",
      "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": "Verstoß benachrichtigen (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": "Verstoß protokollieren",
      "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": "Ende (Konformer Pfad)",
      "type": "n8n-nodes-base.set",
      "position": [
        1200,
        288
      ],
      "parameters": {
        "options": {},
        "keepOnlySet": true
      },
      "typeVersion": 1
    },
    {
      "id": "99da3762-46c3-4f66-b95d-84b818e71011",
      "name": "Haftnotiz",
      "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": "Haftnotiz1",
      "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": "Haftnotiz2",
      "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": "Haftnotiz3",
      "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": "Haftnotiz4",
      "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": "Haftnotiz5",
      "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": "Haftnotiz6",
      "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": "Haftnotiz7",
      "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": "Haftnotiz8",
      "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": "Haftnotiz9",
      "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": "Haftnotiz10",
      "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": "Auf Webhook antworten",
      "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
          }
        ]
      ]
    }
  }
}
Häufig gestellte Fragen

Wie verwende ich diesen Workflow?

Kopieren Sie den obigen JSON-Code, erstellen Sie einen neuen Workflow in Ihrer n8n-Instanz und wählen Sie "Aus JSON importieren". Fügen Sie die Konfiguration ein und passen Sie die Anmeldedaten nach Bedarf an.

Für welche Szenarien ist dieser Workflow geeignet?

Experte - Soziale Medien, KI-Zusammenfassung

Ist es kostenpflichtig?

Dieser Workflow ist völlig kostenlos. Beachten Sie jedoch, dass Drittanbieterdienste (wie OpenAI API), die im Workflow verwendet werden, möglicherweise kostenpflichtig sind.

Workflow-Informationen
Schwierigkeitsgrad
Experte
Anzahl der Nodes26
Kategorie2
Node-Typen11
Schwierigkeitsbeschreibung

Für fortgeschrittene Benutzer, komplexe Workflows mit 16+ Nodes

Autor
Oneclick AI Squad

Oneclick AI Squad

@oneclick-ai

The 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.

Externe Links
Auf n8n.io ansehen

Diesen Workflow teilen

Kategorien

Kategorien: 34