Actions116
- š¬ Chats Actions
- š¤ Contacts Actions
- š„ļø Sessions Actions
- š Profile Actions
- š¼ļø Screenshot Actions
- š¤ Chatting Actions
- š¢ Channels Actions
- š¢ Status Actions
- š„ Groups Actions
- Add Participants
- Demote To Admin
- Create Group
- Get Groups
- Join Info Group
- Join Group
- Refresh Groups
- Get Group
- Delete Group
- Leave Group
- Get Chat Picture
- Set Picture
- Delete Picture
- Set Description
- Set Subject
- Set Info Admin Only
- Get Info Admin Only
- Set Messages Admin Only
- Get Messages Admin Only
- Get Invite Code
- Revoke Invite Code
- Get Participants
- Remove Participants
- Promote To Admin
- ā Presence Actions
- š·ļø Labels Actions
- š Observability Actions
- š Auth Actions
Overview
This node operation sends a message with interactive buttons in a chat session. It is useful for engaging users by providing predefined response options such as replies, calls, copying codes, or opening URLs. For example, a customer support bot can use this to ask users how they are doing and offer quick response buttons.
Use Case Examples
- Sending a greeting message with buttons for quick replies.
- Providing buttons to call support, copy a code, or visit a URL from within a chat.
Properties
| Name | Meaning |
|---|---|
| Session | The chat session identifier to which the message with buttons will be sent. |
| Chat Id | The unique identifier of the chat recipient. |
| Header | The header text displayed above the buttons. |
| Header Image | An optional image displayed in the header, specified as a JSON object with mimetype, filename, and URL. |
| Body | The main message body text shown with the buttons. |
| Footer | Footer text displayed below the buttons. |
| Buttons | A JSON array defining the interactive buttons, including types like reply, call, copy, and URL, each with relevant properties. |
| Request Options | Optional settings for batching, SSL validation, proxy, and timeout to control request behavior. |
Output
JSON
sentMessage- Details of the sent message including buttons and text content.
Dependencies
- Requires an API key credential for authentication with the chat service.
Troubleshooting
- Ensure the session and chatId are valid and active to avoid message delivery failures.
- Validate the JSON format of buttons and headerImage to prevent parsing errors.
- Check network connectivity and proxy settings if requests time out or fail.
- If SSL errors occur, consider enabling the option to ignore SSL issues, but be aware of security risks.
Links
- WAHA Chatting Send Buttons API Documentation - Official documentation for sending buttons in chat messages using WAHA API.