Actions85
- Instances Actions
- Client Actions
- Message Actions
- Chat Actions
- Contact Actions
- Number Actions
- Group Actions
- Channel Actions
- Label Actions
- Story Actions
Overview
This node interacts with the WaAPI service to retrieve information about a specific chat by its unique identifier. It is useful in scenarios where you need to fetch detailed data about a particular chat instance, such as for monitoring conversations, auditing chat history, or integrating chat details into other workflows.
For example, you might use this node to:
- Retrieve metadata or status of a chat session given its ID.
- Pull chat details to display in a dashboard or report.
- Use chat information as input for further processing or automation steps.
Properties
| Name | Meaning |
|---|---|
| Id | Instance ID (a numeric identifier) required to specify which chat to retrieve. |
| Chat Id | The unique string identifier of the chat, typically formatted like <xxxxx>@c.us. |
Output
The node outputs JSON data representing the chat details retrieved from the WaAPI service. This JSON will contain all relevant information about the specified chat instance as provided by the API.
If the node supports binary data output, it would typically represent media or attachments related to the chat, but based on the provided code and properties, the primary output is structured JSON data about the chat.
Dependencies
- Requires an active connection to the WaAPI API service.
- Needs an API authentication token or key configured in n8n credentials to authorize requests.
- The base URL for the API is
https://waapi.app/api/v1. - The node uses standard HTTP headers for JSON content negotiation.
Troubleshooting
- Missing or invalid Id/Chat Id: Ensure that the "Id" property is set to a valid number and "Chat Id" is correctly formatted. Invalid or missing identifiers will cause the API call to fail.
- Authentication errors: Verify that the API key credential is correctly configured and has sufficient permissions.
- Network issues: Check connectivity to
https://waapi.app/api/v1and ensure no firewall or proxy blocks the request. - Unexpected API responses: If the API returns errors or unexpected data, consult the WaAPI documentation or support to verify the chat ID exists and is accessible.
Links and References
- WaAPI Official Documentation
- n8n HTTP Request Node Documentation (for understanding how API calls are made)
- JSON Data Handling in n8n