Email

The email service allows you to easily send emails from a workflow without any special configuration or setup.

Tasks

send

Definition

KeyTypeDescription
type"task"
service"email"Select the email service
taskKey"send"Task needed to send an email.
inputssendInputsInputs required to send an email
Send inputs

These inputs are pre-defined Inputs. All types of Inputs are accepted including References.

KeyTypeDescription
toStringThe recipient of the email.
subjectStringThe subject of the email.
textStringThe text of the email.

Example

workflow.yml
name: my-workflow
steps:
  ...
  - type: task
    service: email
    taskKey: send
    inputs:
      to: email@domain.com
      subject: my super subject
      text: content of my email
  - ...

Outputs

The result of the task returns the following information about the data.

keyTypeDescription
toStringThe address that received the email.