← Back to Tutorials

Google Workspace Integration

Integrate Gmail and Calendar with least-privilege scopes and explicit user consent.

Workflow

  1. Create OAuth app with only required Gmail and Calendar scopes.
  2. Complete consent flow in staging and verify token refresh behavior.
  3. Test automation actions with dry-run mode enabled.
  4. Enable production execution and monitor permission errors.