{
  "name": "Auto-send welcome messages to Vtiger CRM leads via Evolution API WhatsApp",
  "nodes": [
    {
      "id": "9eb3438a-721e-47b1-b05d-fbeb6e6a53f0",
      "name": "Schedule Trigger Every n Minutes",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -816,
        -208
      ]
    },
    {
      "id": "7d90f8b4-a984-4532-8378-3188d80d4ebe",
      "name": "If there's a data returned",
      "type": "n8n-nodes-base.if",
      "position": [
        -368,
        -208
      ]
    },
    {
      "id": "48a1a508-3e84-4875-b34e-f5bc4a1ec6a3",
      "name": "No Operation, do nothing",
      "type": "n8n-nodes-base.noOp",
      "position": [
        -80,
        -16
      ]
    },
    {
      "id": "63514400-625b-4bd6-bbb3-8892e671d671",
      "name": "Enviar texto",
      "type": "n8n-nodes-evolution-api.evolutionApi",
      "position": [
        128,
        -352
      ]
    },
    {
      "id": "7c73ab05-6c59-4f93-b354-940a2ad0e05d",
      "name": "VtigerCRM get Latest Lead",
      "type": "n8n-nodes-vtiger-crm.vtigerNode",
      "position": [
        -592,
        -208
      ]
    },
    {
      "id": "cecfb193-03b1-47ff-8849-d4c00a3f0bc6",
      "name": "VtigerCRM Update Lead to  Mark as Whatsapp Sent",
      "type": "n8n-nodes-vtiger-crm.vtigerNode",
      "position": [
        128,
        -176
      ]
    },
    {
      "id": "a68394bd-0580-4705-b8c8-0e5f0c033d78",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -784,
        -528
      ],
      "parameters": {
        "width": 592,
        "height": 304,
        "content": "### 🤖 Auto-Send Welcome WhatsApp Message to New Vtiger Leads  \n**(Vtiger CRM + Evolution API)**\nThis workflow runs **every 1 minute** to:\n- 📥 Get the latest lead from Vtiger CRM (not yet marked as con"
      }
    }
  ],
  "connections": {
    "VtigerCRM get Latest Lead": {
      "main": [
        [
          {
            "node": "If there's a data returned",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If there's a data returned": {
      "main": [
        [
          {
            "node": "VtigerCRM Update Lead to  Mark as Whatsapp Sent",
            "type": "main",
            "index": 0
          },
          {
            "node": "Enviar texto",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "No Operation, do nothing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger Every n Minutes": {
      "main": [
        [
          {
            "node": "VtigerCRM get Latest Lead",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "VtigerCRM Update Lead to  Mark as Whatsapp Sent": {
      "main": [
        []
      ]
    }
  }
}