Actions85
- Instances Actions
- Client Actions
- Message Actions
- Chat Actions
- Contact Actions
- Number Actions
- Group Actions
- Channel Actions
- Label Actions
- Story Actions
Overview
This node operation allows subscribing to a specific channel by its identifier. It is useful in scenarios where you want to programmatically manage subscriptions to channels, such as newsletter channels or communication streams, within an automation workflow. For example, you might use this node to subscribe users to a newsletter channel automatically when they sign up on your platform.
Properties
| Name | Meaning |
|---|---|
| Id | Instance ID (a required numeric identifier for the subscription instance) |
| Channel Id | The identifier of the channel to subscribe to; typically formatted like <channelId>@newsletter |
Output
The node outputs JSON data representing the result of the subscription request. This typically includes confirmation details about the subscription status or any relevant metadata returned by the API. There is no indication that binary data is output by this node.
Dependencies
- Requires an API key credential for authentication with the external WaAPI service.
- The node interacts with the WaAPI API endpoint at
https://waapi.app/api/v1. - Proper configuration of the API credentials in n8n is necessary for successful execution.
Troubleshooting
Common issues:
- Invalid or missing API credentials will cause authentication failures.
- Providing an incorrect or malformed Channel Id may result in errors or failed subscriptions.
- Network connectivity problems can prevent the node from reaching the API endpoint.
Error messages and resolutions:
- Authentication errors: Verify that the API key credential is correctly configured and has the necessary permissions.
- Validation errors related to the Id or Channel Id: Ensure that the Id is a valid number and the Channel Id follows the expected format.
- Timeout or network errors: Check internet connectivity and API availability.
Links and References
- WaAPI Official Documentation (for detailed API usage and channel subscription specifics)
- n8n documentation on API Credentials