SteveChat icon

SteveChat

Interact with SteveChat API for WhatsApp messaging

Overview

The node "SteveChat" enables sending WhatsApp messages via the SteveChat API. Specifically, the "Send Buttons" operation under the "Message" resource allows users to send interactive button messages to a specified WhatsApp chat. This is useful for creating engaging conversations where recipients can respond by clicking predefined buttons rather than typing free text.

Practical examples include:

  • Customer support bots offering quick reply options.
  • Marketing campaigns with call-to-action buttons.
  • Surveys or polls where users select from multiple choices.

Properties

Name Meaning
Chat ID The unique identifier of the WhatsApp chat to which the message will be sent.
Button Text The text displayed above the buttons, typically prompting the user to choose an option.
Buttons A collection of buttons to add to the message. Each button has:
   Button ID Unique identifier for the button (used internally to identify which button was clicked).
   Button Text The label shown on the button that the user sees and clicks.

Output

The node outputs JSON data representing the response from the SteveChat API after attempting to send the button message. This typically includes confirmation details such as message IDs, status, or error information if the send failed.

No binary data output is indicated.

Dependencies

  • Requires an active connection to the SteveChat API for WhatsApp messaging.
  • Needs an API key or authentication token configured in n8n credentials (referred generically as "an API key credential").
  • Network access to the SteveChat service endpoint.

Troubleshooting

  • Common issues:

    • Invalid or incorrectly formatted Chat ID may cause message delivery failure.
    • Missing or malformed button definitions (e.g., duplicate Button IDs) could result in errors.
    • Authentication failures if the API key credential is missing or invalid.
    • Network connectivity problems preventing communication with the SteveChat API.
  • Error messages:

    • "The resource \"message\" is not supported!" — indicates the resource parameter is incorrect or unsupported.
    • "The operation \"sendButtons\" is not supported for resource \"message\"!" — means the operation name is invalid for the given resource.
    • API errors returned from SteveChat will be included in the output JSON under an error field when continueOnFail is enabled.
  • Resolutions:

    • Verify the Chat ID format matches WhatsApp's expected pattern.
    • Ensure each button has a unique ID and non-empty text.
    • Confirm API credentials are correctly set up in n8n.
    • Check network connectivity and firewall settings.

Links and References

Discussion