Actions15
- Create Newsletter
- Get Newsletter Info
- Send Newsletter Message
- Subscribe Newsletter
- Subscribe with Invite
- Unsubscribe Newsletter
- Unsubscribe with Invite
- Mute Newsletter
- Get Newsletter Messages
- Send Newsletter Reaction
- Mark Newsletter Viewed
- Subscribe Live Updates
- Get Message Updates
- Accept TOS Notice
- Send Admin Invite
Overview
This node integrates with the DinastiAPI to manage WhatsApp newsletters (also called channels). It allows users to create, list, subscribe to, send messages to, and otherwise interact with WhatsApp newsletters programmatically. This is useful for automating communication workflows such as broadcasting updates, marketing campaigns, or community announcements via WhatsApp newsletters.
For example, you can use this node to:
- Create a new newsletter channel with a name, description, and picture.
- Send text or media messages to subscribers of a newsletter.
- Subscribe or unsubscribe users from newsletters using invite codes.
- Retrieve messages or message updates from newsletters.
- Mute or unmute notifications from specific newsletters.
Properties
| Name | Meaning |
|---|---|
| Newsletter Name | Name of the newsletter (max 25 characters). |
| Description | Optional description of the newsletter. |
| Picture | Optional base64 encoded image or URL representing the newsletter picture. |
These properties are specifically for the Create Newsletter operation.
Output
The node outputs JSON data corresponding to the response from the DinastiAPI for the selected operation. The structure varies depending on the operation performed but generally includes details about newsletters, messages, subscription status, or confirmation of actions taken.
No binary data output is produced by this node.
Dependencies
- Requires an API key credential for authenticating requests to the DinastiAPI service.
- The node makes HTTP requests to DinastiAPI endpoints to perform operations related to WhatsApp newsletters.
- Proper configuration of the API credential in n8n is necessary for successful execution.
Troubleshooting
Common issues:
- Invalid or missing API credentials will cause authentication failures.
- Providing invalid newsletter IDs or invite codes may result in errors from the API.
- Sending media messages requires correctly formatted base64 strings or valid URLs; incorrect formats will cause failures.
- Required parameters must be provided based on the operation; missing required fields will trigger validation errors.
Error messages:
- Errors returned from the API typically include descriptive messages indicating the problem (e.g., "Newsletter not found", "Invalid invite code").
- Network or connectivity issues may cause request timeouts or failures.
Resolution tips:
- Verify that all required input fields are filled correctly.
- Ensure the API key credential is valid and has appropriate permissions.
- Check media encoding and URLs for correctness when sending media messages.
- Review API documentation for correct usage of newsletter IDs and invite codes.
Links and References
- DinastiAPI Documentation (example placeholder link)
- WhatsApp Newsletter concepts: https://faq.whatsapp.com/general/channels/ (for understanding newsletters/channels)