SteveChat icon

SteveChat

Interact with SteveChat API for WhatsApp messaging

Overview

The node "SteveChat" enables interaction with the SteveChat API, which is designed for WhatsApp messaging. It supports multiple resources and operations related to WhatsApp users and messaging features. Specifically, the "User" resource with the "Get Avatar" operation allows retrieving the avatar image of a WhatsApp user by their user ID (phone number in WhatsApp format).

This node is beneficial when automating workflows that require fetching user profile pictures from WhatsApp, such as customer support dashboards, contact management systems, or personalized messaging applications.

Example use case:
You want to display the profile picture of a WhatsApp contact in your CRM system automatically. By providing the user's WhatsApp ID, this node fetches the avatar image, which can then be stored or displayed within your application.

Properties

Name Meaning
User ID The WhatsApp user ID in the format of a phone number followed by @s.whatsapp.net. Example: 5511999999999@s.whatsapp.net. This identifies the user whose avatar you want to retrieve.

Output

The node outputs an array of JSON objects corresponding to each input item processed. For the "Get Avatar" operation under the "User" resource, the output JSON contains the data returned by the SteveChat API representing the user's avatar information.

If the avatar is returned as binary data (e.g., an image file), it would typically be included in the binary output field, allowing further processing or saving of the image.

Dependencies

  • Requires an active connection to the SteveChat API.
  • Requires an API key credential configured in n8n to authenticate requests to the SteveChat service.
  • The node depends on the steveChat credential being set up properly in n8n.

Troubleshooting

  • Common issues:

    • Invalid or missing User ID format: Ensure the User ID follows the correct WhatsApp format (phone_number@s.whatsapp.net).
    • Authentication errors: Verify that the API key credential is correctly configured and has sufficient permissions.
    • Unsupported resource or operation errors: These occur if the resource or operation parameters are incorrect or not implemented.
  • Error messages:

    • "The resource \"user\" is not supported!": Indicates the specified resource is not recognized by the node.
    • "The operation \"getAvatar\" is not supported for resource \"user\"!": Indicates the operation is invalid for the given resource.
    • Network or API errors will return error messages from the SteveChat API; check connectivity and API status.

Links and References

  • WhatsApp User ID Format
  • SteveChat API documentation (refer to your SteveChat API provider's official docs for detailed API usage)

Discussion