Actions778
- Acl Role Actions
- App Actions
- App Action Button Actions
- App Administration Snippet Actions
- App Cms Block Actions
- App Flow Action Actions
- App Flow Event Actions
- App Payment Method Actions
- App Script Condition Actions
- App Shipping Method Actions
- App Template Actions
- Category Actions
- Cms Block Actions
- Cms Page Actions
- Cms Section Actions
- Cms Slot Actions
- Country Actions
- Country State Actions
- Currency Actions
- Currency Country Rounding Actions
- Custom Entity Actions
- Custom Field Actions
- Custom Field Set Actions
- Custom Field Set Relation Actions
- Customer Actions
- Customer Address Actions
- Customer Group Actions
- Customer Recovery Actions
- Customer Wishlist Actions
- Customer Wishlist Product Actions
- Delivery Time Actions
- Document Actions
- Document Base Config Actions
- Document Base Config Sales Channel Actions
- Document Type Actions
- Flow Actions
- Flow Sequence Actions
- Flow Template Actions
- Import Export File Actions
- Import Export Log Actions
- Import Export Profile Actions
- Integration Actions
- Landing Page Actions
- Language Actions
- Locale Actions
- Log Entry Actions
- Mail Header Footer Actions
- Mail Template Actions
- Mail Template Type Actions
- Main Category Actions
- Media Actions
- Media Default Folder Actions
- Media Folder Actions
- Media Folder Configuration Actions
- Media Thumbnail Actions
- Media Thumbnail Size Actions
- Newsletter Recipient Actions
- Notification Actions
- Number Range Actions
- Number Range Sales Channel Actions
- Number Range State Actions
- Number Range Type Actions
- Order Actions
- Order Customer Actions
- Order Delivery Actions
- Order Delivery Position Actions
- Order Line Item Actions
- Order Line Item Download Actions
- Order Transaction Actions
- Order Transaction Capture Actions
- Order Transaction Capture Refund Actions
- Order Transaction Capture Refund Position Actions
- Payment Method Actions
- Plugin Actions
- Product Actions
- Product Configurator Setting Actions
- Product Cross Selling Actions
- Product Cross Selling Assigned Products Actions
- Product Download Actions
- Product Export Actions
- Product Feature Set Actions
- Product Keyword Dictionary Actions
- Product Manufacturer Actions
- Product Media Actions
- Product Price Actions
- Product Review Actions
- Product Search Config Actions
- Product Search Config Field Actions
- Product Search Keyword Actions
- Product Sorting Actions
- Product Stream Actions
- Product Stream Filter Actions
- Product Visibility Actions
- Promotion Actions
- Promotion Discount Actions
- Promotion Discount Prices Actions
- Promotion Individual Code Actions
- Promotion Sales Channel Actions
- Promotion Setgroup Actions
- Property Group Actions
- Property Group Option Actions
- Rule Actions
- Rule Condition Actions
- Sales Channel Actions
- Sales Channel Analytics Actions
- Sales Channel Domain Actions
- Sales Channel Type Actions
- Salutation Actions
- Scheduled Task Actions
- State Machine Transition Actions
- System Config Actions
- Tag Actions
- Tax Actions
- Tax Provider Actions
- Tax Rule Actions
- Tax Rule Type Actions
- Theme Actions
- Unit Actions
- User Actions
- User Access Key Actions
- User Config Actions
- User Recovery Actions
- Webhook Actions
- Webhook Event Log Actions
- System Info Health Check Actions
- Bulk Operations Actions
- Document Management Actions
- Asset Management Actions
- Mail Operations Actions
- System Operations Actions
- Customer Impersonation Actions
- Order Management Actions
- Order Address Actions
- Authorization Authentication Actions
Mail Template → Create Mail Template
AI-generatedOverview
This node operation allows users to create a new Mail Template in the Shopware system. It is useful for automating the creation of email templates that can be used for various communication purposes such as marketing campaigns, notifications, or transactional emails. Users can specify details like the template's ID, type, subject, content in HTML and plain text, sender name, description, and other metadata.
Use Case Examples
- Creating a new promotional email template with custom HTML content and subject line.
- Automating the creation of system notification email templates with predefined sender names and descriptions.
Properties
| Name | Meaning |
|---|---|
| Response | Specifies the data format for the response, either basic or detailed. |
| Id | Unique identifier for the mail template. |
| Mail Template Type Id | Identifier for the type of mail template. |
| System Default | Boolean flag indicating if the template is a system default. |
| Sender Name | Name of the sender displayed in the email. |
| Description | Description of the mail template. |
| Subject | Subject line of the email. |
| Content Html | HTML content of the email. |
| Content Plain | Plain text content of the email. |
| Custom Fields | Custom fields in JSON format for additional data. |
| Created At | Timestamp for when the template was created. |
| Updated At | Timestamp for when the template was last updated. |
| Translated | Translated content in JSON format. |
| Mail Template Type | Detailed JSON object representing the mail template type and related nested data. |
| Media | JSON array representing media associated with the mail template. |
| Request Options | Node execution options such as batching, SSL handling, proxy, and timeout settings. |
Output
JSON
id- Unique identifier of the created mail template.mailTemplateTypeId- Identifier of the mail template type.systemDefault- Indicates if the mail template is a system default.senderName- Name of the sender in the mail template.description- Description of the mail template.subject- Subject line of the mail template.contentHtml- HTML content of the mail template.contentPlain- Plain text content of the mail template.customFields- Custom fields associated with the mail template.createdAt- Creation timestamp of the mail template.updatedAt- Last update timestamp of the mail template.translated- Translated content of the mail template.mailTemplateType- Detailed mail template type object with nested related data.media- Media objects associated with the mail template.
Troubleshooting
- Ensure all required fields (Id, Mail Template Type Id, Subject, Content Html, Content Plain) are provided to avoid validation errors.
- Verify JSON format correctness for fields like Custom Fields, Translated, Mail Template Type, and Media to prevent parsing errors.
- Check API credentials and endpoint URL configuration to ensure successful connection to the Shopware system.