{
  "name": "✨ Meta ads campaign report by period – auto-send via WhatsApp & email",
  "nodes": [
    {
      "id": "3d44cc05-4d4a-41b1-b51e-4b45496b9198",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1080,
        60
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "9d5104af-eb98-482a-8e68-7393da934fc0",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -540,
        100
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "4dc8a09c-b3aa-419d-8c45-0f2d3d96333a",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -340,
        320
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "dd28d994-ae91-452a-bbd6-c4c0f5939c6e",
      "name": "Agregar",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        0,
        420
      ]
    },
    {
      "id": "27715111-64c0-4fa0-9d40-421864423074",
      "name": "Filter",
      "type": "n8n-nodes-base.filter",
      "position": [
        -1660,
        240
      ]
    },
    {
      "id": "1e4567cd-f0b7-4313-b887-22d53f2e651d",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1700,
        140
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "2e3eb2c1-8bd5-48ed-b11a-846052050910",
      "name": "Start Time",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -1960,
        320
      ]
    },
    {
      "id": "ae3116e7-be38-4bba-8ad7-69400647de74",
      "name": "Ad Accounts",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -1480,
        240
      ]
    },
    {
      "id": "1f6f5525-1f7e-4e4b-82a6-4f8ee0989417",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1520,
        60
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "bb5614fa-c1ac-4b58-8bde-1efea7acab35",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1520,
        420
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "b2bff7f3-e3eb-4ac9-86f8-859fa504ac80",
      "name": "Click Next",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -1280,
        180
      ]
    },
    {
      "id": "8c1a4b8d-05f9-45f3-8b36-dcb31a6ee1c4",
      "name": "Set Data",
      "type": "n8n-nodes-base.set",
      "position": [
        -1040,
        240
      ]
    },
    {
      "id": "0b2e5a11-d87b-462e-bf05-abaad1fb6945",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -900,
        60
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "0040e273-de3e-46e1-acf2-12a4b9cd89be",
      "name": "Ads by Period",
      "type": "n8n-nodes-base.facebookGraphApi",
      "position": [
        -860,
        240
      ]
    },
    {
      "id": "2828df26-1a9e-45a0-906a-9ff4718ddad0",
      "name": "So if",
      "type": "n8n-nodes-base.if",
      "position": [
        -700,
        240
      ]
    },
    {
      "id": "09b9062d-2759-42cf-902d-91cf91295663",
      "name": "Save Data",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -300,
        140
      ]
    },
    {
      "id": "078d3952-c9c3-4fd1-b995-2b94c17c5298",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -340,
        -40
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "8954bfce-e748-4cbd-9896-cf30a5c3371a",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -160,
        -40
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "a24f7837-9fa4-4b10-8898-dd26fdedf41e",
      "name": "Filter if there was Conversion",
      "type": "n8n-nodes-base.if",
      "position": [
        -300,
        460
      ]
    },
    {
      "id": "2c123f0b-977f-4295-be0b-970a495424d2",
      "name": "Rename Titles",
      "type": "n8n-nodes-base.set",
      "position": [
        -140,
        420
      ]
    },
    {
      "id": "122dd0a9-4b23-430e-9df2-b9e82feea6cb",
      "name": "Switch",
      "type": "n8n-nodes-base.switch",
      "position": [
        280,
        420
      ]
    },
    {
      "id": "df0c490a-7789-494f-9c15-df1719ef705f",
      "name": "Send by Email",
      "type": "n8n-nodes-base.gmail",
      "position": [
        540,
        300
      ]
    },
    {
      "id": "fd518c5f-181f-4eba-92e5-2489953cf2b5",
      "name": "Send by WhatsApp",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        540,
        460
      ]
    },
    {
      "id": "b8a29fad-382e-4b23-81fe-c7f1685f2a81",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        420,
        180
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "cebd5d40-fdcd-4ba7-a6c4-beea89648120",
      "name": "Return to the loop",
      "type": "n8n-nodes-base.noOp",
      "position": [
        800,
        500
      ]
    },
    {
      "id": "7b063dab-c483-4216-aee1-84a2141a7741",
      "name": "Sticky Note10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2100,
        -40
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "09239d2e-9f88-480f-bda1-679f17ebdefd",
      "name": "Data by Creative",
      "type": "n8n-nodes-base.code",
      "position": [
        -500,
        280
      ]
    },
    {
      "id": "2f14d043-d7c8-4d57-b6e9-a0b9cde96a14",
      "name": "Dismember Text",
      "type": "n8n-nodes-base.code",
      "position": [
        140,
        420
      ]
    }
  ],
  "connections": {
    "So if": {
      "main": [
        [
          {
            "node": "Data by Creative",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Click Next",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter": {
      "main": [
        [
          {
            "node": "Ad Accounts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Switch": {
      "main": [
        [
          {
            "node": "Send by Email",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Send by WhatsApp",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Agregar": {
      "main": [
        [
          {
            "node": "Dismember Text",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Data": {
      "main": [
        [
          {
            "node": "Ads by Period",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Click Next": {
      "main": [
        [],
        [
          {
            "node": "Set Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Start Time": {
      "main": [
        [
          {
            "node": "Filter",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Ad Accounts": {
      "main": [
        [
          {
            "node": "Click Next",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Ads by Period": {
      "main": [
        [
          {
            "node": "So if",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Rename Titles": {
      "main": [
        [
          {
            "node": "Agregar",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send by Email": {
      "main": [
        [
          {
            "node": "Return to the loop",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Dismember Text": {
      "main": [
        [
          {
            "node": "Switch",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Data by Creative": {
      "main": [
        [
          {
            "node": "Save Data",
            "type": "main",
            "index": 0
          },
          {
            "node": "Filter if there was Conversion",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send by WhatsApp": {
      "main": [
        [
          {
            "node": "Return to the loop",
            "type": "main",
            "index": 0
          }
        ],
        []
      ]
    },
    "Return to the loop": {
      "main": [
        [
          {
            "node": "Click Next",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter if there was Conversion": {
      "main": [
        [
          {
            "node": "Rename Titles",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Click Next",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}