DinastiAPI Newsletter icon

DinastiAPI Newsletter

Manage WhatsApp newsletters/channels using DinastiAPI API

Overview

This node integrates with the DinastiAPI to manage WhatsApp newsletters (also called channels). It allows users to perform various newsletter-related operations such as subscribing, unsubscribing, sending messages, retrieving information, and managing notifications. This is useful for automating interactions with WhatsApp newsletters, enabling workflows like broadcasting updates, managing subscriptions, or reacting to newsletter content programmatically.

For example, you can use this node to unsubscribe a user from a specific newsletter automatically when they request it, or to mute notifications from a newsletter during certain hours.

Properties

Name Meaning
Newsletter JID The unique identifier (JID) of the newsletter to operate on. Example: 120363025246943103@newsletter

Output

The node outputs JSON data representing the response from the DinastiAPI for the unsubscribe operation. The exact structure depends on the API's response but typically includes confirmation of the unsubscription status or error details if the operation failed.

No binary data output is produced by 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 methods (GET or POST) to communicate with the DinastiAPI endpoints.

Troubleshooting

  • Common issues:

    • Invalid or missing Newsletter JID: Ensure the Newsletter JID is correctly provided 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 network access to the DinastiAPI endpoint.
  • Error messages:

    • Errors returned from the API will be included in the node output if "Continue On Fail" is enabled.
    • Typical errors might include "Newsletter not found" or "Unauthorized access," which require checking the input parameters and credentials.

Links and References


This summary focuses specifically on the "Unsubscribe Newsletter" operation of the DinastiAPI Newsletter node.

Discussion