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 a variety of newsletter-related operations such as subscribing to live updates, sending messages, managing subscriptions, and retrieving newsletter information. The "Subscribe Live Updates" operation specifically enables real-time subscription to updates from a specified newsletter, which is useful for workflows that need to react immediately to new content or changes in a newsletter.

Practical examples:

  • Automatically trigger downstream processes when a newsletter publishes new content.
  • Monitor live updates from a newsletter to aggregate or analyze incoming messages.
  • Integrate newsletter live updates into customer support or marketing automation workflows.

Properties

Name Meaning
Newsletter JID The unique identifier (JID) of the newsletter to subscribe to live updates. Example: 120363025246943103@newsletter

Output

The node outputs JSON data representing the live update events received from the subscribed newsletter. Each output item corresponds to an update event, structured according to the API response from DinastiAPI. This typically includes details about the newsletter message or status update.

The node does not output binary data for this operation.

Dependencies

  • Requires an active connection to the DinastiAPI service.
  • Needs an API authentication credential configured in n8n to authorize requests to DinastiAPI.
  • The node uses HTTP POST requests to the /newsletter/subscribe-live-updates endpoint of the DinastiAPI.

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 correctly set up in n8n credentials.
    • Network connectivity problems: Confirm that n8n can reach the DinastiAPI endpoints without firewall or proxy issues.
  • Error messages:

    • "error": "Invalid Newsletter JID": Check the Newsletter JID input for typos or incorrect format.
    • "error": "Unauthorized": Recheck API credentials and permissions.
    • Timeout or connection refused errors: Investigate network settings and API availability.

Links and References

Discussion