How Send Marketing Email Works

Send personalized marketing emails to your users with rich content and tracking. Marketing emails automatically respect user preferences and opt-out settings.

Configuration

Inputs

Send to
string
required
The Flywheel ID of the user who will receive the email. References a specific user in your system.
Content
object
required
The email content created using the built-in email editor. Supports rich formatting, images, links, and dynamic variables.
CC Emails
string[]
Additional CC recipients for team notifications and compliance. Supports multiple email addresses.
BCC Emails
string[]
Additional BCC recipients for blind copy notifications. Useful for internal tracking and compliance.
Complete on Send Failure
boolean
default:"false"
Stop the workflow if the email fails to send for any reason. When enabled, email send failures will halt the entire workflow.

Outputs

status
enum
required
The status of the email send operation. Can be success, failure, or skipped.
to_id
string
required
The ID of the user that the email was sent to.
sender_config_id
string
required
The ID of the sender configuration used for the email.
email_id
string
The ID of the email that was sent (available on success).
create_email_options
object
The options used when creating the email (available on success).
create_email_response
object
The response from the email creation service (available on success).
code
enum
The code indicating why the email send operation failed or was skipped. Can be resend_error, duplicate_email, or user_marketing_email_opt_out.
error_message
string
The message of the error that occurred (available on failure).