Actions76
- Chat Actions
- Contact Actions
- Profile Actions
- LID Actions
- File Actions
- Message 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
Overview
This node enables interaction with WhatsApp through the Wappfy API, specifically allowing users to create a new channel on WhatsApp. Creating a channel is useful for broadcasting messages or content to a large audience without exposing individual contact details. This operation is beneficial for businesses or communities that want to share updates, promotions, or announcements efficiently.
For example, a marketing team can use this node to create a branded WhatsApp channel where subscribers receive product updates and news. Another use case could be a community manager creating a channel to distribute event information to members.
Properties
| Name | Meaning |
|---|---|
| Channel Name | The name of the channel to be created. |
| Description | A 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. Optional; defaults to "file". |
| File URL | The URL of the picture file to associate with the channel. Optional. |
Output
The output is a JSON object representing 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 associated picture if provided.
Example structure:
{
"id": "string",
"name": "string",
"description": "string",
"picture": {
"mimetype": "string",
"filename": "string",
"url": "string"
}
}
No binary data output is involved in this operation.
Dependencies
- Requires an active Wappfy API credential with a valid API key and instance name configured in n8n.
- The node makes HTTP requests to the Wappfy API endpoints.
- Network access to the Wappfy API base URL must be available.
Troubleshooting
- Missing or invalid API credentials: Ensure the API key and instance name are correctly set in the node credentials.
- Invalid MIME type or missing file URL: When providing a channel picture, the MIME type and file URL must be valid and accessible.
- API errors: If the API returns an error, check the message for details such as duplicate channel names or invalid parameters.
- Network issues: Verify network connectivity to the Wappfy API endpoint.
Common error messages:
"Unauthorized": Check API key validity."Bad Request": Validate all required fields, especiallychannelNameanddescription."File not found"or"Invalid MIME type": Confirm the file URL and MIME type correctness.
Links and References
- Wappfy API Documentation (general reference for API endpoints)
- WhatsApp Channels Overview (conceptual understanding of channels)