Listmonk icon

Listmonk

Interact with Listmonk API

Actions71

Overview

This node operation allows users to create campaign content by specifying the campaign ID and various content details. It is useful for managing email or marketing campaigns by programmatically adding or updating campaign content such as subject, body, sender information, and scheduling details. For example, a marketing automation workflow can use this node to create or update campaign content dynamically based on user input or external data sources.

Use Case Examples

  1. Creating a new email campaign content with subject, body, and sender details.
  2. Updating an existing campaign's content by its ID with new tags and scheduling information.

Properties

Name Meaning
Id ID of the campaign to create content for, required to identify the campaign.
Created At Timestamp when the campaign content was created.
Updated At Timestamp when the campaign content was last updated.
CampaignID Numeric ID representing the campaign.
Views Number of views the campaign content has received.
Clicks Number of clicks recorded for the campaign content.
Lists JSON array representing lists associated with the campaign content.
Started At Timestamp when the campaign started.
To Send Number of recipients to send the campaign content to.
Sent Number of campaign contents sent.
Uuid Unique identifier string for the campaign content.
Type Type of campaign content, either 'regular' or 'optin'.
Name Name of the campaign content.
Subject Subject line of the campaign content.
From Email Email address from which the campaign content is sent.
Body Main body content of the campaign.
Send At Scheduled time to send the campaign content.
Status Current status of the campaign content.
Content Type Format of the campaign content body, such as richtext, html, markdown, or plain text.
Tags JSON array of tags associated with the campaign content.
Template Id ID of the template used for the campaign content.
Messenger Messenger platform associated with the campaign content.
From Sender name or identifier.
To Recipient address or identifier.

Output

JSON

  • id - ID of the created or updated campaign content
  • created_at - Creation timestamp of the campaign content
  • updated_at - Last update timestamp of the campaign content
  • campaignID - ID of the campaign associated with the content
  • views - Number of views for the campaign content
  • clicks - Number of clicks for the campaign content
  • lists - Lists associated with the campaign content
  • started_at - Start time of the campaign
  • to_send - Number of recipients to send to
  • sent - Number of sent campaign contents
  • uuid - Unique identifier for the campaign content
  • type - Type of campaign content
  • name - Name of the campaign content
  • subject - Subject line of the campaign content
  • from_email - Sender email address
  • body - Body content of the campaign
  • send_at - Scheduled send time
  • status - Status of the campaign content
  • content_type - Format of the content body
  • tags - Tags associated with the campaign content
  • template_id - Template ID used
  • messenger - Messenger platform
  • from - Sender name or identifier
  • to - Recipient address or identifier

Dependencies

  • Requires an API key credential for authentication to the Listmonk API service.

Troubleshooting

  • Ensure the campaign ID provided exists and is valid to avoid errors related to missing campaigns.
  • Check that JSON fields like 'lists' and 'tags' are properly formatted to prevent parsing errors.
  • Verify API credentials and base URL configuration to avoid authentication or connection issues.
  • Timeouts or SSL certificate issues can be resolved by adjusting the request options such as timeout duration or allowing unauthorized certificates.

Links

  • Listmonk API Documentation - Official API documentation for Listmonk, useful for understanding campaign content creation endpoints and parameters.

Discussion