Jetapi Integration with n8n
Connect Jetapi to your n8n workflows to send and receive messages via WhatsApp and Telegram - no coding required.
This integration supports:
  • Sending messages via WhatsApp or Telegram
  • Receiving incoming messages through Jetapi webhooks
  • Flexible message routing based on your Jetapi dashboard settings
  • Full support for dynamic variables in your workflows
🧩Step-by-Step Guide
Step 1: Create a Workflow in n8n
Open n8n and create a new workflow.
You can start with a Trigger Node of your choice or even directly with the Jetapi node
Search for Jetapi and select it.
  • Using self-hosted n8n?
    If you don’t see Jetapi in the node list, install it manually with:
    npm install n8n-nodes-jetapi
    Restart n8n, and the node will appear as Jetapi.
Step 2: Connect Your Jetapi Account
Click “+Create new credential” inside the Jetapi node.
Step 3: Create a connection
  • Visit jetapi.io
  • Sing up or Sign in.
  • Well done! You got 10 days free trial!
Wait for the QR to appear and scan it with WhatsApp or WhatsApp Business.
  • For iPhone
    Go to WhatsApp Settings > Linked Devices > Link a Device.
  • For Android
    Tap ⋮ > Linked devices > Link a device
If necessary, authorize the Telegram Personal and/or Telegram Bot in the Telegram menu.
Go to Settings > API/Access and copy the Bearer Token (click on it to copy to clipboard)
Paste your Jetapi Bearer Token into the Bearer Token field, click Save and close the credentials window
Step 4: Configure the Jetapi Node to Send Messages
Once the Jetapi node is added to your workflow, you can configure it to send messages through different channels. Below are the main options you can use depending on your preferred recipient format and delivery method.
Option 1: Send via WhatsApp (Phone Number)
Use this option to deliver a message to a WhatsApp user.
Option 2: Send via Telegram (Phone Number)
If the recipient uses Telegram and you have their phone number:
Option 3: Send via Telegram (Username)
To send a message using a Telegram username:
Option 4: Send via Telegram (User or Group ID)
If you have a Telegram numeric ID (for users, groups, or channels):
Option 5: Cascade Delivery Across Channels
Use this if you want Jetapi to try multiple channels in sequence (for example, try Telegram first, then WhatsApp if not delivered).
Cascade delivery is only available when sending messages using a phone number as the recipient.
The order and availability of channels are configured in your Jetapi dashboard under Dispatch Routings.
If delivery fails in one channel (e.g. WhatsApp), Jetapi will automatically try the next (e.g. Telegram, then SMS). As soon as delivery succeeds, the cascade stops.
No need to specify channel names in n8n - everything follows your personal routing setup in Jetapi.
Final step: Run your workflow and test delivery
Click Execute step and watch the message go through Jetapi.
Once you see a successful response, your integration is complete.
Now your workflow can send messages via Jetapi
You’ve successfully added the Jetapi node and tested message delivery through your selected channels.
This setup allows you to send messages using Telegram, WhatsApp or fallback cascades - all from your n8n workflows.
Receiving Incoming Messages via Webhook
You can use Jetapi to receive WhatsApp and Telegram messages inside your n8n workflows using webhooks.
This is perfect for triggering flows from user messages, collecting input, or logging chat activity.
Step 1. Add a Webhook Node in n8n
In your n8n workflow, add a node and select Webhook from the Trigger category.
Step 2. Configure Webhook Parameters
Set the following values:
  • HTTP Method: POST
  • Authentication: None
  • Leave other fields at default values (you can change the response later if needed)
Step 3. Copy the Webhook URL
You can choose either of these:
  • Test URL — for development and debugging (e.g., https://n8n.yourdomain.com/webhook-test/...)
  • Production URL — recommended for stable live workflows (e.g., https://n8n.yourdomain.com/webhook/...).
Step 4. Register the Webhook in Jetapi
  1. Open your Jetapi Dashboard
  2. Go to Settings → Webhooks
3. Click Add, then:
  • Paste the copied webhook URL
  • Select one or both of the following checkboxes:
- Whatsapp Incoming Message
- Tdlib Incoming Message (Telegram)
4. Click Create
Step 5. Execute the Workflow and Send a Message
  • Back in n8n, click Execute Workflow
  • Then send a message from your WhatsApp or Telegram account
  • n8n will receive the webhook and show a ✅ status with full payload data
Important: Jetapi can only trigger your webhook when the entire workflow is running.
Do not rely on “Listen for test event” — instead, use the Execute Workflow button
Example Webhook Payload
The field "direction" will be:
  • "incoming" — messages received from users
  • "outgoing" — messages sent by you (available if message status webhooks are enabled)
For the full structure and additional webhook event types, refer to the Jetapi Webhook Documentation
And that’s it — now you can trigger powerful automations in your n8n workflows using incoming WhatsApp and Telegram messages via Jetapi.
JetAPI, 2025