{
  "name": "Update Airtable CRM with telli call event data and appointment status",
  "nodes": [
    {
      "id": "ea0c7674-7276-436b-a804-a842e0e258e3",
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        0,
        0
      ]
    },
    {
      "id": "60e76c93-b225-432f-ba4f-17cd27e0708a",
      "name": "Update CRM contact with call_status NOT_REACHED",
      "type": "n8n-nodes-base.airtable",
      "position": [
        620,
        80
      ]
    },
    {
      "id": "0d64e5dd-77d9-4726-9440-c373382af3eb",
      "name": "Update CRM contact with call_status COMPLETED",
      "type": "n8n-nodes-base.airtable",
      "position": [
        620,
        -140
      ]
    },
    {
      "id": "c11f6585-fa19-4fbc-991d-2dfd80b482b8",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1480,
        -680
      ],
      "parameters": {
        "width": 1400,
        "height": 2560,
        "content": "# Receive realtime call-event data from telli\n\n### Purpose and Problem Solved\n\nThis template automates the process of receiving and acting upon real-time call event data from telli, an AI-powered voic"
      }
    },
    {
      "id": "7b59fb15-efda-4221-a519-17fb9f9c67ba",
      "name": "Route based on call_status",
      "type": "n8n-nodes-base.switch",
      "position": [
        220,
        0
      ]
    },
    {
      "id": "bb5c2392-cb1a-4162-adf0-76b84d615186",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        180,
        -140
      ],
      "parameters": {
        "width": 200,
        "height": 120,
        "content": "### Different paths\nBased on the call_status outcome, we can set different actions to follow."
      }
    },
    {
      "id": "59f6049a-3cbd-4da4-bec9-0e98eeaa2808",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        580,
        -320
      ],
      "parameters": {
        "width": 200,
        "height": null,
        "content": "### call_status COMPLETED\n\nHere we update the CRM with the booked appointment from the completed call."
      }
    },
    {
      "id": "61c03cd8-7760-4244-9be5-72cfceea6cdc",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        580,
        280
      ],
      "parameters": {
        "width": 200,
        "height": 140,
        "content": "### call_status NOT_REACHED\n\nHere we set a required follow_up because we did not reach the contact."
      }
    },
    {
      "id": "f640f563-7f55-4933-9b5f-f44c468781d9",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -40,
        160
      ],
      "parameters": {
        "width": 220,
        "height": null,
        "content": "### Set Webhook to receive the call data\nHere we enable n8n to receive data from the telli API once a call ends through a call_ended event."
      }
    }
  ],
  "connections": {
    "Webhook": {
      "main": [
        [
          {
            "node": "Route based on call_status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Route based on call_status": {
      "main": [
        [
          {
            "node": "Update CRM contact with call_status COMPLETED",
            "type": "main",
            "index": 0
          },
          {
            "node": "Update CRM contact with call_status NOT_REACHED",
            "type": "main",
            "index": 0
          }
        ],
        []
      ]
    }
  }
}