---
title: "Creating Automations - Appiphony"
url: "https://appiphony.com/docs/drive-connect/features/automation/automation-overview/creating-automations-with-flow"
---

# Creating Automations

The Drive Connect app comes packaged with the **Automate Drive** 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 **Drive Connect Automation**, ensure the Marketplace App is installed and the Automated Process User is configured. For detailed steps on this process, see the [Setup and Configure Drive Connect Automation](https://appiphony.com/docs/drive-connect/features/automation/automation-overview/automation-setup/) article.

> ***Note:** Operations defined in the Automate Drive action are subject to [Google API usage limits.](https://developers.google.com/docs/api/limits) When using the action for Schedule-Triggered flows, we recommend configuring your filter conditions to limit batch sizes to 100 records or less in order to avoid failures for actions that include multiple operations.*

1. Navigate to **Setup** > **Process Automation** > **Flows** and click **New Flow. ![Flows screen in Salesforce setup with New Flow button highlighted](https://appiphony.com/wp-content/uploads/2024/05/Flows-screen-in-Salesforce-setup-with-New-Flow-button-highlighted.png)**
2. This will open the **Flow Builder** in a new tab. You can choose to create a flow from a template or start from scratch; here, we’ll build a simple flow from scratch. Click **Next** to continue. ![New Flow modal with Start from Scratch option highlighted](https://appiphony.com/wp-content/uploads/2024/05/New-Flow-modal-with-Start-from-Scratch-option-highlighted.png)
3. Select **Record-Triggered Flow** (or **Schedule-Triggered Flow** for **a****utomating folders, generating documents, or uploading files** in bulk.) and click **Next**. ![Select Type modal with Record-Triggered Flow option highlighted](https://appiphony.com/wp-content/uploads/2024/05/Select-Type-modal-with-Record-Triggered-Flow-option-highlighted.png)
4. You’ll be prompted to select the Salesforce object that triggers the flow and configure the conditions under which the flow will be triggered. ![Flow Builder with Configure Start panel highlighted](https://appiphony.com/wp-content/uploads/2024/05/Flow-Builder-with-Configure-Start-panel-highlighted.png) For more information on building out your flow, see the Salesforce documentation on [Defining Conditions in a Flow.](https://help.salesforce.com/s/articleView?id=sf.flow_build_logic_conditions.htm&type=5)
5. In the **Flow Layout** panel, hover over the node in your Flow where you’d like to add a Drive Connect automation action and click on the **+** button that appears. ![Flow Builder with Add Element button highlighted](https://appiphony.com/wp-content/uploads/2024/05/Flow-Builder-with-Add-Element-button-highlighted.png)
6. In the **Add Element** panel that appears, select **Action**. ![Flow Builder with Add Element panel visible and Action option highlighted](https://appiphony.com/wp-content/uploads/2024/05/Flow-Builder-with-Add-Element-panel-visible-and-Action-option-highlighted.png)
7. In the **Search Actions** panel that appears at right, search for and select the **Automate Drive** action **(apex-driveconnect__automateDrive)**.![Flow Builder with Search Actions panel highlighted](https://appiphony.com/wp-content/uploads/2024/05/Flow-Builder-with-Search-Actions-panel-highlighted.png)
8. Fill out the required fields for the **Label** and **API Name**, then select an option from the **Operation** picklist. ![Template Builder tab with Automate Drive action customization panel highlighted](https://appiphony.com/wp-content/uploads/2024/05/Template-Builder-tab-with-Automate-Drive-action-customization-panel-highlighted.png) When selecting Drive Operations, the following parent-level options are available:
   - [New Drive Folder](https://appiphony.com/docs/drive-connect/features/automation/automation-overview/automate-folders/)
   - [New File Link](https://appiphony.com/docs/drive-connect/features/folder-management/folder-management/linking/)
   - [New Folder Link](https://appiphony.com/docs/share-connect/features/folder-management/folder-management/linking/)
   - [New File from Template](https://appiphony.com/docs/drive-connect/features/automation/automate-files)
9. Click **Save**. ![Template Builder tab with Save button highlighted](https://appiphony.com/wp-content/uploads/2024/05/Template-Builder-tab-with-Save-button-highlighted.png)
10. Enter the required fields for Flow Label and Flow API Name, and click **Save**. ![Save the Flow modal](https://appiphony.com/wp-content/uploads/2024/05/Save-the-Flow-modal.png)
11. Click **Activate**. ![Template Builder with Activate button highlighted](https://appiphony.com/wp-content/uploads/2024/05/Template-Builder-with-Activate-button-highlighted.png)
12. 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.

> ***Note:** The Automate Drive action performs operations asynchronously. A retry mechanism is built into the action to support multiple concurrent operations on the same record. If a failure occurs, Queueable Apex calls a Future Method to wait and retry the operations for a maximum of five times before they are deemed unsuccessful and terminated.*

### Adding Sibling Operations

Drive Connect Automation supports adding multiple sibling operations. These operations are considered same-level operations to any existing operation in your flow. You can add a sibling operation by selecting the **Add Drive Operation** button for parent-level operations (or select **Add Child Operation** for same-level child operations).

> ***Note:** If adding multiple sibling operations, the automation will run sequentially in the order they are created/listed in the Drive Operations builder.*
