Actions148
- Send messages Actions
- Outbound Messages Actions
- WhatsApp Numbers Actions
- Groups Actions
- Channels Actions
- Chats Actions
- Chat Contacts Actions
- Chat Messages Actions
- Chat Files Actions
- Team Actions
- Labels Actions
- Departments Actions
- Files Actions
- Quick replies Actions
- Queue Actions
- WhatsApp session Actions
- WhatsApp profile Actions
- Business catalog Actions
- Campaigns Actions
- Meeting Links Actions
- User Status Actions
- Webhooks Actions
- Other Actions
Channels → Get Channels
AI-generatedOverview
This node interacts with the WaliChat WhatsApp API to retrieve information about channels associated with a specific WhatsApp number (device). The "Get Channels" operation fetches channel data, optionally filtered by permission type and supports pagination through page size and page number parameters.
Typical use cases include:
- Listing all communication channels linked to a particular WhatsApp number.
- Filtering channels based on user permissions to manage access control.
- Paginating through large sets of channels for display or processing in workflows.
For example, a business could use this node to programmatically obtain all channels available for a given WhatsApp number to synchronize them with their CRM or to audit channel permissions.
Properties
| Name | Meaning |
|---|---|
| WhatsApp Number | The ID of the WhatsApp number (device) for which to retrieve channels. |
| Permission | (Optional) Filter channels by a specific permission type. |
| Results Page Size | (Optional) Number of results to return per page; defaults to 20. |
| Page Number | (Optional) The page number to retrieve, starting from 0. |
Output
The node outputs an array of JSON objects representing channels associated with the specified WhatsApp number. Each object contains details about a single channel as returned by the WaliChat API.
If binary data were involved, it would be summarized here, but this operation returns only JSON data describing channels.
Dependencies
- Requires an API key credential for authenticating with the WaliChat WhatsApp API.
- The node depends on the WaliChat API service being accessible and properly configured.
- No additional environment variables are explicitly required beyond the API key credential.
Troubleshooting
Common issues:
- Invalid or missing WhatsApp number ID will cause the API call to fail.
- Incorrect or expired API key credentials will result in authentication errors.
- Requesting pages beyond the available range may return empty results.
Error messages:
- Authentication errors typically indicate invalid API keys; verify and update credentials.
- Validation errors may occur if required parameters like the WhatsApp number are not provided.
- Network or API downtime errors require checking connectivity and WaliChat service status.
Links and References
- WaliChat WhatsApp API Documentation (example placeholder link)
- n8n Documentation on Creating Custom Nodes