Configure your Org and the different Plauti apps to be able to use the PDO flow. Configure or check the following as explained below:
- Permissions for PDO and DAP
- A DAP Direct Action (or Macro)
- RV validation settings for Leads
- Scenarios and Cross Object settings in DC
- SRR setup
- The provided email templates
Configuring your Org and app settings
- Assign the Plauti Data Orchestration permission set to users or profiles that create Leads which will be processed by the PDO flow.
This permission set also contains “run a flow” access, needed to be able to run a flow. - Assign the Data Action Platform for Salesforce permission set, or access to all “plauti.dap” apex classes, to users or profiles that create Leads which will be processed by the PDO flow.
Access to DC, RV or SRR is not needed to run the flow.Delete- If you instead grant access to the apex classes, don't forget to add access to any new apex classes that might be added with new DAP versions in the future.
Read more about these options in Grant Access: Access to the app.
- Open the Data Action Platform app and go to DAP Setup > Direct Action. Create a new Direct Action for the flow with the following settings:
- Select Object: "Lead"
- Add a filter if you want to apply the flow only to certain Lead records.
- Select one or more Triggers that indicate when the flow should be executed.
- In the next window, select the Run a Flow action.
- Select Flow: select the flow that you saved in Configure the PDO flow.
Note that you can only select active flows. - Map the Record ID to a Flow Variable: "LeadInsert".
- Do not activate the Direct Action yet!
- Open the Record Validation app and go to RV Setup.
At left, go to Lead. Verify or create validation settings for the fields you want to validate: Address, Email, and/or Phone.
Read more in Address validations, Email validations, and Phone number validations. - Open the Duplicate Check app and go to DC Setup.
- In the Lead, Contact, Account, and Person Account (if applicable) settings, make sure Cross Object is enabled.
- In the Lead settings, on tab Cross Object, configure Cross Object for “Lead to Contact”, “Lead to Account”, and/or “Lead to Person Account” (depending on the flow you will be using).
- Still in DC Setup, for each of the Lead, Contact, Account, and Person Account (if applicable) objects, go to tab Scenarios. Find or create at least one scenario per object that you want to use in the flow. At Apply To, make sure at least "Flow" is selected.
Read more in Scenarios. - Make sure SRR is set up to route new Leads.
- Have at least one active MatchGroup that will find the Leads that are processed with the PDO flow.
- Set the default field value of the Use Round Robin field for Leads to FALSE.
- Edit the email templates provided in the PDO install to meet your Org specifics:
Go to Salesforce Setup > Classic Email Templates > Folder: PlautiDataOrchestration, and make changes to the different email templates if needed.
The user notification can be edited in the flow itself; see Configuring the PDO flow. - Activate the Direct Action you created in step 3. once everything is set up.
After activating the Direct Action, the flow will run automatically each time a Lead is created.