Actions76
- Message Actions
- Chat Actions
- Contact Actions
- Group Actions
- Create
- List
- Get
- Delete
- Join
- Get Join Info
- Leave
- Get Picture
- Set Picture
- Delete Picture
- Update Subject
- Update Description
- Get Security Info Admin Only
- Set Security Info Admin Only
- Get Security Messages Admin Only
- Set Security Messages Admin Only
- Get Participants
- Add Participant
- Remove Participant
- Promote Admin
- Demote Admin
- Status Actions
- Channel Actions
- Poll Actions
- Profile Actions
- LID Actions
- File Actions
Overview
This node enables interaction with WhatsApp through the Wappfy API, specifically allowing users to create a new channel in WhatsApp. Creating a channel is useful for broadcasting messages or managing groups of subscribers within WhatsApp. For example, businesses can create channels to share updates, promotions, or announcements to a large audience efficiently.
The "Create Channel" operation lets you specify the channel's name, description, and optionally upload a picture by providing its MIME type, file name, and URL. This facilitates setting up a branded channel with descriptive information and an image.
Properties
| Name | Meaning |
|---|---|
| Channel Name | The name of the channel to be created. |
| Description | A textual description of the channel, explaining its purpose or content. |
| MIME Type | The MIME type of the channel's picture file (e.g., image/jpeg). Required if a picture is set. |
| File Name | The name of the picture file for the channel. Defaults to "file" if not specified. |
| File URL | The URL where the picture file is located. |
Output
The output JSON contains the response from the Wappfy API after creating the channel. It typically includes details about the newly created channel such as its ID, name, description, and possibly metadata about the uploaded picture.
If multiple items are processed, the output is an array of such JSON objects, each representing one created channel.
No binary data output is produced by this operation.
Dependencies
- Requires an active Wappfy API credential with:
- Base URL of the Wappfy API.
- Instance name identifying the WhatsApp session.
- An API key for authentication.
- The node makes HTTP requests to the Wappfy API endpoints.
- Proper network access to the Wappfy API server is necessary.
Troubleshooting
- Missing required fields: Ensure that "Channel Name" and "Description" are provided. If uploading a picture, "MIME Type" and "File URL" must also be specified.
- Invalid MIME type or file URL: Verify that the MIME type matches the actual file type and that the file URL is accessible and correct.
- Authentication errors: Confirm that the API key and instance name credentials are correctly configured.
- API connectivity issues: Check network connectivity and that the Wappfy API base URL is reachable.
- Error responses from API: The node returns error messages from the API in the output JSON under an
errorfield ifcontinueOnFailis enabled; otherwise, it throws an error stopping execution.
Links and References
- Wappfy API Documentation (example link, replace with actual)
- WhatsApp Channels concept: https://faq.whatsapp.com/general/channels/about-channels
- n8n HTTP Request Node documentation: https://docs.n8n.io/nodes/n8n-nodes-base.httpRequest/