StevoChat icon

StevoChat

Interact with StevoChat API

Chat → React to Message

AI-generated

Overview

The node enables interaction with the StevoChat API to perform various chat-related actions. Specifically, for the Chat - React to Message operation, it allows users to add an emoji reaction to a specific message in a chat conversation by specifying the recipient's phone number, the message ID, and the desired emoji reaction.

This node is beneficial in scenarios where automated or programmatic responses are needed to acknowledge or react to messages without sending a new text message. For example, a customer support bot could automatically react with a thumbs-up emoji when a user confirms receipt of information, or a team collaboration tool could use reactions to track message statuses.

Properties

Name Meaning
Phone The recipient's phone number including country code to identify the chat participant.
Message ID The unique identifier of the message to which the reaction will be added.
Reaction The emoji character representing the reaction to add to the specified message.

Output

The node outputs a JSON array containing the response from the StevoChat API after attempting to add the reaction. The structure typically includes confirmation details such as success status or any metadata returned by the API about the reacted message.

No binary data output is produced by this operation.

Dependencies

  • Requires an active connection to the StevoChat API.
  • Needs an API authentication token configured in the node credentials to authorize requests.
  • The node uses HTTP POST requests to the /chat/react endpoint of the StevoChat API.

Troubleshooting

  • Common Issues:

    • Invalid or missing phone number format may cause the API to reject the request.
    • Incorrect or expired message ID can result in failure to find the target message.
    • Unsupported or invalid emoji characters might not be accepted by the API.
    • Network connectivity issues or incorrect API credentials will prevent successful communication.
  • Error Messages:

    • "Invalid phone number": Verify the phone number includes the correct country code and formatting.
    • "Message not found": Confirm the message ID corresponds to an existing message in the chat.
    • "Unauthorized" or "Authentication failed": Check that the API key credential is correctly set up and valid.
    • "Invalid reaction": Ensure the emoji used is supported by the StevoChat platform.

Resolving these errors usually involves validating input parameters, checking API credentials, and ensuring network access.

Links and References

Discussion