Listmonk icon

Listmonk

Interact with a listmonk instance for email marketing and newsletter management. Supports creating subscribers, managing campaigns, sending emails, and more.

List → Delete List

AI-generated

Overview

The node integrates with a Listmonk instance, a self-hosted newsletter and email marketing platform. It allows users to manage mailing lists, subscribers, campaigns, media, templates, and transactions programmatically within n8n workflows.

Specifically, the Delete List operation under the List resource enables users to delete an existing mailing list by specifying its unique ID. This is useful for cleaning up unused or obsolete mailing lists directly from automation workflows without manual intervention in the Listmonk UI.

Practical examples:

  • Automatically remove mailing lists that are no longer needed after a campaign ends.
  • Clean up test or temporary lists created during development or testing phases.
  • Integrate list deletion as part of a larger workflow that manages subscriber lifecycle or campaign management.

Properties

Name Meaning
ID The unique identifier of the mailing list to delete. Must be a valid number.

Output

The node outputs JSON data representing the result of the delete operation. Typically, this will include confirmation of successful deletion or error details if the operation failed.

No binary data output is expected for this operation.

Dependencies

  • Requires connection to a Listmonk instance via API.
  • Needs credentials including domain URL, username, and password for basic authentication.
  • The base URL for API requests is constructed from the provided domain credential.
  • The node expects the Listmonk API to be accessible and properly configured to accept authenticated requests.

Troubleshooting

  • Invalid ID error: Ensure the ID provided is a valid number corresponding to an existing list in Listmonk.
  • Authentication failures: Verify that the API credentials (domain, username, password) are correct and have sufficient permissions.
  • Network errors: Confirm that the Listmonk server is reachable from the n8n environment.
  • API errors: If the list does not exist or has already been deleted, the API may return an error; handle such cases gracefully in your workflow.

Links and References

Discussion