ZapGate icon

ZapGate

Interaja com a API ZapGate — WhatsApp gateway self-hosted

Actions1511

Chatwoot → Enviar Botão Nativo

AI-generated

Summary

Sends a WhatsApp message with a native interactive button through the ZapGate API. Choose a button type and provide its button-specific value; reply buttons support up to three choices.

Inputs

  • to (required) — Recipient phone number with country code, digits only; for groups, use the group JID.
  • title — Optional message heading.
  • body (required) — Main message text shown above the button.
  • footer — Optional text shown below the message body.
  • buttonType (required) — Button type: copy (default), url, call, or reply.
  • displayText (required) — Button label for copy, url, or call buttons.
  • copyCode (required) — Text to copy when the copy button is tapped; used only with buttonType=copy.
  • url (required) — Link opened when the url button is tapped; used only with buttonType=url.
  • phoneNumber (required) — Phone number, including country code, dialed by the call button; used only with buttonType=call.
  • replyButtons (required) — For buttonType=reply, enter one response per line as Text|id. The ID is optional; omitted IDs are generated. Provide 1–3 lines.

Output shape

One output item per input item, containing the ZapGate API response in json.

The operation sends a POST request to the instance's native-button endpoint using the configured ZapGate credentials. If continue on fail is enabled, a failed item returns json.error instead.

Links

Discussion