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 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
- Creating a new email campaign content with subject, body, and sender details.
- 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 contentcreated_at- Creation timestamp of the campaign contentupdated_at- Last update timestamp of the campaign contentcampaignID- ID of the campaign associated with the contentviews- Number of views for the campaign contentclicks- Number of clicks for the campaign contentlists- Lists associated with the campaign contentstarted_at- Start time of the campaignto_send- Number of recipients to send tosent- Number of sent campaign contentsuuid- Unique identifier for the campaign contenttype- Type of campaign contentname- Name of the campaign contentsubject- Subject line of the campaign contentfrom_email- Sender email addressbody- Body content of the campaignsend_at- Scheduled send timestatus- Status of the campaign contentcontent_type- Format of the content bodytags- Tags associated with the campaign contenttemplate_id- Template ID usedmessenger- Messenger platformfrom- Sender name or identifierto- 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.