{
  "name": "Sync Facebook/Google lead ads to Google Sheets & Salesforce CRM",
  "nodes": [
    {
      "id": null,
      "name": "Start",
      "type": "n8n-nodes-base.start",
      "position": [
        250,
        300
      ]
    },
    {
      "id": null,
      "name": "Facebook Lead Ad",
      "type": "n8n-nodes-base.facebookLeadAdsTrigger",
      "position": [
        450,
        300
      ]
    },
    {
      "id": null,
      "name": "Log Lead to Google Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        890,
        300
      ]
    },
    {
      "id": null,
      "name": "Create Lead in Salesforce",
      "type": "n8n-nodes-base.salesforce",
      "position": [
        1110,
        300
      ]
    },
    {
      "id": null,
      "name": "Prepare CRM Data",
      "type": "n8n-nodes-base.set",
      "position": [
        670,
        300
      ]
    },
    {
      "id": null,
      "name": "Update Status in Sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1330,
        300
      ]
    }
  ],
  "connections": {
    "Facebook Lead Ad": {
      "main": [
        [
          {
            "node": "Prepare CRM Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prepare CRM Data": {
      "main": [
        [
          {
            "node": "Log Lead to Google Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Lead in Salesforce": {
      "main": [
        [
          {
            "node": "Update Status in Sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Log Lead to Google Sheets": {
      "main": [
        [
          {
            "node": "Create Lead in Salesforce",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}