Understand before connecting

Automate WhatsApp with n8n or an HTTP API

From business trigger to reply: plan an HTTP integration with consent, private keys and duplicate-safe retries.

By the Zynd Connect team · Updated

A useful automatic message starts with reliable data: a confirmed order, approved slot or updated case. A tool such as n8n can orchestrate HTTP calls. Zynd Connect provides the gateway; you build the workflow. No native partner node or ready-to-install template is assumed.

1. Filter the event before sending

Trigger on a validated business state rather than every record edit. Verify the contact, permission for that message type and absence of an opt-out. If your system emits the same event more than once, keep its stable identifier. Important state changes need an explicit rule: a cancelled order should not receive a reminder scheduled for delivery.

2. Configure the server-side request

In an HTTP Request node, use POST to /api/customer/messages on connect.zynd.io with an authorized project key as Bearer. The JSON body contains connectionId, chatId, text and requestKey. The connection must be authorized, ready and covered by an active subscription. Store the key in tool credentials; do not copy it into public pages or shared logs.

3. Retry the same operation

Build requestKey from the business event, for example order-1042-confirmed. If the network response is lost, keep the same key, recipient and content, then inspect the operation. A new key could create a new send. An uncertain result must not trigger a loop that keeps sending until it gets a reassuring response.

4. Connect replies and test exceptions

Configure a webhook to your application, verify signatures using portal documentation and prevent incoming-message-to-automatic-reply loops. Assign a colleague to handle unresolved requests. Also test a stopped connection, insufficient allowance and an event received twice. Accept the workflow only once the reply is visible in the destination tool.

Illustrative example to adapt

What it looks like

Validated order → consent check → HTTP POST with stable reference → operation tracking → reply received through webhook → CRM record updated.

Fictional scenario, not a customer testimonial or a promised result.

Measure the pilot’s value

Measure events handled once, explicit failures and uncertain operations still open. Automation should help the team act rather than hide errors.

Related workflows

References for further reading

These documents explain the channel or tool mentioned. Links do not imply a partnership, certification or native integration.

Keep exploring

The next question to answer.

Turn the scenario into a first journey

One useful event.
A team ready to reply.

Choose a concrete use case, estimate volume and prepare your integration. Opening an account is free; connecting a number and sending requires an active subscription.