Shopware icon

Shopware

Shopware

Actions778

Mail Operations → Send

AI-generated

Overview

This node sends emails using the Shopware platform's mail operations. It is useful for automating email communications such as marketing campaigns, notifications, or transactional emails directly from a workflow. For example, it can send personalized emails to multiple recipients with HTML and plain text content, attachments, and custom sender information.

Use Case Examples

  1. Sending a promotional email to a list of customers with HTML content and attachments.
  2. Sending a notification email from a specific sales channel with custom sender name and reply-to addresses.

Properties

Name Meaning
Recipients A list of recipients with name and mail address to whom the email will be sent.
Sales Channel Id Identifier of the sales channel from which the mail should be sent.
Content Html The content of the mail in HTML format.
Content Plain The content of the mail as plain text.
Subject Subject of the mail.
Sender Name Name of the sender.
Sender Email Mail address of the sender. If not set, default shop configuration emails will be used.
Media Ids List of media identifiers which should be attached to the mail.
Bin Attachments A list of binary attachments which should be added to the mail.
Recipients Bcc A list of recipients with name and mail address to be set in BCC.
Recipients Cc A list of recipients with name and mail address to be set in CC.
Reply To A list of mail addresses with name and mail address to be set in reply to.
Return Path A list of mail addresses with name and mail address to be set in return path.
Request Options Settings for request behavior such as batching, SSL validation, proxy, and timeout.

Output

JSON

  • success - Indicates if the email sending operation was successful.
  • messageId - Identifier of the sent message, useful for tracking.
  • error - Error details if the email sending failed.

Dependencies

  • Shopware platform API with appropriate credentials for authentication.

Troubleshooting

  • Ensure the sales channel ID is valid and has permission to send emails.
  • Verify that recipient email addresses are correctly formatted and not empty.
  • Check that the sender email is set or defaults are properly configured in the shop settings.
  • If attachments are used, confirm that media IDs or binary attachments are correctly provided and accessible.
  • Network issues or SSL certificate problems can cause request failures; use the request options to adjust timeout, proxy, or SSL validation settings.

Discussion