DinastiAPI Newsletter icon

DinastiAPI Newsletter

Manage WhatsApp newsletters/channels using DinastiAPI API

Overview

This node integrates with the DinastiAPI to manage WhatsApp newsletters (channels). It allows users to perform various newsletter-related operations such as muting or unmuting newsletter notifications, subscribing or unsubscribing from newsletters, sending messages or reactions to newsletters, retrieving newsletter information and messages, and managing newsletter invites.

The Mute Newsletter operation specifically enables users to mute or unmute notifications from a particular newsletter. This is useful when you want to temporarily silence updates from a newsletter without unsubscribing from it.

Practical example:
If you subscribe to multiple WhatsApp newsletters but want to avoid notification overload during work hours, you can use this node's Mute Newsletter operation to mute notifications for selected newsletters and unmute them later as needed.

Properties

Name Meaning
Newsletter JID The unique identifier (JID) of the newsletter to operate on. Example: 120363025246943103@newsletter
Mute Boolean flag indicating whether to mute (true) or unmute (false) the newsletter notifications

Output

The node outputs JSON data representing the response from the DinastiAPI after performing the mute/unmute action. The exact structure depends on the API response but typically includes confirmation of the mute status change or any error details.

No binary data output is involved in this operation.

Dependencies

  • Requires an active connection to the DinastiAPI service.
  • Requires an API authentication credential configured in n8n to authorize requests to DinastiAPI.
  • The node uses HTTP requests internally to communicate with the DinastiAPI endpoints.

Troubleshooting

  • Common issues:

    • Invalid or missing Newsletter JID: Ensure the newsletter JID is correctly specified and corresponds to an existing newsletter.
    • Authentication errors: Verify that the API key or authentication token is valid and has sufficient permissions.
    • Network connectivity problems: Check internet access and API endpoint availability.
  • Error messages:

    • Errors returned by the API will be included in the node output if "Continue On Fail" is enabled.
    • Typical errors include invalid parameters, unauthorized access, or server errors.
    • To resolve, verify input parameters, credentials, and retry the request.

Links and References

  • DinastiAPI Documentation (hypothetical link for reference)
  • WhatsApp Newsletter concepts: Using channels/newsletters to broadcast messages to subscribers efficiently.

Discussion