Send Interactive Message
AI-generatedOverview
This node sends interactive WhatsApp messages using a raw JSON payload through the 4Jawaly WhatsApp API. It is designed for developers who need advanced control over WhatsApp messaging, allowing them to specify detailed message components and metadata. Common use cases include sending customized interactive messages in automated workflows, such as customer support bots, marketing campaigns, or notification systems.
Use Case Examples
- Sending a WhatsApp message with interactive buttons to a specific phone number.
- Automating WhatsApp notifications with custom content and metadata for different scenarios.
Properties
| Name | Meaning |
|---|---|
| Scenario ID | Identifier of the scenario to which the message belongs. |
| Node ID | Identifier of the node sending the message. |
| Nodes ID | Identifier of the nodes.id associated with the message. |
| Nodes Label | Label or title of the node. |
| Nodes Position X | X coordinate position of the node. |
| Nodes Position Y | Y coordinate position of the node. |
| Nodes Category | Category classification of the node. |
| Nodes Type | Type of the node. |
| Nodes NodeId | NodeId of the nodes, usually the same as node_id. |
| Component ID | Identifier of the message component. |
| Component Type | Type of the message component, e.g., text, interactive, template, image, video, audio, document, location. |
| Messaging Product | The messaging product used, typically 'whatsapp'. |
| Recipient Type | Type of recipient, e.g., individual. |
| Phone Number (To) | Phone number of the message recipient. |
| Content | Content of the message to be sent. |
| Additional JSON Fields (Optional) | Optional additional JSON fields to include in the message component. |
Output
JSON
success- Indicates if the message was sent successfully (true/false).operation- The operation performed, e.g., sendInteractiveMessage.message- Status message about the operation.node_id- Identifier of the node that sent the message.scenario_id- Identifier of the scenario.phone_number- Phone number to which the message was sent.content- Content of the sent message.message_id- Identifier of the sent message returned by the API.api_message- Message returned by the API.description- Additional description from the API response.raw_request- The full JSON request payload sent to the API.raw_response- The full JSON response received from the API.
Dependencies
- An API key credential for 4Jawaly WhatsApp API
Troubleshooting
- Invalid JSON in the 'Additional JSON Fields' property will cause an error; ensure the JSON is correctly formatted.
- API request failures may occur due to incorrect credentials or network issues; verify API keys and connectivity.
- If the API response indicates failure, check the message content and recipient phone number for correctness.