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. Specifically, the "User" resource with the "Get Profile" operation allows users to retrieve profile information of a WhatsApp user by providing their WhatsApp user ID (phone number formatted with @s.whatsapp.net). This node is useful in scenarios where you need to fetch detailed user profile data from WhatsApp, such as displaying contact info, verifying user identity, or integrating WhatsApp user details into other workflows.

Practical examples include:

  • Fetching a WhatsApp user's profile picture and status message before sending a message.
  • Verifying if a user exists on WhatsApp by retrieving their profile.
  • Integrating WhatsApp user profile data into CRM systems or customer support tools.

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 specific WhatsApp user whose profile will be retrieved.

Output

The output of this node is a JSON object containing the profile information of the specified WhatsApp user. While the exact structure depends on the SteveChat API response, it typically includes fields such as the user's display name, profile picture URL, status message, and possibly other metadata related to the user's WhatsApp profile.

If the node supports binary data output (e.g., profile pictures), it would be included in the binary property of the output item, but this is not explicitly shown in the provided code.

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 WhatsApp user ID being valid.
  • No additional environment variables are indicated from the source code.

Troubleshooting

  • Common issues:

    • Invalid or incorrectly formatted User ID (must be a phone number followed by @s.whatsapp.net).
    • Network connectivity problems preventing access to the SteveChat API.
    • Missing or invalid API credentials leading to authentication failures.
    • Unsupported resource or operation errors if the node parameters are misconfigured.
  • Error messages:

    • "The resource \"user\" is not supported!" — indicates the resource parameter is incorrect or unsupported.
    • "The operation \"getProfile\" is not supported for resource \"user\"!" — indicates the operation parameter is invalid for the selected resource.
    • Errors returned from the API (e.g., user not found) will be passed through in the output JSON under an error field if "Continue On Fail" is enabled.

To resolve these errors:

  • Verify that the User ID is correctly formatted.
  • Ensure the correct resource ("user") and operation ("getProfile") are selected.
  • Check API credentials and network connectivity.
  • Enable "Continue On Fail" to handle errors gracefully within workflows.

Links and References

Discussion