Authorize Google Drive (OAuth2)
Authorize with OAuth 2.0 (Desktop app) and open a Drive connection. Caches a refresh token for silent reconnects.
Overview
Authorize Google Drive (OAuth2) is a no-code automation step in the Google Drive category of AutoFlowRPA. It performs its action in a single step when the workflow reaches it. You can configure 5 parameter(s) to control exactly how it behaves. It is one of 369 commands you can drag into a workflow in the visual builder — no scripting required.
What it does
Authorize with OAuth 2.0 (Desktop app) and open a Drive connection. Caches a refresh token for silent reconnects.
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| Connection name | variable | Required | drive | Name of the connection created by Authorize. |
| client_secret.json (optional) | file | Optional | OAuth Desktop-app client file. Or use Client ID + Secret. Supports variables | |
| Client ID (optional) | string | Optional | Supports variables | |
| Client Secret (optional) | string | Optional | Supports variables | |
| Token cache file (optional) | file | Optional | Default: %APPDATA%/AutoFlowRPA/gdrive_token_<connection>.json Supports variables |
How to use Authorize Google Drive (OAuth2)
- 1
Open AutoFlowRPA and drag the Authorize Google Drive (OAuth2) command from the Google Drive group onto the canvas.
- 2
Set its parameters in the side panel — Authorize Google Drive (OAuth2) has 5 configurable field(s).
- 3
Connect it into your workflow and press Run. Everything executes locally on your machine.
Frequently asked questions
What does the Authorize Google Drive (OAuth2) command do?
Authorize with OAuth 2.0 (Desktop app) and open a Drive connection. Caches a refresh token for silent reconnects.
Which group does the Authorize Google Drive (OAuth2) command belong to?
Authorize Google Drive (OAuth2) is part of the Google Drive group. AutoFlowRPA ships with 369+ ready-made commands you can combine without code.
Does the Authorize Google Drive (OAuth2) command take any parameters?
Yes — Authorize Google Drive (OAuth2) has 5 configurable field(s), all editable in the visual node editor.
More Google Drive commands
Ready to automate your busywork?
Start your free 30-day trial today. No credit card, no commitment.