Actions71
- Settings Actions
- Subscribers Actions
- Create Subscriber
- Manage Subscriber Lists By Query
- Get Subscribers
- Delete Subscriber By List
- Get Subscriber By Id
- Update Subscriber By Id
- Delete Subscriber By Id
- Manage Subscriber Lists
- Manage Subscriber List By Id
- Manage Blocklist By Subscriber List
- Manage Blocklist Subscribers By Id
- Export Subscriber Data By ID
- Get Subscriber Bounces By Id
- Delete Subscriber Bounces By Id
- Subscriber Send Optin By Id
- Delete Subscriber By Query
- Blocklist Subscribers Query
- Bounces Actions
- Import Actions
- Campaigns Actions
- Update Preview Campaign By Id
- Get Campaigns
- Create Campaign
- Get Campaign By Id
- Update Campaign By Id
- Delete Campaign By Id
- Get Running Campaign Stats
- Get Campaign Analytics
- Preview Campaign By Id
- Preview Campaign Text By Id
- Update Campaign Status By Id
- Update Campaign Archive By Id
- Create Campaign Content By Id
- Test Campaign By Id
- Media Actions
- Templates Actions
- Public Actions
- Miscellaneous Actions
- Admin Actions
- Logs Actions
- Lists Actions
- Transactional Actions
- Maintenance Actions
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
- Deleting an email template by its ID to prevent it from being used in future campaigns.
- 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
- Listmonk API Documentation - Delete Template - Official API documentation for deleting a template by ID in Listmonk.