Authorize Gmail (OAuth2)

Authorize a Gmail/Google account with OAuth 2.0 (Desktop app) and open a connection for sending, reading, labelling and managing mail. Caches a refresh token for silent reconnects.

GmailGmailConnect

What it does

Authorize a Gmail/Google account with OAuth 2.0 (Desktop app) and open a connection for sending, reading, labelling and managing mail. Caches a refresh token for silent reconnects.

Parameters

ParameterTypeRequiredDefaultDescription
Connection namevariable
RequiredgmailName of the connection created by 'Authorize Gmail'.
client_secret.json (optional)file
OptionalOAuth Desktop-app client file. Or use Client ID + Secret below.
Supports variables
Client ID (optional)string
Optional
Supports variables
Client Secret (optional)string
Optional
Supports variables
Token cache file (optional)file
OptionalDefault: %APPDATA%/AutoFlowRPA/gmail_token_<connection>.json
Supports variables

More Gmail commands

Ready to automate your busywork?

Start your free 10-day trial today. No credit card, no commitment.