Scenario

You have a document library and you have a Google account associated with Google Drive. Your requirement is that whenever any user uploads the file in document library, that same file should also be uploaded in Google Drive in a particular folder.

So, we can use Nintex Workflow available in Office action, and achieve this requirement.

Approach

The following is my document library.

library

Just click on Library Setting >> Nintex Workflow.

library

It will open the Nintex Workflow designer in your browser. Click on "New List workflow".

library

Now, search "Google Drive upload files" in the Actions and drag and drop that action to the workflow canvas.

library

Now, double click on the action or click on the down arrow and click Configure.

library

It will open up the configuration settings of the Google Drive upload file action.

library

Here are few configurations required.

Now, your workflow is completed. Just click on "Publish" and publish the workflow.

library

Enter the unique name for the workflow and select "Start when items are created" in the start option and publish.

library

Once the workflow is published, go to the document library and upload the file. Here, I have uploaded Test Document into document library.

library

Important part of the action

Once the workflow is fired, it will send an email to ask for the permission. So, go to your inbox and check the mail. There will be an email from Nintex which will ask permission to access your associated Google Drive.

library

Here, you have 2 options.

  1. Provide Google Drive account credentials and authorize the access.

    • If you want to allow access, then click on this link.

  2. Deny access to my Google Drive account

    • If you don’t know about the source of the workflow, then simply click this and it will not be able to access the Google Drive.

Now, when you click on Provide Google Drive account credentials and authorize access, you will get the following screen.

library

Just click on "Allow" and you will be redirected to Nintex. Save preferences of the permission screen.

library

Note that here you have 2 options.

  1. Yes

    If you click on Yes, your choice will be saved to Nintex and next time Nintex can access your Google Drive without sending you the email to ask for your permission.

  2. No

    If you want to allow Nintex to access your Google Drive for this time only, then simply click on No.

And now, you will see that your file will be uploaded to the Google Drive under Document Library folder.

library

If you have any query regarding this, please feel free to ask in the comments section.