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 allows users to create email templates in the Listmonk system. It supports creating different types of templates such as campaign, campaign visual, and transactional (tx) templates. Users can specify the template's name, type, subject (for transactional templates), body source (for campaign visual templates), and HTML body content. This node is useful for automating the management of email templates in marketing or transactional email workflows.
Use Case Examples
- Creating a campaign email template with a specific HTML body to be used in marketing campaigns.
- Creating a transactional email template with a subject line and HTML body for automated transactional emails.
- Creating a campaign visual template by providing a JSON source for the email builder along with the HTML body.
Properties
| Name | Meaning |
|---|---|
| Name | Name of the template, used to identify the template in the system. |
| Type | Type of the template, which can be 'campaign', 'campaign_visual', or 'tx' (transactional). This determines the template's usage and required fields. |
| Subject | Subject line for the template, applicable only for transactional (tx) templates. |
| Body Source | JSON source for the email-builder template, applicable only for campaign visual templates. |
| Body | HTML body content of the template, defining the email's main content. |
| Request Options | Additional request options such as batching, SSL certificate validation, proxy settings, and timeout configuration to control how the API request is made. |
Output
JSON
id- Unique identifier of the created template.name- Name of the created template.type- Type of the created template.subject- Subject line of the template, if applicable.body_source- JSON source of the email-builder template, if applicable.body- HTML body content of the created template.created_at- Timestamp when the template was created.
Dependencies
- Requires an API key credential for authenticating with the Listmonk API.
Troubleshooting
- Ensure that the API base URL and credentials are correctly configured to avoid authentication errors.
- If creating a campaign visual template, ensure the 'body_source' JSON is correctly formatted to prevent validation errors.
- For transactional templates, the 'subject' field must be provided; otherwise, the API may reject the request.
- Network issues or proxy misconfiguration can cause request failures; verify proxy settings if used.
- Timeout settings should be adjusted based on network conditions to avoid premature request abortion.
Links
- Listmonk API Documentation - Create Template - Official API documentation for creating templates in Listmonk.