Actions39
- Panel Actions
- Message Actions
- Chatbot Actions
- Contact Actions
- Sequence Actions
- Session Actions
Overview
This node integrates with the WTS Chat API to perform various messaging-related operations. Specifically, the 'Send Text To Contact' operation under the 'Message' resource allows users to send a text message to a specified contact number via a chosen channel. It supports additional options such as enabling a chatbot, sending messages synchronously, associating the message with a department or user, hiding the session, and forcing the start of a session. This node is useful for automating communication workflows, customer support messaging, and chatbot interactions within the WTS Chat platform.
Use Case Examples
- Sending a promotional text message to a customer via WhatsApp channel.
- Automating customer support responses by sending text messages to contacts.
- Triggering chatbot interactions by sending text messages with bot enabled.
Properties
| Name | Meaning |
|---|---|
| Text | The text content of the message to be sent to the contact. |
| Chatbot Name or ID | Select or specify the chatbot to be used when sending the message. |
| Department Name or ID | Select or specify the department associated with the message. |
| User Name or ID | Select or specify the user within the chosen department to associate with the message. |
| From Name or ID | Select or specify the channel from which the message is sent. |
| To | The phone number or contact identifier to which the message will be sent. |
| Send Synchronous Message | Determines whether the message should be sent synchronously. |
| Enable Bot | Determines whether the chatbot should be activated upon receiving a response from the contact. |
| Hidden Session | Determines whether the session should be hidden. |
| Force Start Session | Determines whether to force the start of a new session when sending the message. |
Output
JSON
jsonid- The unique identifier of the sent message.status- The status of the sent message (e.g., sent, delivered).to- The recipient contact number.from- The channel or sender identifier.body
*text- The text content of the sent message.options- Options used when sending the message, such as bot enabled, hidden session, and force start session flags.
Dependencies
- WTS Chat API
Troubleshooting
- Error 'Choose channel': Ensure the 'From' field (channel) is selected and not left undefined.
- Error 'Set an Instagram number or username for sending': Provide a valid recipient number in the 'To' field.
- Error 'Write a text to send': Ensure the 'Text' field is not empty before sending.
- Error 'There is no data in the input' or 'There is no file with that name that comes from input': When sending files, ensure the input binary data is correctly provided and named.
- API errors: Check API key validity and network connectivity if API calls fail.