Monitchat icon

Monitchat

Send messages to Monitchat

Overview

This node integrates with the Monitchat messaging platform, enabling users to send messages and perform various conversation-related actions programmatically. The "Send Message" operation specifically allows sending a text message to a specified phone number within Monitchat, optionally associating it with an account number and deciding whether to open a support ticket.

Common scenarios where this node is beneficial include:

  • Automating customer support communications by sending notifications or replies.
  • Integrating Monitchat messaging into workflows that trigger alerts or updates.
  • Managing conversations and tickets programmatically based on external events.

For example, a business could use this node to automatically send order status updates to customers via Monitchat or open a ticket when a critical alert message is sent.

Properties

Name Meaning
Message The text content of the message to send.
Phone Number The recipient's phone number to which the message will be sent.
Account Number The account number associated with the message, linking it to a specific customer/account.
Open Ticket Boolean flag indicating whether to open a support ticket related to this message (true/false).

Output

The node outputs JSON data representing the response from the Monitchat API after attempting to send the message. This typically includes details about the sent message or any error information if the request failed.

If the operation succeeds, the output JSON contains the API's confirmation and message metadata. If it fails and the node is set to continue on failure, the output JSON will contain an error field with the error message.

No binary data is output for this operation.

Dependencies

  • Requires an API key credential for Monitchat to authenticate requests.
  • Makes HTTP POST requests to Monitchat's API endpoint: https://api-v2.monitchat.com/api/v1/message.
  • The node expects the environment to have network access to Monitchat's API.

Troubleshooting

  • Common Issues:

    • Invalid or missing API key credential will cause authentication failures.
    • Incorrect phone number format may result in message delivery errors.
    • Network connectivity issues can prevent successful API calls.
  • Error Messages:

    • "Não foi possível obter a lista de usuários ou o formato da resposta é inválido" indicates failure to retrieve user lists or invalid response format (not directly related to sendMessage but relevant for other operations).
    • Errors returned from the Monitchat API are passed through; typical errors might include invalid token, invalid parameters, or rate limiting.
  • Resolutions:

    • Verify that the API key credential is correctly configured and active.
    • Ensure phone numbers conform to expected formats.
    • Check network connectivity and firewall settings.
    • Enable "Continue On Fail" in the node settings to handle errors gracefully in workflows.

Links and References

Discussion