Notify an employee when they become an activity participant
Create the following business process: an email is sent to an employee that was added to the list of participants in the activity.
Business process diagram (Fig. 1) elements:
-
Incoming signal for adding an activity participant - when a new participant is added to the activity, the signal is activated and the business process is started.
-
Reading the Id of the added activity participant record – getting about the new activity participant information for later use in the process.
-
Reading the activity header – retrieving activity data that will be used in the preconfigured template.
-
Sending email – notifying the contact that they were added to the activity.
To do this:
-
Place the Signal element of the Initial events group on the schema — "Participant added". The element will be activated when a contact is added on the Participants detail of the activity.
-
Set up the signal parameters:
- In the Object field, set "Activity participant".
- In the What event should happen? field, select "Add record".
-
Add two Read data elements of the System actions group.
-
Set up the "Read activity participant" element parameters to read data from the activity participant added record (Fig. 2):
-
In the Which data read mode to use? field, select “Read the first record in the selection.”
-
In the Which object to read data from? field, select “Activity participant.”
-
In the How to filter records? area, set the filter “Id = Participant added.Record ID". To do this, click
<Add condition>
, select the “Id” column, then in the appeared menu, select Compare with parameter. In the opened window, select the Record ID parameter of the "Participant added" element.
-
-
Set up the "Read activity title" element parameters to read the activity title, to which a participant has been added (Fig. 3):
- In the Which data read mode to use? field, select “Read the first record in the selection.”
- In the Which object to rad data from? field, select “Activity.”
- In the How to filter records area, set up filter "id = Read activity participant.First element of the resulting collection.Activity". To do this, click
<Add condition>
, select the “Id” column, then in the appeared menu, select Compare with parameter. In the opened window, select the "Activity" parameter of the "Read activity participant" element. - In the Which column values should be read? field, select “Only selected columns" and select the “Title” column.
-
Add the “Send e-mail” element of the System actions group and set the following parameters (Fig. 4):
- In the From field, specify the return address in the message. To do this, select Select from lookup in the parameter value menu, then in the Synchronization with mailbox settings lookup, select one of the configured email accounts.
- In the To field, specify the email of the recipient. In the parameter value menu, click the Process element, select the Read contact data element, and the Email parameter.
- In the What is the message? field, select “Template message.”
-
Select the existing template in the Template message field. The Subject field is populated automatically.
-
Select “Send email automatically” in the How is the message sent? field.
-
After creating the process elements, connect each element with the next one by dragging the element in the upper right corner of the selected process element.
-
Save the created business process.
As a result of the business process, an email is sent to an employee that was added to the list of participants in the activity.
See also
Notify employees by email when a lead has been received via a landing page