SteveChat icon

SteveChat

Interact with SteveChat API for WhatsApp messaging

Overview

The node "SteveChat" enables interaction with the SteveChat API for WhatsApp messaging. Specifically, the "React to Message" operation allows users to add an emoji reaction to a specific message within a chat. This is useful in scenarios where quick feedback or acknowledgment is needed without sending a new message, such as reacting to a question, confirming receipt, or expressing emotions in group chats.

Practical examples:

  • Reacting with a thumbs-up emoji to confirm understanding of a message.
  • Adding a heart emoji to show appreciation for a shared photo.
  • Using a laughing emoji to respond to a joke in a group chat.

Properties

Name Meaning
Chat ID The identifier of the chat where the message exists. It can be a phone number with @s.whatsapp.net suffix or a group ID. Example: 5511999999999@s.whatsapp.net.
Message ID The unique identifier of the message to which the reaction will be added.
Reaction The emoji character to use as the reaction on the specified message.

Output

The node outputs JSON data representing the result of the reaction operation. Typically, this would include confirmation details such as success status or metadata about the reacted message. If the operation fails, the output JSON contains an error message describing the issue.

No binary data output is indicated by the source code.

Dependencies

  • Requires an active connection to the SteveChat API for WhatsApp messaging.
  • Needs an API authentication credential configured in n8n (an API key or token).
  • Proper network access to the SteveChat service endpoint.

Troubleshooting

  • Common issues:

    • Invalid or missing Chat ID or Message ID will cause the operation to fail.
    • Using an unsupported emoji or invalid reaction format might lead to errors.
    • Network or authentication failures if the API key is incorrect or expired.
  • Error messages:

    • "The resource \"chat\" is not supported!" — indicates the resource parameter is incorrect or unsupported.
    • "The operation \"reactToMessage\" is not supported for resource \"chat\"!" — indicates the operation name is invalid for the given resource.
    • General API errors returned from SteveChat will appear in the output JSON under an error field.
  • Resolutions:

    • Verify that Chat ID and Message ID are correctly formatted and exist.
    • Ensure the emoji reaction is valid and supported by WhatsApp.
    • Check API credentials and network connectivity.
    • Use the node's "Continue On Fail" option to handle errors gracefully during batch processing.

Links and References

Discussion