Send Email via SendGrid

Use this step to send an email to a selected number of users using the Twilio SendGrid service

Last published at: March 3rd, 2025

TwilioSendGrid Step

Description:

This step sends an email to a selected number of users using the Twilio SendGrid service.

 

Inputs

  • replyTo – reply to email address
  • fromEmail – from email address
  • emailTo – select users to send emails to
  • emailAddresses – external email addresses
  • subject – subject of the email
  • body – body of the email
  • cc – carbon copy list of email addresses
  • bcc – blink carbon copy list of email addresses
  • fileList – list of file attachments 
 

 

Returns

  • True – email sent successfully
  • False – failed to send the email 
 

 

Usage:

 

 

Configure the Twilio SendGrid API key information under the FlowWright configuration settings. For more info, visit the site: https://www.twilio.com/

 

Example:

Let’s build and execute the “TwilioSendGridDef” example.          

  • Create a new definition called “ TwilioSendGridDef” and open the definition in designer mode. 
  • Drag a “TwilioSendGrid” step to the canvas.
  • Connect the dots between the “Start” and “TwilioSendGrid” steps, as shown above. 
  • Click the "TwilioSendGrid" step to configure its "Required" properties. Provide a name for the step. Click the Save button. Note: Click the "AI Predict" button for the Copilot to add new process steps that match your process description. 

 

  • Click the "TwilioSendGrid" step to configure its "Optional" properties. Provide a “Reply” email address. Provide the “From” email address. Select email users from the list. Provide a list of external email addresses (semi-colon separated). Provide email subject message. Provide email content. Provide an email CC address list (semicolon-separated). Provide email BCC address list. Configure file attachments for this email. Click the Save button. 

 

  • Click "Email to users" and select the users to send mail to, or provide a variable reference containing the user's GUID value. 

 

  • Click the Body of the email message and use the existing templates or create a customer template as the email body content.

 

  • Click the file attachments and add file paths to add attachments to the email.

 

  • Save the process definition, create a new process instance, and then execute it. Render the process instance. Click the process step to view its properties. The step should send an email to a selected number of users.

 

Definition Sample:

You may download the sample definition(s) from the link here and later import them (drag-and-drop) to your FlowWright Process Definition (XML file) or Form Definition (HTML file) page.

Note: Please verify and complete the process steps for any missing configurations, such as file path references and database connections, after import. Then, save the definition to confirm the changes.

Click here to download the sample file.