Breadcrumbs

Email - Send Mass Message

Overview

Send a number of emails to anyone in the world with nothing but a template and inputs.

To have your template populated with inputs, include {{INPUTNAME}} in the template. Then, in your CSV, ensure there is a column with the same INPUTNAME. Then, for each email, {{INPUT_NAME}} will be populated with the cooresponding value in the CSV.

Note: Every CSV must include an "email" column (the email to send to) and a "subject" column.

Note: This Task cannot be used to access a local file from your computer.

Recommended Setup:

  1. A Task built with this Template should typically run after a Task that either downloads a file to Workflows or generates a file with code for both the template TXT file and inputs CSV file.

Variables

Name

Reference

Type

Required

Default

Options

Description

Template Inputs File Name

INPUTS_FILE_NAME

Alphanumeric

-

-

The name of a CSV file containing the inputs for your mass email. Include columns named INPUT_NAME for each input you would like inserted into the template (e.g. recipient name). Additionally, this CSV must have a columns "recipient_address" and "subject" corresponding to the recipient email address and email subject respectively. You can also optionally include columns "cc" and "bcc" consisting of email addresses to CC and BCC on each email.

Email Template

TEMPLATE

Alphanumeric

-

-

The name of a text file containing the template for your mass email. Include "{{INPUT_NAME}}" where you would like the inputs to be inserted.

Sender Name

EMAIL_SENDER_NAME

Alphanumeric

-

-

The name you want users to see that the email is from. If left blank, the Sender Address will be used.

Include Workflows Footer?

EMAIL_INCLUDE_WORKFLOWS_FOOTER

Boolean

TRUE

-

Determines if a footer should be sent with the email that links back to the originating Task or Workflow.

YAML

Below is the YAML template

YAML

source:
  template: Email - Send Mass Message
  inputs:
    INPUTS_FILE_NAME:
    TEMPLATE:
    EMAIL_SENDER_NAME:
    EMAIL_INCLUDE_WORKFLOWS_FOOTER: 'TRUE'
  type: TEMPLATE
guardrails:
  retry_count: 1
  retry_wait: 0h0m0s
  runtime_cutoff: 1h0m0s
  exclude_exit_code_ranges:
    - 102
    - 104
    - 200
    - 201
    - 203