Listmonk icon

Listmonk

Interact with Listmonk API

Actions71

Overview

This node operation deletes a template by its ID from the Listmonk API. It is useful for managing and cleaning up templates that are no longer needed in your Listmonk instance. For example, if you have outdated email templates or want to remove test templates, this operation allows you to delete them programmatically within an n8n workflow.

Use Case Examples

  1. Deleting an email template by its ID to prevent it from being used in future campaigns.
  2. Automating template cleanup by deleting templates that meet certain criteria.

Properties

Name Meaning
Id The ID value of the template you want to delete.
Request Options Additional options to customize the HTTP request such as batching, SSL certificate validation, proxy settings, and timeout duration.

Output

JSON

  • success - Indicates whether the template deletion was successful.
  • message - Additional information or confirmation message about the deletion operation.

Dependencies

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

Troubleshooting

  • Ensure the template ID provided exists; otherwise, the API will return an error indicating the template was not found.
  • Check network connectivity and proxy settings if requests fail to reach the Listmonk server.
  • If SSL certificate validation fails, consider enabling the option to ignore SSL issues, but be aware of the security implications.
  • Timeout errors may occur if the server is slow to respond; increase the timeout setting if necessary.

Links

Discussion