Listmonk icon

Listmonk

Interact with Listmonk API

Actions71

Overview

This node operation allows users to delete subscribers from a mailing list system based on a query or specific subscriber IDs. It supports actions such as adding, removing, or unsubscribing users from specified lists, filtered by subscriber status. This is useful for managing subscriber lists dynamically, for example, removing unsubscribed users or cleaning up lists based on custom queries.

Use Case Examples

  1. Remove subscribers who match a certain query from specific mailing lists.
  2. Unsubscribe a batch of users identified by their IDs.
  3. Add subscribers to a list based on their status and query criteria.

Properties

Name Meaning
Query A string query to filter subscribers to be deleted or modified.
Ids JSON array of subscriber IDs to be modified.
Action Specifies whether to add, remove, or unsubscribe the users.
Target List Ids IDs of the mailing lists to be modified.
Status Filter subscribers by their status: confirmed, unconfirmed, or unsubscribed.
Request Options Additional request settings such as batching, SSL handling, proxy, and timeout.

Output

JSON

  • success - Indicates if the delete operation was successful.
  • message - Additional information or status message from the operation.

Dependencies

  • Requires an API key credential for authenticating with the Listmonk API.

Troubleshooting

  • Ensure the API base URL and credentials are correctly configured to avoid authentication errors.
  • Invalid query syntax or malformed JSON in 'Ids' property may cause request failures.
  • Batching settings should be adjusted carefully to avoid rate limiting or timeouts.
  • If SSL issues occur, enabling 'Ignore SSL Issues' may help but should be used cautiously.

Links

Discussion