Skip to content

How to Automatically Save OneDrive Files in Google Sheets

  • by

In this section, we will discuss how you can integrate OneDrive with Google Sheets, following which, each time you upload a new file in OneDrive, its details will automatically be saved in your Google Sheets spreadsheet.
This automation requires a one-time setup, for which we will use Pabbly Connect.
We will first link OneDrive with Pabbly Connect to capture the files, then link Pabbly Connect with Google Sheets and save the captured files details in Google Sheets.

Steps to Automatically Save OneDrive Files in Google Sheets

1. Sign In / Sign Up to Pabbly Connect and Create a Workflow
2. Establish a Connection between OneDrive and Pabbly Connect
3. Setup Google Sheets as the Action App to Save Files

Step 1:- Sign In / Sign Up to Pabbly Connect and Create a Workflow

A. Sign In / Sign Up

To begin this process, visit Pabbly Connect and create your account by clicking on the ‘Sign Up Free’ button. You can also click on Sign In if you already have an account.

Click on the Pabbly Connect ‘Access Now’ button

B. Create Workflow

To create a new workflow, click the ‘Create Workflow’ button.

Name your workflow, and click on ‘Create’.

Step 2:- Establish a Connection between OneDrive and Pabbly Connect

We will now look at the steps through which we will establish a link between OneDrive and Pabbly Connect. This will help us to fetch the files from OneDrive.

A. Trigger App

Trigger allows us to choose the application that will receive the data for Pabbly Connect. In our case, it would be OneDrive

Choose ‘Microsoft OneDrive’ as the Trigger App, select ‘New File’ as an Action Event, and click on ‘Connect’.

B. Connect Microsoft OneDrive Account

To connect with your OneDrive account, select ‘Add New Connection’, and click on ‘Connect With Microsoft OneDrive’.

Set the Folder Path to specify the folder from where you want to capture the files, select ‘New File Created’ as the Event Type, and click on ‘Save & Send Test Request’.

The moment you click on Save & Send Test Request, Pabbly Connect will capture the data of the latest file uploaded to your OneDrive account.

Step 3:- Setup Google Sheets as the Action App to Save Files

Action allows us to choose the application that will get executed by the workflow trigger.
We essentially want to save the captured file details in Google Sheets. Thus, Google Sheets will be our Action App.

A. Action App

Choose ‘Google Sheets’ as the Action App, select ‘Add New Row’ as an Action Event, and click on ‘Connect’.

B. Connect Google Sheets Account

To connect with your Google Sheets account, select ‘Add New Connection’, and click on ‘Connect With Google Sheets’. Also, grant the authorization.

Select the Spreadsheet and Sheet you want to use for storing your data.

As soon as you select your sheet, the columns of this sheet will start reflecting as fields in your Action Step.

C. Map Necessary Fields

Now that you have connected your Google Sheets account, all you need is to map the necessary details from the step above. Mapping ensures our data remains dynamic and changes as per the received responses.

Map the Name from the step above.

Similarly, map the other fields, and click on ‘Save & Send Test Request’.

The moment you click on Save & Send Test Request, the file details will start reflecting in your Google Sheets.

Our automation is complete. We have successfully integrated OneDrive with Google Sheets. Each time you upload a new file on OneDrive, its details will automatically be saved in Google Sheets.

You can copy this entire workflow by clicking this link.

Sign Up for a free Pabbly Connect account, and start automating your business
Subscribe to our Youtube Channel for more such automation
For any other queries, visit our forum