Actions22
- Channel Actions
- Chat Actions
- Message Actions
- Contact Actions
- OTP Code Actions
- OTP Link Actions
Overview
This node interacts with the CrunchzApp API to retrieve detailed information about a specific chat. It is useful in scenarios where you need to fetch metadata or status details of a chat conversation identified by a unique contact ID. For example, you might use this node to get the current state of a chat before sending messages, analyzing chat history, or integrating chat data into other workflows.
Properties
| Name | Meaning |
|---|---|
| Contact Id | The unique identifier of the contact in the format xxx@c.us. This specifies which chat's details to retrieve. |
Output
The node outputs JSON data containing detailed information about the specified chat. This typically includes metadata such as chat status, participants, timestamps, and other relevant chat attributes as provided by the CrunchzApp API. There is no indication that binary data is output by this node.
Dependencies
- Requires an active connection to the CrunchzApp API.
- Needs an API authentication token configured in n8n credentials for CrunchzApp.
- The base URL for API requests is
https://api.crunchz.app/api. - Requests are made with headers specifying JSON content type and acceptance.
Troubleshooting
- Invalid Contact Id: If the contact ID is missing or malformed (not matching the expected format like
xxx@c.us), the API call will fail. Ensure the contact ID is correctly provided. - Authentication Errors: Missing or invalid API credentials will cause authorization failures. Verify that the API key or token is correctly set up in n8n.
- Network Issues: Connectivity problems to the CrunchzApp API endpoint can cause timeouts or errors. Check network access and API availability.
- API Limitations: If the API rate limits are exceeded, requests may be rejected. Monitor usage and handle retries accordingly.
Links and References
- CrunchzApp API Documentation (Assumed based on base URL; verify actual docs location)
- n8n Documentation on Creating Custom Nodes