Actions32
- Campaign Actions
- List Actions
- Media Actions
- Setting Actions
- Subscriber Actions
- Template Actions
- Transaction Actions
Campaign → Update
AI-generatedOverview
The node integrates with a listmonk instance, a platform for email marketing and newsletter management. Specifically, the Campaign - Update operation allows users to update an existing campaign by specifying its ID and providing new campaign data in JSON format. This is useful for modifying campaign details such as content, scheduling, or settings after creation but before sending.
Practical examples include:
- Changing the subject line or body of an email campaign.
- Updating the recipient list or segmentation criteria.
- Adjusting campaign scheduling or other metadata.
Properties
| Name | Meaning |
|---|---|
| ID | The unique identifier of the campaign to update. Must be a valid number. |
| Json Body | The JSON object containing the fields and values to update in the campaign. |
Output
The node outputs JSON data representing the updated campaign object as returned by the listmonk API. This typically includes all campaign properties such as ID, name, status, content, scheduling info, and statistics if applicable.
If the node supports binary data output (not indicated here), it would represent attachments or media related to campaigns, but this operation focuses on JSON data only.
Dependencies
- Requires connection to a listmonk instance via its REST API.
- Needs credentials including domain URL, username, and password for basic authentication.
- The base URL is constructed from the provided domain credential.
- The node sends requests with
Content-Type: application/jsonand expects JSON responses.
Troubleshooting
- Invalid ID error: Ensure the campaign ID is a valid number and corresponds to an existing campaign.
- Authentication failures: Verify that the API credentials (domain, username, password) are correct and have sufficient permissions.
- Malformed JSON body: The JSON provided must be valid and conform to the expected schema for campaign updates; otherwise, the API will reject the request.
- Network issues: Confirm that the listmonk instance is reachable from n8n and no firewall or network restrictions block the API calls.
Links and References
- listmonk Official Documentation – For detailed API reference and campaign update schema.
- listmonk GitHub Repository – Source code and issue tracker for listmonk.