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 updates an existing campaign in the Listmonk system by its unique identifier. It allows users to modify various campaign attributes such as name, subject, body content, recipient lists, sender email, content type, messenger, campaign type, tags, and scheduling options. This is useful for managing and refining email or messaging campaigns dynamically within an automation workflow, for example, updating campaign details before sending or rescheduling a campaign.
Use Case Examples
- Updating the subject and body of a campaign before sending it out.
- Changing the recipient lists or tags associated with a campaign to target a different audience.
- Scheduling a campaign to be sent at a later time by setting the send_later and send_at properties.
Properties
| Name | Meaning |
|---|---|
| Id | The unique identifier of the campaign to update. This is required to specify which campaign to modify. |
| Name | The new name for the campaign. |
| Subject | The subject line of the campaign message. |
| Body | The main content body of the campaign message. |
| Body Source | The source format or origin of the body content. |
| Lists | The recipient lists to which the campaign will be sent, provided as a JSON array. |
| From Email | The sender's email address for the campaign. |
| Content Type | The content type of the campaign message, e.g., text or HTML. |
| Messenger | The messenger platform or channel used for the campaign. |
| Type | The type or category of the campaign. |
| Tags | Tags associated with the campaign for categorization or filtering, provided as a JSON array. |
| Send Later | Boolean flag indicating whether the campaign should be sent later (scheduled) or immediately. |
| Send At | The scheduled date and time for sending the campaign, provided as a JSON object. |
| Request Options | Additional request options such as batching, SSL certificate validation, proxy settings, and timeout configuration to control the HTTP request behavior. |
Output
JSON
id- The unique identifier of the updated campaign.name- The updated name of the campaign.subject- The updated subject of the campaign.body- The updated body content of the campaign.body_source- The updated source format or origin of the body content.lists- The updated recipient lists for the campaign.from_email- The updated sender email address.content_type- The updated content type of the campaign message.messenger- The updated messenger platform or channel.type- The updated type or category of the campaign.tags- The updated tags associated with the campaign.send_later- Indicates if the campaign is scheduled to be sent later.send_at- The scheduled date and time for sending the campaign.
Dependencies
- An API key credential for authenticating with the Listmonk API
Troubleshooting
- Ensure the campaign Id provided exists; otherwise, the update will fail with a not found error.
- Validate JSON input for 'lists', 'tags', and 'send_at' fields to avoid parsing errors.
- Check API credentials and base URL configuration to prevent authentication or connection errors.
- If SSL issues occur, consider enabling the 'Ignore SSL Issues' option, but be aware of security risks.
- Timeouts can be adjusted in request options if the server response is slow.
Links
- Listmonk API Documentation - Update Campaign - Official API documentation for updating campaigns in Listmonk.