{
  "id": "ZERshfQgsDcG6A5Y",
  "name": "Sending SMS via Textbelt API",
  "tags": [],
  "nodes": [
    {
      "id": "432b4b52-1bc6-4c76-ab3d-6a3ba0784ad1",
      "name": "When clicking \u2018Execute workflow\u2019",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -120,
        0
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "31115888-67ae-4e9a-8e9a-f361890ed424",
      "name": "HTTP Request",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        220,
        0
      ],
      "parameters": {
        "url": "https://textbelt.com/tex",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "phone",
              "value": "={{ $json.phone }}"
            },
            {
              "name": "message",
              "value": "={{ $json.message }}"
            },
            {
              "name": "key",
              "value": "={{ $json.key }}"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "aebe1619-6d09-403f-ac18-384c346a8f05",
      "name": "Set Data",
      "type": "n8n-nodes-base.set",
      "position": [
        40,
        0
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "48cde18b-b851-4c35-b238-dc86161f46c7",
              "name": "phone",
              "type": "string",
              "value": ""
            },
            {
              "id": "0927a63f-8876-4522-b80d-6861615e5c71",
              "name": "message",
              "type": "string",
              "value": ""
            },
            {
              "id": "d3b1b23f-8f3b-46c4-87f8-78ee6c3b09c5",
              "name": "key",
              "type": "string",
              "value": ""
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "fe4c2c16-74ce-4b79-9263-eace958cc8c5",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -300,
        -240
      ],
      "parameters": {
        "width": 840,
        "height": 420,
        "content": "## Sending SMS via Textbelt API\n\nStep:\n1. Manual Trigger: Starts the workflow manually by clicking \u2018Execute workflow\u2019.\n2. Set Data Node: Defines the required input parameters (phone, message, and key) that will be sent to the SMS API. You can populate these fields with your target phone number, the text message, and your Textbelt API key.\n3. HTTP Request Node: Sends a POST request to https://textbelt.com/tex with the phone number, message, and API key in the request body to send the SMS. The response from the API confirms whether the message was successfully sent.\n"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "cc5e0f86-a6ca-4a53-8ad1-16ee4c0e0a7e",
  "connections": {
    "Set Data": {
      "main": [
        [
          {
            "node": "HTTP Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HTTP Request": {
      "main": [
        []
      ]
    },
    "When clicking \u2018Execute workflow\u2019": {
      "main": [
        [
          {
            "node": "Set Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}