{
  "name": "Automate service booking & payment with WhatsApp and Xendit",
  "nodes": [
    {
      "id": "4db560b9-9410-402e-a2dc-8d23f7a25139",
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -32,
        96
      ]
    },
    {
      "id": "77858380-3f0b-43eb-b8cd-d1c6ce4ac6c7",
      "name": "Process Booking",
      "type": "n8n-nodes-base.set",
      "position": [
        192,
        96
      ]
    },
    {
      "id": "ffc2341f-eab0-4665-9167-fa1097b90108",
      "name": "Calculate Price",
      "type": "n8n-nodes-base.code",
      "position": [
        416,
        96
      ]
    },
    {
      "id": "528354f5-b69e-417e-966b-ab26400d76b3",
      "name": "Respond to Webhook",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        880,
        16
      ]
    },
    {
      "id": "37b3137c-a724-465c-b6c3-a157f4e32b56",
      "name": "Delay Typing",
      "type": "n8n-nodes-base.wait",
      "position": [
        1104,
        240
      ]
    },
    {
      "id": "e0c4a033-5b6a-4679-a57f-8db6e60e79b4",
      "name": "Start Typing",
      "type": "@aldinokemal2104/n8n-nodes-gowa.gowa",
      "position": [
        880,
        240
      ]
    },
    {
      "id": "5c5d6484-368f-4fd5-b26b-41f70c2a1203",
      "name": "Stop Typing",
      "type": "@aldinokemal2104/n8n-nodes-gowa.gowa",
      "position": [
        1328,
        240
      ]
    },
    {
      "id": "bb23ee2d-1656-49ff-a003-060e739e3efe",
      "name": "Send Message",
      "type": "@aldinokemal2104/n8n-nodes-gowa.gowa",
      "position": [
        1552,
        240
      ]
    },
    {
      "id": "4c12d09a-6f4f-4c04-a4ae-e31c490e34dd",
      "name": "Generate Invoice",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        640,
        96
      ]
    },
    {
      "id": "63c2e449-9dc5-488a-958a-7c8d6e2db713",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -16,
        448
      ],
      "parameters": {
        "width": 448,
        "height": 608,
        "content": "![form](https://raw.githubusercontent.com/khmuhtadin/n8n-template/main/Additional%20FE/Automate%20Booking%20with%20Xendit%20/Images/Screenshot%202025-07-25%20at%2021.09.06.png)"
      }
    },
    {
      "id": "0e3d106d-287a-4fba-8232-5242044ba274",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        448,
        448
      ],
      "parameters": {
        "width": 512,
        "height": 608,
        "content": "## 1. Xendit API Key\n\n### How to Get API Key:\n1. **Register/Login** to [Xendit Dashboard](https://dashboard.xendit.co/)\n2. **Choose Environment**:\n   - Test mode for development\n   - Live mode for pro"
      }
    },
    {
      "id": "c3d61119-cbc7-4ca7-b183-97f0444d6944",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        992,
        448
      ],
      "parameters": {
        "width": 656,
        "height": 608,
        "content": "## 2. GoWhatsApp API\n\n### Setup Process:\n1. **Install GoWhatsApp** on your server\n2. **Setup Container**:\n   ```bash\n   docker run -d -p 3000:3000 aldinokemal2104/go-whatsapp-web-multidevice\n   ```\n3."
      }
    }
  ],
  "connections": {
    "Webhook": {
      "main": [
        [
          {
            "node": "Process Booking",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Stop Typing": {
      "main": [
        [
          {
            "node": "Send Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Delay Typing": {
      "main": [
        [
          {
            "node": "Stop Typing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Start Typing": {
      "main": [
        [
          {
            "node": "Delay Typing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Calculate Price": {
      "main": [
        [
          {
            "node": "Generate Invoice",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Process Booking": {
      "main": [
        [
          {
            "node": "Calculate Price",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Invoice": {
      "main": [
        [
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          },
          {
            "node": "Start Typing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}