DinastiAPI Newsletter icon

DinastiAPI Newsletter

Manage WhatsApp newsletters/channels using DinastiAPI API

Overview

The "Mark Newsletter Viewed" operation in the DinastiAPI Newsletter node allows users to mark specific newsletter messages as viewed. This is useful for managing read/unread states of messages within WhatsApp newsletters or channels managed via the DinastiAPI service. For example, after processing or displaying certain newsletter messages, a user can mark them as viewed to keep track of which messages have been acknowledged.

Properties

Name Meaning
Newsletter JID The unique identifier (JID) of the newsletter whose messages are being marked as viewed.
Server IDs A comma-separated list of server message IDs that should be marked as viewed.

Output

The node outputs JSON data representing the response from the DinastiAPI endpoint after marking the specified newsletter messages as viewed. The exact structure depends on the API response but generally confirms success or failure of the operation. There is no binary output for this operation.

Dependencies

  • Requires an active connection to the DinastiAPI service.
  • Requires an API key credential configured in n8n for authenticating requests to DinastiAPI.
  • The node uses the DinastiAPI REST endpoints to perform operations.

Troubleshooting

  • Common issues:
    • Invalid or missing Newsletter JID: Ensure the newsletter JID is correctly provided and corresponds to an existing newsletter.
    • Incorrect Server IDs format: Server IDs must be provided as a comma-separated string of numeric IDs; invalid formatting may cause errors.
    • Authentication failures: Verify that the API key credential is valid and has necessary permissions.
  • Error messages:
    • Errors returned by the API will be included in the node output if "Continue On Fail" is enabled.
    • Typical error messages might include "Newsletter not found," "Invalid server IDs," or authentication errors.
  • Resolution:
    • Double-check input parameters for correctness.
    • Confirm API credentials and network connectivity.
    • Use the node's error output to diagnose specific API response errors.

Links and References

Discussion