Skip to main content

Email Launch

An email launch starts a Wrkflow when an email arrives at a dedicated trigger address. Each Wrkflow gets its own address, and the content of the incoming email — sender, subject, body, attachment, and more — can be mapped onto the Wrkflow's launch parameters so your Wrk Actions can use it.

Email launch is a good fit for inbox-driven processes: invoices sent to an accounts address, support requests, or reports forwarded from another system.

Open Email Launch

On the Wrkflow Automation screen, find your Wrkflow and select the envelope icon — the second option in the Launch Control column.

Envelope icon labelled Email launch, the second option in the Launch Control column of the Wrkflow Automation list

This opens the Launch Control panel with Email Launch selected.

Add launch parameters to your Wrkflow first

The Email Launch panel can only map email content onto launch parameters that already exist. Before configuring the trigger, open the Wrkflow in the Wrkflow Designer and:

  1. Select the rocket node at the top of the Wrkflow to open the Launch Configuration panel.
  2. Under Launch Inputs, select Add field and give each parameter a type and a name — one for every value you want to capture from the email.

Wrkflow Designer with the rocket node highlighted as step 1 and the Launch Inputs list in the Launch Configuration panel highlighted as step 2, showing Subject, Body, Sender, and Message ID parameters

Then save the Wrkflow.

If you skip this step, the dropdowns in Email Launch will have nothing to select. Adding a parameter later also requires saving the Wrkflow again before it appears in the panel.

Configure the email trigger

Email Launch panel with the email trigger address highlighted as 1 and the authorized emails field highlighted as 2

Email trigger address

The Email trigger address at the top of the panel is generated for this Wrkflow. Any email sent to it triggers a Launch, so copy it and use it wherever the process needs it — a forwarding rule, a distribution list, or a form notification.

Authorized email(s)

Authorized email(s) controls which senders are allowed to trigger the Wrkflow. Type an address and press Enter to add it. You can add as many entries as you need.

EntryWho can trigger the Wrkflow
*Any sender
*@wrk.comAny sender on the wrk.com domain
person@wrk.comOnly that specific address
note

Emails from senders outside the authorized list are silently ignored. No Launch is started and no bounce, rejection, or notification is sent back to the sender.

Map email values to launch parameters

Scroll down past Authorized email(s) to the list of email fields. Each field corresponds to a piece of the incoming email:

FieldWhat it contains
Message IDThe unique identifier assigned to the email by the sending mail server
DateWhen the email was sent
From, To, CCThe sender and recipient addresses
SubjectThe subject line
BodyThe plain text body
HTML BodyThe HTML version of the body, when the email includes one
AttachmentA file attached to the email
PriorityThe priority given to the resulting Launch

Use the dropdown beside a field to choose which launch parameter that value should populate.

Body dropdown open in Email Launch, highlighted, offering Launch Parameter - Body and Launch Parameter - Subject as mapping targets

Only the fields you map are passed to the Launch; leave the rest as Select.... Select Save when the mapping is complete.

Send an email to launch

Once saved, sending an email to the trigger address from an authorized sender starts a Launch. The mapped values arrive as launch parameters and are available to your Wrk Actions through the Data Library, exactly as they would be for a manual launch.

note

Email launches are not instantaneous. Expect the email to be picked up within a couple of minutes rather than the moment you send it.

The Launch appears in the Launches table with a Launch Type of Email Trigger.

Launches table row named Launched by Email with Launch Type Email Trigger and a Completed status

Select the Launch to open the Debug Console, where Launch started with the input variables lists the values the email supplied. This is the quickest way to confirm your mapping is correct.

Debug Console showing a completed Wrk Action and the input variables Body and Subject captured from the email

tip

How emails with multiple attachments are handled depends on your mapping. If you have mapped Attachment to a launch parameter, one Launch is started per attachment — each Launch receives the same email details with a different file. If Attachment is left unmapped, a single Launch is started no matter how many files the email carries.