TechConversa icon

TechConversa

Envie mensagens WhatsApp e SMS via TechConversa

WhatsApp → Send Button

AI-generated

Summary

Send an interactive WhatsApp message containing a single button to a specified recipient phone number via a chosen WhatsApp instance.

Inputs

  • Phone (required) — The recipient's phone number including country and area code (DDI+DDD). If the number has 10 digits or fewer, the prefix 55 is added automatically.
  • Title (required) — The title text of the message that contains the interactive button (up to 60 characters).
  • Button Type (required) — The type of interactive button, either a URL button that opens a link or a Copy Code button that copies a code to clipboard.
  • Button Text (required) — The text displayed on the button (up to 30 characters).
  • Button URL (required) — The destination URL opened when the button is clicked; required if Button Type is URL.
  • Copy Code (required) — The code that will be copied to clipboard when the button is clicked; required if Button Type is Copy Code.
  • Description — An optional descriptive text shown below the title (up to 300 characters).
  • Footer — An optional footer text displayed in the message (up to 60 characters).
  • Instance — The WhatsApp instance to use for sending the message; defaults to automatic selection of the first active instance.

Output shape

a list containing one JSON object representing the API's response to the send-button message request

The node calls the POST /whatsapp/send-button endpoint with the provided details, returning the API response wrapped in a JSON array. Errors in API communication are raised as node errors.

Links

Discussion