<< Click to Display Table of Contents >> Navigation: Table of Contents > Converse Apps > Trigger Message Flow from Process Builder using Action Key > Triggering an Auto-Reply Message Flow from Process Builder using Action Key |
To trigger an Auto-Reply Message Flow from the Process Builder using an Action Key, do the following:
1.From the Salesforce navigation on the top right click Setup.
Setup on the Salesforce Lightning navigation bar
2.Select Process Builder by:
•Using the Search Setup field, or
•Using the Quick Find search field, or
•Selecting Platform Tools > Process Automation > Process Builder.
Searching for Process Builder
3.Click New on the right side.
Creating a new process
4.In the New Process dialog enter the mandatory information in the various fields.
Enter the details for a new process
5.Click Save.
6.In the Process Builder page click Add Object and select SMS History.
Enter the details for the object
7.Click Save.
8.Click Add Criteria and define the criteria for the action group.
Action |
Description |
---|---|
Criteria Name |
Enter a name. |
Criteria for Executing Actions |
Select Conditions are met. This option is the default. |
Set Conditions |
Set the following two conditions: •Condition 1 - In Field search for Direction. In Value select IN. Leave Operator and Type as is. •Condition 2 - In Field search for SMSText. In Value enter YES. Leave Operator and Type as is. |
Conditions |
Select All of the conditions are met (AND). |
Enter the details for the criteria
9.Click Save.
10.Click Add Action and define the following:
Action |
Description |
---|---|
Action Type |
Select Create a Record from the dropdown. |
Action Name |
Enter a name. |
Record Type |
Select Converse App Type from the dropdown. |
Set Field Values - Automation Key Reference |
Enter the Action Key after creating the message in the message flow procedure. |
Set Field Values - Lookup Reference |
Set the following two lookup reference: •Reference 1 - Select the SMS History from the Field dropdown. Select Field Reference from the Type dropdown. Search for the Field Reference Value. •Reference 2 - Select the Object from the Field dropdown. Select Field Reference from the Type dropdown. Search for the Field Reference Value. |
Enter the details for creating the record
11.Click Save.
12.Click Activate and then click Confirm. Activating this process automatically deactivates any other active version. The deactivated version is available in your version history.
Create Automation Message Flow
Trigger Message Flow from Process Builder using Action Key
Triggering an Automation Flow from Process Builder using Action Key