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 → Create Channel
AI-generatedOverview
This node integrates with the WaliChat WhatsApp API to manage WhatsApp channels. Specifically, the Create Channel operation allows users to create a new WhatsApp channel associated with a specific WhatsApp number. This is useful for businesses or developers who want to programmatically set up communication channels on WhatsApp for customer support, marketing, or automated messaging.
Typical use cases include:
- Creating a new branded WhatsApp channel for customer engagement.
- Setting up multiple channels for different departments or campaigns.
- Uploading a profile image to personalize the channel.
For example, a company could automate the creation of WhatsApp channels for each regional office, assigning unique names and images to each.
Properties
| Name | Meaning |
|---|---|
| WhatsApp Number | The ID of the WhatsApp number to associate with the new channel. |
| Channel Name | The name of the channel being created. |
| Description | Optional description of the channel (up to 2048 characters). |
| Upload Image | Boolean flag indicating whether to upload an image for the channel profile picture. |
| Image Source | If uploading an image, specifies the source type: either a URL or Base64-encoded image data. |
| Image URL | When Image Source is URL, the URL of the JPG or PNG image to use as the channel profile picture. |
| Image Data (Base64) | When Image Source is Base64, the Base64-encoded JPG or PNG image data for the channel profile picture. |
Output
The node outputs JSON data representing the result of the channel creation operation. This typically includes details about the newly created channel such as its ID, name, description, and any metadata returned by the WaliChat API.
If an image is uploaded, the output confirms the successful association of the image with the channel.
No binary data output is indicated for this operation.
Dependencies
- Requires an API key credential for authenticating with the WaliChat WhatsApp API.
- The node depends on internal methods from the
channelsaction module to perform the create channel operation. - Network access to the WaliChat API endpoint is necessary.
- No additional environment variables are explicitly required beyond the API key credential.
Troubleshooting
Common issues:
- Invalid or missing WhatsApp number ID will cause the operation to fail.
- Uploading an image larger than 1MB or in an unsupported format (non-JPG/PNG) may result in errors.
- Providing invalid Base64 image data or an unreachable image URL can cause upload failures.
- API authentication errors if the API key is incorrect or expired.
Error messages:
"Invalid WhatsApp number": Verify the WhatsApp number ID is correct and accessible."Image size exceeds limit": Ensure the image is under 1MB."Unsupported image format": Use JPG or PNG images only."Authentication failed": Check the API key credential configuration.
Resolving these usually involves verifying input parameters, ensuring valid image data, and confirming API credentials.
Links and References
- WaliChat API Documentation (hypothetical link)
- n8n documentation on Creating Custom Nodes
- WhatsApp Business API overview: https://developers.facebook.com/docs/whatsapp
If you need further details on other operations or resources, feel free to ask!