Listmonk icon

Listmonk

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

Template → Delete Template by ID

AI-generated

Overview

This node integrates with a Listmonk instance, an email marketing and newsletter management platform. Specifically, the "Delete Template by ID" operation allows users to remove an existing email template from their Listmonk account by specifying its unique identifier. This is useful for maintaining a clean set of templates, removing outdated or unused designs, and managing content lifecycle efficiently.

Practical examples include:

  • Automatically deleting obsolete email templates as part of a campaign cleanup workflow.
  • Removing test templates after validation to keep the template list organized.
  • Managing templates programmatically in bulk via automation.

Properties

Name Meaning
ID The unique numeric identifier of the template to delete. Must be a valid number corresponding to an existing template in Listmonk.

Output

The output JSON typically contains the response from the Listmonk API confirming the deletion status of the specified template. It may include success confirmation or error details if the deletion failed (e.g., template not found).

No binary data output is expected for this operation.

Dependencies

  • Requires connection to a Listmonk instance with proper API credentials (username and password).
  • The node expects the base URL of the Listmonk API to be configured in the credentials.
  • Authentication is done via basic auth using the provided username and password.
  • The node depends on the Listmonk REST API being accessible and operational.

Troubleshooting

  • Invalid ID: If the provided template ID does not exist or is invalid, the API will return an error. Ensure the ID is correct and corresponds to an existing template.
  • Authentication errors: Incorrect API credentials will cause authentication failures. Verify the username, password, and domain URL are correctly set in the credentials.
  • Network issues: Connectivity problems to the Listmonk server will prevent the operation from completing. Check network access and API endpoint availability.
  • Permission issues: The authenticated user must have sufficient permissions to delete templates. Lack of permissions will result in authorization errors.

Links and References

Discussion