You are here:
Create Flows to Trigger Invocable Actions to Copy Addresses
Create Salesforce Flows that are used by batch jobs to trigger invocable actions that create a copy of healthcare provider (HCP) address records from the affiliated healthcare organization (HCOs).
Required Editions
| Available in: Lightning Experience |
| Available in: Enterprise and Unlimited Editions with Life Sciences Cloud, Life Sciences Cloud for Customer Engagement Add-on license, and the Life Sciences Customer Engagement managed package. |
| User Permissions Needed | |
|---|---|
| To create a flow: | Manage Flow |
Create a Flow to Copy HCP Contact Point Addresses
Create the flow to trigger the Process Contact Point Address invocable action.
- From Setup, enter Flows in the Quick Find box, select Flows, and then select New Flow.
- In the New Flow window, select Autolaunched Flow (No Trigger).
-
Create variables for input values.
- From the toolbox, select Manager and then select New Resource.
- For Resource Type, select Variable.
- For API Name, enter cpaRecordId.
- For Data Type, select Text.
- For Description, enter The ID of the contact point address that was passed into the flow.
- Select Available for input.
- Click Done.
-
Create an action element that calls the invocable action and uses the cpaRecordId
variable.
- For Category, select Ls Commercial.
- Select the Process Contact Point Address Records invocable action.
-
For Label, enter Process Contact Point Address Records.
The API name is automatically populated.
- Set cpaRecordId as an input value.
- Click Done.
- Save and activate the flow.
Create a Flow to Copy Provider Affiliation Addresses
Create the flow to trigger the Process Affiliation Address invocable action.
- From Setup, enter Flows in the Quick Find box, select Flows, and then select New Flow.
- In the New Flow window, select Autolaunched Flow (No Trigger).
-
Create variables for input values.
- From the toolbox, select Manager and then select New Resource.
- For Resource Type, select Variable.
- For API Name, enter affiliationRecordId.
- For Data Type, select Text.
- For Description, enter the ID of the provider affiliation that was passed into the flow.
- Select Available for input.
- Click Done.
-
Create an action element that calls the invocable action and uses the affiliationRecordId
variable.
- For Category, select Ls Commercial.
- Select the Process Provider Affiliation Address Records invocable action.
-
For Label, enter Process Affiliation Address Records.
The API name is automatically populated.
- Set affiliationRecordId as an input value.
- Click Done.
- Save and activate the flow.
Did this article solve your issue?
Let us know so we can improve!

