Shopware icon

Shopware

Shopware

Actions778

Mail Template → Get Mail Template

AI-generated

Overview

This node operation retrieves a specific mail template by its identifier from the Shopware system. It is useful in scenarios where you need to fetch the details of an existing mail template for viewing, editing, or processing within an automation workflow. For example, you might use this to get the content and metadata of a mail template to customize email notifications dynamically.

Use Case Examples

  1. Fetch a mail template by its ID to display its content in a dashboard.
  2. Retrieve a mail template to modify or use its data in subsequent workflow steps.

Properties

Name Meaning
Id Identifier for the mail_template, used to specify which mail template to retrieve.
Request Options Additional options to control the request behavior such as batching, SSL certificate validation, proxy settings, and timeout duration.

Output

JSON

  • id - The unique identifier of the retrieved mail template.
  • name - The name of the mail template.
  • description - Description or details about the mail template.
  • content - The actual content or body of the mail template.
  • createdAt - Timestamp when the mail template was created.
  • updatedAt - Timestamp when the mail template was last updated.

Dependencies

  • Requires Shopware API credentials for authentication and access.

Troubleshooting

  • Ensure the 'Id' property is correctly set to a valid mail template identifier; otherwise, the request will fail.
  • If SSL certificate validation fails and the 'Ignore SSL Issues' option is not enabled, the request may be blocked.
  • Proxy settings must be correctly configured if used, including authentication details if required.
  • Timeouts can occur if the server is slow to respond; adjust the 'Timeout' setting accordingly.

Discussion