SteveChat icon

SteveChat

Interact with SteveChat API for WhatsApp messaging

Overview

The node "SteveChat" enables interaction with the SteveChat API to manage WhatsApp messaging. Specifically, for the Message resource and the Edit Message operation, it allows users to modify the content of an existing WhatsApp message by specifying the chat and message identifiers along with the new text content.

This node is beneficial in scenarios where automated workflows need to update or correct previously sent WhatsApp messages without sending a new message. For example, if a message was sent with incorrect information or requires additional details, this node can edit that message directly.

Properties

Name Meaning
Chat ID The unique identifier of the WhatsApp chat where the message to be edited exists. Format example: 5511999999999@s.whatsapp.net.
Message ID The unique identifier of the specific message within the chat that you want to edit.
Text The new text content that will replace the current content of the specified message.

Output

The node outputs a JSON object representing the result of the edit operation. This typically includes confirmation data from the SteveChat API about the updated message. If the operation fails, the output JSON contains an error message describing the issue.

No binary data output is involved in this operation.

Dependencies

  • Requires an active connection to the SteveChat API via an API key credential configured in n8n.
  • The node depends on the SteveChat API being accessible and the provided credentials having permissions to edit messages.
  • Proper configuration of the "steveChat" credential in n8n is necessary.

Troubleshooting

  • Common Issues:

    • Invalid or missing Chat ID or Message ID will cause the operation to fail.
    • Insufficient permissions or invalid API credentials will prevent editing messages.
    • Network issues or API downtime may cause request failures.
  • Error Messages:

    • "The resource "message" is not supported!" — indicates the resource parameter is incorrect or unsupported.
    • "The operation "editMessage" is not supported for resource "message"!" — indicates the operation parameter is invalid for the selected resource.
    • API errors returned in the JSON output under the error field provide details such as invalid IDs or permission issues.
  • Resolution Tips:

    • Verify that Chat ID and Message ID are correctly formatted and correspond to existing entities.
    • Ensure the API key credential is valid and has the required permissions.
    • Check network connectivity and API service status.

Links and References

Discussion