Listmonk icon

Listmonk

Interact with a listmonk instance

Overview

This node integrates with a list management system called Listmonk, allowing users to manage subscribers and other related resources. Specifically, the "Delete Subscriber by ID" operation enables the removal of a subscriber from the system using their unique identifier. This is useful in scenarios where you need to clean up your mailing lists by removing inactive or unsubscribed users, or when automating subscriber lifecycle management.

Practical examples include:

  • Automatically deleting a subscriber after they request account deletion.
  • Removing test or invalid email addresses from your subscriber database.
  • Cleaning up subscribers who have bounced multiple emails.

Properties

Name Meaning
ID The unique identifier of the subscriber to delete. This is a required string input that specifies which subscriber will be removed from the list.

Output

The node outputs JSON data representing the result of the delete operation. Typically, this will confirm whether the subscriber was successfully deleted or provide an error message if the operation failed. There is no indication that binary data is output by this operation.

Dependencies

  • Requires connection to a Listmonk instance via its API.
  • Needs credentials including domain URL, username, and password for authentication.
  • The base URL for API requests is constructed from the provided domain credential.
  • The node uses HTTP Basic Authentication with the supplied username and password.

Troubleshooting

  • Invalid ID: If the provided subscriber ID does not exist, the node may return an error indicating the subscriber was not found. Verify the ID before attempting deletion.
  • Authentication errors: Incorrect credentials or domain URL can cause authentication failures. Ensure the API credentials are correct and the domain URL is properly formatted without trailing slashes.
  • Network issues: Connectivity problems to the Listmonk server will prevent the operation from completing. Check network access and firewall settings.
  • Permission issues: The authenticated user must have sufficient permissions to delete subscribers; otherwise, the API will reject the request.

Links and References

Discussion