DinastiAPI Newsletter icon

DinastiAPI Newsletter

Manage WhatsApp newsletters/channels using DinastiAPI API

Overview

This node integrates with the DinastiAPI to manage WhatsApp newsletters and channels. It allows users to perform various newsletter-related operations such as listing newsletters, creating new ones, subscribing or unsubscribing (including via invite codes), sending messages, muting notifications, and more.

The "Unsubscribe with Invite" operation specifically enables a user to unsubscribe from a newsletter using an invite code rather than a direct newsletter identifier. This is useful in scenarios where the user has been invited to a newsletter via a code and wants to revoke their subscription without needing the newsletter's full ID.

Practical example:
A marketing team sends out invite codes for a WhatsApp newsletter campaign. A subscriber who received an invite code but no direct newsletter ID can use this node operation to unsubscribe by providing that invite code, simplifying the unsubscription process.

Properties

Name Meaning
Invite Code Newsletter invite code used to identify the subscription to unsubscribe from.

Note: The property is required and expects a string representing the invite code.

Output

The node outputs JSON data representing the response from the DinastiAPI after attempting to unsubscribe using the invite code. The structure depends on the API response but generally includes confirmation of the unsubscription or error details if the operation failed.

No binary data output is involved in this operation.

Dependencies

  • Requires an API key credential for authenticating requests to the DinastiAPI service.
  • The node makes HTTP requests to DinastiAPI endpoints.
  • Proper configuration of the API credential within n8n is necessary for successful execution.

Troubleshooting

  • Common issues:

    • Invalid or expired invite code: The API may return an error if the invite code is incorrect or no longer valid.
    • Network or authentication errors: Failure to connect or authenticate with the DinastiAPI will cause the node to throw errors.
    • Missing required parameters: The invite code must be provided; otherwise, the node will not execute properly.
  • Error messages:

    • Errors returned from the API typically include descriptive messages indicating the problem (e.g., "Invalid invite code").
    • If the node throws an error about missing credentials, ensure the API key is correctly set up in n8n.
    • To handle errors gracefully, enable the "Continue On Fail" option in the node settings to capture error details in the output instead of stopping the workflow.

Links and References

  • DinastiAPI Documentation (hypothetical link for reference)
  • WhatsApp Newsletter Management Concepts (general understanding)

Discussion