Listmonk icon

Listmonk

Interact with Listmonk API

Actions71

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

  1. Updating the subject and body of a campaign before sending it out.
  2. Changing the recipient lists or tags associated with a campaign to target a different audience.
  3. 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

Discussion