Appiphony
 
  • Products
    • Merge Connect Document Generation
    • eSign Connect Docusign Integration
    • Parse Connect Document Parsing
    • Share Connect SharePoint Integration
    • Drive Connect Google Drive Integration
    • Experience Connect Experience Cloud Add-on
  • Company
  • Resources
    • Documentation Learn about our products
    • Blog Salesforce guides and tutorials
    • Customer Stories How our customers succeed
    • Videos Visit our YouTube channel
    • Company Get to know Appiphony
    • Careers View openings
    • PDO Services Build with Appiphony
    • PDO Customer Portal Access our customer portal
  • Pricing
Product Documentation Contact Us

Automating Files

Drive Connect Automation allows users to link existing Google Drive files or generate new files from templates directly within Salesforce. By setting up a Record-Triggered or Scheduled Flow, users can streamline the management and organization of files, ensuring accurate data and enhanced workflow efficiency.

Automate Linking Existing Files

Drive Connect Automation allows users to automatically link existing Google Drive files to the Drive Links component by selecting the New File Link operation in a Record-Triggered or Schedule-Triggered Flow. In your flow, open a New Action Element node and follow the steps below:

  1. Open the Operation picklist and select New File Link. Automate Drive action editor with New File Link operation selected from picklist
  2. Open the File to Link picklist and select either Parent Record’s Linked File or File from Drive...Automate Drive action editor with File to Link picklist open

Parent Record's Linked File:

    1. Select the Lookup field to the parent record.
      Automate Drive action editor with Lookup Field to Parent Record picklist highlighted
    2. Add a Linked File Name to the input field. The file name must match the name of an already linked Drive file on the parent record. This links the existing parent file to the current record during automation.
      Automate Drive action editor with Linked File Name input highlighted

File from Drive:

  1. Select any Drive file from the Google picker. When the automation is triggered, the file will be linked to the current record.
    Automate Drive action editor with File from Drive option selected and Google Drive File assigned to action

For more information on saving and activating your flow, see the Creating Automations article.

Automate Generating Files from Templates

Drive Connect Automation allows users to automatically generate a Drive Connect template and link it to the Drive Links component by selecting the New File from Template operation in a Record-Triggered or Schedule-Triggered flow.

 

Please note that automatically generating files from templates using Scheduled Flows requires the Mass Actions add-on. Please contact sales for more information.

  1. In your Flow, open a New Action Element node.
  2. Click the Operation picklist and select New File from Template.
  3. Under Template, select the drop-down option From Drive and then click on Select a Template.
  4. Select a template file from your Drive Connect templates folder within the Google picker. You can also create a new file from a template if you know the template ID. Select From a Text Variable from the template drop-down. If you create a text variable with the template ID as a value, you can use that to generate the files.
  5. Select a Destination for the template to be created in Drive. 
  6. Select a Generated File Format for each file type:
    • Google Doc:
      PDF Document (.pdf)
      Microsoft Word (.docx)
    • Google Sheet:
      PDF Document (.pdf)
      Comma Separated Values (.csv)
      Microsoft Excel (.xlsx)
    • Google Slide:
      PDF Document (.pdf)
      Microsoft PowerPoint (.pptx)
  7. If you select From a Text Variable or From Drive without selecting a template, you will see a new set of generated file formats.
  8. Optionally set whether the new file should be linked to the Salesforce record.
 

Note: If you receive a warning regarding insufficient access for the Automated Process User, ensure the folder location you select is accessible by the Automated Process User with full edit rights. For more information, please see the Granting Access to Folders in Drive article.

Child Operations

When selecting New File from Template as your top-level operation, you can add additional child operations by selecting Add Child Operation. Below is a breakdown of each child operation and their behavior:

Save File to Salesforce

This child operation will save the generated Drive Connect template from the parent operation to Salesforce. For more information on using Save File to Salesforce, see the Save a linked Google Drive File to Salesforce article.

You can add Update Record Field as a child operation to Save to Salesforce. The values for this are: 

  • Salesforce Content Document ID
  • Salesforce Content Version ID
  • Salesforce Content Document Record URL
  • Salesforce Content Document Public Link

New Drive Shortcut

This child operation allows you to auto-create a Drive Shortcut of the parent Drive file in any destination location. If selecting this operation, complete the following steps below:

  1. Enter a Shortcut Name. the parent file name can also be modified. You can utilize merge fields in the shortcut name by selecting the brackets button within the field.
  2. Select a Destination for the shortcut to be created in Google Drive. 

New Link to Parent

Allows you to link the parent-level file to the parent Salesforce record. If selecting this operation, select a Lookup Field to Parent Record.

Update Record Field

Allows you to update a field from a Salesforce record with a value of either Google Drive Folder URL, Google Drive Folder ID, Salesforce Content Document ID, or Salesforce Content Version ID. If selecting this operation, complete the following steps below:

  1. Select a Field that will be updated when the automation triggers.
  2. Select a Value.

For more information on setting up a flow using the Automate Drive action, see the Creating Automations article.

Getting Started

  • Introduction
  • Installation & Setup
  • FAQs
    • How do I update Drive Connect?
    • Can I trial Drive Connect?
    • How is Drive Connect used in a sandbox environment?
    • How do I open a support ticket with the Drive Connect team?
    • Can I provide the Drive Connect team with feedback?
    • Why Can't I Preview Files in Safari?
    • How do I sign out of my Google account in Drive Connect?
    • How do I manage Google account access for Drive Connect?
    • How do I grant access to folders in Google Drive?
    • What are the Drive Connect remote sites?
    • How does Drive Connect use Google OAuth 2.0 Scope to access Google APIs?
    • How do I activate Drive Links on mobile devices?
    • Can I migrate Google Drive URLs to Drive Connect Default Record Folders?
    • Why are tabs missing from the Drive Connect app?
    • Can I automatically assign licenses and permissions to new Drive Connect users?
    • What can I do if Licensing & Permissions does not load?
    • What should I do if I encounter "Google picker error – The API developer key is invalid"?
    • What should I do if renaming a custom object does not reflect the correct name in related Object picklists?
    • How do I fix "Managing Drive Connect Payments Error – Remote Site Activation Needed"?
    • Why is "Sign in with Google" not working in Safari?
    • Why isn't my Google profile picture visible in Drive Connect?
    • How to Leave an AppExchange Review for Drive Connect
    • Why are my Schedule-Triggered Flows not working?
    • Issues installing Drive Connect: Dynamic Imports are Not Allowed
    • Why is Document Generation no Longer Supported?
  • Release Notes

Features

  • File Management
    • Linking
    • Viewing
    • Downloading
    • Renaming
    • Unlinking
    • Embedding
    • Sharing & Permissions
    • Saving to Salesforce
    • Uploading to Drive
    • Emailing Files
    • Experience Cloud
  • Folder Management
    • Linking
    • Viewing
    • Renaming
    • Unlinking
    • Sharing & Permissions
    • Content Folders
    • Default Folders
  • Automation
    • Automation Setup
    • Creating Automations
    • Automating File Upload
    • Updating Files
    • Automating Folders
    • Automating Files
    • Destination Locations
    • Decision Trees
    • Publishing Platform Events
    • Updating Folders
  • Document Generation (Legacy)
    • Template Builder Tab
    • Root Folders
    • Merge Templates
    • Conditional Logic
    • Merge Fields
    • Related Lists
    • Current User Fields
    • Tables
    • Generating Files
    • Updating Generated Files
    • Increasing File Size Limit
    • Limitations

Integrations

  • Merge Connect
    • Merging in the Drive Links Component
    • Merging in the Drive File Component
    • Importing Existing Drive Connect Templates
    • Merging with Flows
  • Experience Connect
    • Sharing Files & Folders Through Experience Cloud
    • Uploading through the Files Component
    • Uploading through the File Uploader Component

Billing

  • Purchase
  • Manage
    • Licenses
    • Tiers
    • Term
    • Payment Info
    • Cancellation

Products

  • eSign Connect
  • Parse Connect
  • Share Connect
  • Merge Connect
  • Drive Connect
  • Experience Connect

Pricing

  • Drive Connect Pricing
  • eSign Connect Pricing
  • Share Connect Pricing
  • Merge Connect Pricing
  • Parse Connect Pricing
  • Experience Connect Pricing

Resources

  • Documentation
  • Blog
  • Customer Stories
  • Videos
  • Company
  • Careers
  • PDO Services
  • PDO Customer Portal

© 2026 Appiphony, LLC. All rights reserved.

Various trademarks held by their respective owners.

Manage Cookies • Policy & Terms
Loading Comments...