- How to update selected Airtable records with new files added in specific Google Drive folders
- 1. Set the Google Drive trigger as “File added to folder”
- 2. Add the “Update record” in Airtable step
- 3. Activate your playbook
- Learn more about integrating with Google Drive and Airtable
- Related blog posts
- More how-to guides featuring Google Drive and Airtable
How to update selected Airtable records with new files added in specific Google Drive folders
Set the Google Drive trigger as “File added to folder”
Add the Google Drive trigger to initiate your playbook's actions before adding the file to a folder.
To do this, click "Add trigger" in your playbook. Choose the "File added to folder" trigger from the Google Drive options, then choose a folder where you want to store your files (e.g., "My Drive"). It will enable your playbook to identify newly added files and trigger necessary actions automatically.
If you have yet to connect your Google Drive account to Relay, a prompt will guide you through the connection process.
Add the “Update record” in Airtable step
Integrate the Airtable automation into your playbook to ensure prompt updates for every file added to a folder.
To add a step to your playbook, select "Add Step" and look for the "Get record" automation. Then, choose the table you want to work with; for example, let's say you want to work with the "Files" table. Once you've chosen the table, select an identifier in the "Add filter" from your sheet data to match the Google Drive data. In this example, the identifier is "Creation time".
Afterward, add another step to your playbook by selecting "Update record." Next, click on the relevant fields you want to update and fill in the necessary details, such as creation time, mime type, and title.
If you still need to connect your Airtable account to Relay, you will be prompted to complete that connection. Make sure to allow the necessary permissions for Relay to update records through your Airtable account.
Activate your playbook
Activating your playbook is the final step. Once turned on, it will respond to update Airtable records with new Google Drive files in folders without manual intervention.
To enable your playbook, click the toggle button located in the header. It is advisable to perform a test run of your playbook beforehand to ensure all steps work seamlessly together.