SteveChat icon

SteveChat

Interact with SteveChat API for WhatsApp messaging

Overview

This node, named "SteveChat," integrates with the SteveChat API to enable WhatsApp messaging functionalities. Specifically, for the Session resource and the Pair by Phone operation, it allows users to pair a session by providing a phone number (including country code). This pairing is essential for establishing a connection between the WhatsApp account and the SteveChat service, enabling subsequent message sending or receiving.

Common scenarios where this node is beneficial include:

  • Automating WhatsApp session management by programmatically pairing devices.
  • Integrating WhatsApp communication into workflows that require dynamic session handling.
  • Setting up initial connections for WhatsApp messaging bots or customer support automation.

Example use case: Automatically pair a new WhatsApp session when a user submits their phone number through a form, enabling immediate messaging capabilities.

Properties

Name Meaning
Phone Number The phone number to pair with, including the country code (e.g., +5511999999999). This is a required string input used to identify the WhatsApp account to connect.

Output

The node outputs an array of JSON objects corresponding to each input item processed. Each output item contains the result of the pairing operation in its json field. The exact structure of this JSON depends on the response from the SteveChat API's pairing endpoint but generally includes details about the session status or any error messages.

If the operation fails and "Continue On Fail" is enabled, the output will contain an error field with the error message instead of the usual pairing data.

No binary data output is indicated in the source code.

Dependencies

  • Requires an API key credential for authenticating with the SteveChat API.
  • The node depends on the external SteveChat API service to perform WhatsApp session pairing.
  • Proper network connectivity to the SteveChat API endpoints is necessary.
  • No additional environment variables are explicitly required beyond the API authentication.

Troubleshooting

  • Common issues:

    • Invalid or improperly formatted phone numbers (missing country code or incorrect format) may cause pairing failures.
    • Network connectivity problems can prevent successful API calls.
    • Incorrect or missing API credentials will result in authentication errors.
  • Error messages:

    • "The resource \"session\" is not supported!" — indicates the resource parameter was invalid; ensure "Session" is selected.
    • "The operation \"pairByPhone\" is not supported for resource \"session\"!" — indicates the operation parameter was invalid; ensure "Pair by Phone" is selected.
    • API errors returned from SteveChat will be passed through in the error field if "Continue On Fail" is enabled.
  • Resolution tips:

    • Verify the phone number format matches the expected international format.
    • Check API credentials and permissions.
    • Ensure the SteveChat API service is reachable from your environment.

Links and References

Discussion