domainwidedelegation.comGet it set up
51 patterns · all built in production

What people actually build with domain-wide delegation

Delegation is plumbing. This is the catalogue of what runs on top of it — every entry a pattern we have built and operated, with the scopes it needs and the mistake that breaks it. Search by what you are trying to do, not by which API it happens to use.

51 of 51 use cases

Email operations

Draft replies automatically in a shared inbox

A delegated service account reads an incoming enquiry, drafts a researched reply in the mailbox, and leaves it for a human to approve and send.

Gmail API

Email operations

Triage and route inbound mail across a domain

Classify every inbound message, label it, and forward the ones that matter to the person who owns them — without touching a single mail rule.

Gmail API

Email operations

Send mail as a shared alias from automation

Deliver notifications, confirmations and campaign replies from a branded address like support@ or updates@ without a human in the loop.

Gmail API

Email operations

Archive or export every mailbox on a schedule

Systematically export mail for compliance, migration or analysis across an entire domain, mailbox by mailbox.

Gmail API

Email operations

Find every conversation waiting on a reply

Scan the domain's mail and surface threads where a customer wrote last and nobody answered.

Gmail API

Email operations

Run a controlled outbound sequence with a real audit trail

Send a paced, personalised sequence from a real mailbox, with per-recipient logging that survives failure.

Gmail API

Email operations

Find and remove stale automated drafts

Sweep the domain for drafts left behind by retired automations before a client sees one.

Gmail API

Email operations

Route form and system notifications to a case owner

Parse machine notifications, work out who owns the record, and put it in front of them.

Gmail API · Sheets API

Documents and Drive

Create a client folder structure the moment a deal closes

Provision a consistent Drive folder tree, seeded with templates and shared with the right people, automatically.

Drive API

Documents and Drive

Generate documents from a template and real data

Produce agreements, letters and reports from a Docs template with fields filled from your systems.

Docs API · Drive API

Documents and Drive

Sort incoming files into the right place automatically

Watch a drop folder, work out what each file is, and file it where it belongs with a consistent name.

Drive API

Documents and Drive

Audit who can see what across Drive

Enumerate sharing across the domain and surface documents exposed more widely than intended.

Drive API

Documents and Drive

Assemble multi-document PDF packages

Merge many source documents into one paginated, indexed package with a generated table of contents.

Drive API

Documents and Drive

Move finished media into a structured content library

Take recordings and exports from wherever they land and file them, with transcripts, into a browsable library.

Drive API

Scheduling

Build a real picture of team availability

Read calendars across the domain to answer who is free, who is overloaded and where the week actually went.

Calendar API

Scheduling

Turn a finished meeting into follow-up automatically

Detect that a meeting happened, pull the notes, and draft the follow-up before anyone opens their laptop.

Calendar API · Gmail API · Drive API

Scheduling

Turn a booking into a record everywhere it matters

When a meeting is booked, create the record, the folder and the confirmation in one pass.

Calendar API · Sheets API · Drive API · Gmail API

Reporting and data

Send a daily digest that catches problems early

One scheduled email that checks the things that fail quietly and reports only what changed.

Gmail API · Sheets API

Reporting and data

Run automation from a spreadsheet non-engineers can edit

Keep rules, templates and routing in a Sheet so the operations team changes behaviour without a deploy.

Sheets API

Reporting and data

Reconcile records between two systems automatically

Compare what your tracking sheet says against what the source system says, and report the differences.

Sheets API · Gmail API

Reporting and data

Score calls or meetings against a rubric, nightly

Turn recordings and transcripts into a consistent, ranked scorecard your team can act on.

Drive API · Sheets API

Reporting and data

Work out which sources actually produce customers

Join enquiry records to outcomes so spend goes where the revenue is.

Sheets API · Gmail API

Admin and governance

Audit which third-party apps can read your mail

List every OAuth grant across the domain and find the retired tools still holding access.

Admin SDK

Admin and governance

Automate joiners, movers and leavers

Create accounts, set group membership, provision Drive and hand over mailboxes without a manual checklist.

Admin SDK · Drive API · Gmail API

Admin and governance

Continuously verify your delegation still works

A scheduled probe that proves every API still answers under every tenant, before a customer finds out otherwise.

Gmail API · Drive API · Calendar API · Admin SDK

Admin and governance

Reduce an over-broad delegation grant safely

Find out which scopes your automation genuinely uses, then cut the grant down to them.

Gmail API · Drive API · Admin SDK

Admin and governance

Hand over a departing employee's mail and files

Transfer ownership, set forwarding and preserve what matters before the account is suspended.

Admin SDK · Drive API · Gmail API

Multi-tenant and agencies

Operate several Workspace tenants from one service account

Authorize the same client ID in each domain and switch tenants simply by changing who you impersonate.

Gmail API · Drive API · Calendar API

Multi-tenant and agencies

Keep a registry of which tenant granted which scope

The single document that turns a multi-tenant delegation outage into a ten-minute fix.

Sheets API

Multi-tenant and agencies

Produce per-client reporting from a shared estate

Generate and deliver each client's own report from data that lives across several tenants.

Sheets API · Drive API · Gmail API

Multi-tenant and agencies

Run one automation estate across several brands

Share the machinery while keeping each brand's identity, sender and data cleanly separate.

Gmail API · Drive API · Sheets API

AI agents on Workspace

Give an AI agent safe access to a mailbox

Let an assistant read context and prepare work, while keeping every outbound action behind human approval.

Gmail API

AI agents on Workspace

Ground an assistant in your own documents

Give an agent read access to the folders that hold your real knowledge so it answers from your material, not the internet.

Drive API

AI agents on Workspace

Build an approval desk for everything an agent produces

Queue agent output for human review in one place, with approve, edit and reject — and an audit trail.

Gmail API · Sheets API

AI agents on Workspace

Have an agent act as a specific person, correctly

Impersonate the right subject so agent output carries the correct identity, signature and permissions.

Gmail API · Drive API

Email operations

Monitor a shared mailbox for SLA breaches with a service account

Track incoming mail to a shared address and flag messages that breach response SLAs, using delegated workspace access.

Gmail API

Documents and Drive

Let support agents see order history from Sheets

A delegated service account can pull order history from Google Sheets and present it to support agents on demand, without manual sharing or exposing the entire sheet.

Sheets API

Admin and governance

Back up Workspace data to external storage on a schedule

Automate regular Workspace data exports to external storage using a delegated service account, handling API limits and consistency issues.

Drive API · Gmail API

Documents and Drive

Route inbound CVs into a hiring pipeline folder

Automatically collect candidate CVs from email and place them in a shared Drive folder for the hiring team.

Gmail API · Drive API

Documents and Drive

Detect duplicate customer records across shared sheets

Use a delegated service account to scan multiple shared Sheets for duplicate customer entries, surfacing conflicts for human review before they propagate into downstream systems.

Sheets API · Drive API

Admin and governance

Produce a monthly security report of admin actions

Aggregate all admin actions across the domain into a monthly report by querying the audit logs with a delegated service account.

Admin SDK

Email operations

Automatically label and archive invoice emails in Gmail

Automatically label and archive incoming invoice emails in Gmail using domain-wide delegation, with concrete steps and pitfalls seen in production environments.

Gmail API

Email operations

Monitor unauthorised Gmail filters with domain-wide delegation

Detecting and alerting on suspicious Gmail filter changes via the API requires careful baselining and regular polling, as not all changes surface in security dashboards immediately.

Gmail API

Admin and governance

Synchronise Google Group membership from a spreadsheet

Automate Google Group membership updates from a Google Sheet, reducing manual errors and centralising access control, but watch for propagation delays and consistency issues.

Admin SDK · Sheets API

Scheduling

Exporting calendar events and capacity domain-wide

How to reliably export all users' primary and secondary Google Calendar events for capacity analysis, with details on avoiding incomplete data and silent API omissions.

Calendar API · Admin SDK

Documents and Drive

Monitoring new files in a shared Drive folder

How to track and respond to new files uploaded in a Google Drive shared folder using push notifications and incremental sync, with real-world caveats.

Drive API

Reporting and data

Generating weekly status documents from Admin SDK activity

Automate weekly status reports by extracting user activity via the Admin SDK Reports API and formatting results into Google Sheets for consistent, up-to-date visibility.

Admin SDK · Sheets API

Documents and Drive

Finding Drive files shared with an external address

How to identify Google Drive files shared with a specific external email using domain-wide delegation, and the critical limitations you must handle.

Drive API · Admin SDK

Email operations

Implementing after-hours auto-response with domain-wide delegation

Set up an after-hours auto-responder using a delegated service account, with advice on handling Gmail API quirks and confidential message edge cases.

Gmail API

Documents and Drive

Indexing contract files in Drive with domain-wide delegation

How to reliably index contract files across Google Drive using domain-wide delegation, and what breaks when Shared Drives and impersonation are misunderstood.

Drive API

Reporting and data

Reconciling calendar bookings with invoices using domain-wide delegation

Accurately match Google Calendar bookings to invoiced services across all users with domain-wide delegation, and avoid missing cancellations or updates that lead to financial errors.

Calendar API

Not sure which one you need?

Describe the problem in your own words. The assistant knows every use case on this site and will point you at the closest ones — or tell you plainly when what you want is a new build, and roughly what it would involve.

Answers come from the use cases on this site. It will tell you when something is not covered rather than inventing it — and it never asks for credentials.

Have something that is not on this list?

Most of what we build starts as a sentence someone types into a box like the one above. If the pattern does not exist yet, we will scope it with you — $500 per hour, and the first reply costs nothing.

Tell us what you need