Creating Automations
Share Connect comes packaged with the Automate Share Flow Action, which can be added to Record-Triggered flows to perform operations when records are created or updated. Schedule-triggered flows with object conditions configured can also use this flow action to perform operations on a batch of records. To enable Share Connect Automation, ensure the Automated Process User is configured. For detailed steps on this process, see the Setup and Configure Share Connect Automation article.
- Navigate to Salesforce Setup > Process Automation > Flows.

- From the Flows page, click New Flow.

- Select Record-Triggered Flow (or Schedule-Triggered Flow for automating folders, or uploading files in bulk), and click Next.

- You will be prompted to set up your starting node's criteria on how the flow will be initiated as well as configure the Salesforce object the action will take place on. You can go back to this screen by editing the Start node of the Flow. For more information on building out your flow, please see the Salesforce documentation on Defining Conditions in a Flow.

- Below the starting node select the Add Element node and then select Action. This will auto-display the Action section to the right.

- In the Action field, search and select Automate Share (apex-shareconnect__automateShare).
- Fill out the required fields for Label and API Name, then select the Operation picklist.

- Ensure all elements are connected.

- Click Save.

- Enter the required fields for Flow Label and Flow API Name, then click Save.

- Click Activate.

- For a Record-Triggered Flow, go back to your Salesforce object/record and trigger your flow. Once triggered, the component displays a state of automation in progress.
