Crafted by Ritik Makhija — Automations · AI Workflows · Open Source Advocate

Browse 5,000+ n8n Automation Templates

DM “PROJECT” on Instagram to collaborate on custom automation

← Back

Create ad campaign from Content calendar and send to Facebook

n8n_2000_workflows / create-ad-campaign-content-calendar-facebook.json

Complexity: simpleNodes: 4
adbasecalendarcampaigncontentcreatecreate-ad-campaign-content-calendar-facebook.jsondataerrorfacebookfetchfromhttprequestincomingn8nn8n_2000_workflowsnodessendsimpleslacktotriggerwebhook

Node Overview

Workflow JSON

{
  "name": "Create ad campaign from Content calendar and send to Facebook",
  "nodes": [
    {
      "id": "trigger-content-calendar",
      "name": "Incoming Trigger",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 1,
      "position": [
        -600,
        59100
      ],
      "parameters": {
        "httpMethod": "POST",
        "path": "create-ad-campaign-from-content-calendar-and-send-to-facebook",
        "responseCode": 200,
        "responseMode": "onReceived"
      }
    },
    {
      "id": "fetch-content-calendar",
      "name": "Fetch data from Content calendar",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 1,
      "position": [
        -300,
        59100
      ],
      "parameters": {
        "method": "GET",
        "url": "https://api.example.com/content-calendar",
        "responseFormat": "json"
      }
    },
    {
      "id": "send-facebook",
      "name": "Send to Facebook",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 1,
      "position": [
        300,
        59100
      ],
      "parameters": {
        "method": "POST",
        "url": "https://api.example.com/facebook",
        "responseFormat": "json",
        "options": {}
      }
    },
    {
      "id": "error-handler-600-59100",
      "name": "Send Error to Slack",
      "type": "n8n-nodes-base.slack",
      "typeVersion": 1,
      "position": [
        600,
        59100
      ],
      "parameters": {
        "resource": "message",
        "operation": "post",
        "channel": "#automation-alerts",
        "text": "={{ $json.get('error_message', 'An error occurred') }}"
      }
    }
  ],
  "connections": {
    "Incoming Trigger": {
      "main": [
        [
          {
            "node": "Fetch data from Content calendar",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch data from Content calendar": {
      "main": [
        {
          "node": "Send to Facebook",
          "type": "main",
          "index": 0
        }
      ]
    },
    "Send to Facebook": {
      "main": [
        [
          {
            "node": "Send Error to Slack",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {},
  "active": false
}
Download JSON