Actions32
- Campaign Actions
- List Actions
- Media Actions
- Setting Actions
- Subscriber Actions
- Template Actions
- Transaction Actions
Overview
The node provides integration with a list management and email marketing platform called Listmonk. Specifically, the Campaign - Delete operation allows users to delete an existing campaign by specifying its unique ID. This is useful for managing campaigns programmatically, such as cleaning up outdated or test campaigns, or automating campaign lifecycle management.
Practical examples include:
- Automatically deleting campaigns that have expired or are no longer relevant.
- Removing test campaigns created during development or QA processes.
- Integrating campaign deletion into broader automation workflows for list and campaign management.
Properties
| Name | Meaning |
|---|---|
| ID | The unique identifier of the campaign to be deleted. This is a required string property. |
Output
The output JSON typically contains the response from the API confirming the deletion status of the specified campaign. It may include success confirmation or error details if the deletion failed. There is no indication that binary data is returned by this operation.
Dependencies
- Requires connection to a Listmonk instance via its API.
- Needs credentials including domain URL, username, and password for basic authentication.
- The node expects these credentials to be configured in n8n under a generic API key credential setup (username/password based).
Troubleshooting
- Invalid or missing ID: If the provided campaign ID does not exist or is empty, the API will likely return an error indicating the campaign was not found. Ensure the ID is correct and corresponds to an existing campaign.
- Authentication errors: Incorrect or missing credentials will cause authentication failures. Verify the API credentials and domain URL are correctly set.
- Network issues: Connectivity problems to the Listmonk server can cause request failures. Check network access and firewall settings.
- Permission issues: The authenticated user must have sufficient permissions to delete campaigns. Lack of permissions will result in authorization errors.
Links and References
- Listmonk Official Documentation – For detailed API reference and usage guidelines.
- Listmonk GitHub Repository – Source code and issue tracking for the Listmonk project.