Actions26
- Webhook Actions
- Session Actions
- User Actions
- Chat Actions
- Message Actions
Overview
The node "SteveChat" enables interaction with the SteveChat API specifically designed for WhatsApp messaging. It supports various operations on different resources related to WhatsApp users and messaging. The "User - Get Info" operation retrieves detailed information about a specific WhatsApp user identified by their user ID (phone number in WhatsApp format). This node is useful for workflows that need to fetch user details, verify user existence, or gather profile data before sending messages or performing other actions.
Practical examples include:
- Fetching user profile information to personalize messages.
- Verifying if a WhatsApp user exists before attempting communication.
- Integrating WhatsApp user data into CRM or support systems.
Properties
| Name | Meaning |
|---|---|
| User ID | WhatsApp user ID in the format of a phone number followed by @s.whatsapp.net. For example: 5511999999999@s.whatsapp.net. This identifies the target WhatsApp user whose information will be retrieved. |
Output
The output of the node is a JSON object containing the information retrieved from the SteveChat API about the specified WhatsApp user. The exact structure depends on the API response but typically includes user profile details such as name, status, avatar URL, and other metadata.
If an error occurs during execution, the output JSON will contain an error field with the error message describing what went wrong.
No binary data output is indicated in the provided code.
Dependencies
- Requires an active connection to the SteveChat API for WhatsApp messaging.
- Needs an API key credential configured in n8n to authenticate requests to the SteveChat service.
- The node depends on the internal implementation of resource-operation functions (
resourceOperationsFunctions) which handle the actual API calls.
Troubleshooting
Common issues:
- Invalid or missing User ID format may cause the API call to fail.
- Network or authentication errors if the API key credential is not set up correctly.
- Unsupported resource or operation errors if incorrect parameters are provided.
Error messages:
"The resource \"user\" is not supported!"— indicates the resource parameter is invalid or not implemented."The operation \"getInfo\" is not supported for resource \"user\"!"— indicates the operation parameter is invalid for the given resource.- API errors returned from SteveChat will appear in the
errorfield of the output JSON.
To resolve these:
- Ensure the User ID is correctly formatted.
- Verify the API key credential is valid and has necessary permissions.
- Confirm that the resource and operation names match those supported by the node.
Links and References
- WhatsApp User ID Format
- SteveChat API documentation (refer to your SteveChat API provider's official docs for detailed endpoints and data structures)