The Riskiest Part of an AI Workflow Pilot Is Often the OAuth Screen

Illustrated infographic summarizing: The risky part of AI workflow pilots is often the OAuth screen

By Greg Nowak. Updated 20 November 2026.

The demonstration works: project notes become a useful summary, the CRM gets updated and a message reaches Slack. Before approving the pilot, ask to see the connections that made it possible.

The OAuth consent screen—the page asking you to click Allow—deserves a business decision. Depending on the permissions requested, you may be authorising access to documents, conversations or customer records long after the demonstration ends. Pasting an API key into an automation platform deserves the same scrutiny.

You do not need to become an OAuth specialist. You need a clear account of what the workflow can reach, what it can change, who owns it and how to stop it.

Start with the task, then justify the permissions

Suppose the pilot summarises approved project notes and posts a weekly update. Its starting boundary should be those notes and a designated destination. Access to customer mailboxes, unrelated folders or CRM updates needs a separate explanation.

Ask the implementer to translate each OAuth scope, or permission, into a business action: read channel history, send a message, download files or change a contact. Check whose identity the app uses and which resources that identity can access.

A workflow filter is not necessarily an access restriction. “We configured it to read this folder” does not establish that its credentials cannot read other folders. Separate the workflow's intended behaviour from the permissions enforced by the connected system. If a connector requires broader access than the task warrants, consider a smaller test account, an approved data copy or another connector.

Use five checks to make the approval decision

Check Evidence to request Narrow or pause the pilot when…
Purpose and permissions Required actions mapped to exact scopes Access has no explanation tied to the task
Data boundary Accessible resources and every destination for copied data A small test needs unexplained organisation-wide access
Ownership Business owner, technical backup and credential administrator Only the installer can manage the connection
Cost and workload Spend controls, run limits and retry settings An alert is being treated as an automatic stop
Shutdown Tested steps for pausing, revoking and handling queued work Nobody can demonstrate a controlled stop
Approve a bounded pilot, reduce its access or pause it until the missing evidence is available.

Record the agreement before connecting live data

Keep a one-page access record with the pilot brief. Include its purpose, connected systems, exact scopes, permitted resources, output destinations, owners, spending boundary and review date. Record where credentials are managed; keep the secrets themselves out of the document.

Read-only access still needs review. Trace information through the automation platform, model provider, execution logs and final output. A summary posted to a broadly accessible channel can expose information even when the source documents remain unchanged.

For agency teams, agree who controls installation, billing and revocation during delivery and after handover. Where client ownership is intended, establish it during setup. Revisit the record when someone reconnects the app, requests additional scopes or enables another feature.

Check the controls in the connected platforms

Google Workspace: review scopes and access settings

In the Admin console, go to Security → Access and data control → API controls → Manage App Access. Review the app's client ID, users, requested services and scopes.

Google's administrator guidance lists Trusted, Limited, Specific Google data and Blocked settings. Specific Google data lets administrators specify permitted scopes; it does not by itself mean access is limited to selected files. Google also says app details typically appear 24–48 hours after authorisation, so a same-day inventory can be incomplete.

Slack: distinguish bot permissions from user permissions

Slack's scope reference distinguishes bot scopes, which act through the app's own identity, from user scopes, which act on behalf of the authorising user. Prefer a bot when it can do the job, while still checking its scopes and accessible conversations.

For custom apps, Slack supports optional scopes through bot_optional and user_optional in the app manifest. Use them for additional features and test the core workflow with those permissions withheld.

OpenAI API: separate experiments and verify effective access

Use a separate project for the pilot and a dedicated service account for unattended work. Review its permissions and key settings rather than assuming a dedicated identity is automatically narrow.

OpenAI's permissions guidance recommends separating experiments from production, restricting contractors to relevant projects and testing user access with a non-owner account. Check broader organisation roles too: a narrow project role does not cancel permissions granted elsewhere.

Set limits that actually stop work

Check spending and execution controls separately. OpenAI's current documentation distinguishes spend alerts, which notify while traffic continues, from hard spend limits, which cause affected requests to return a 429 error.

Confirm which control is configured. Also bound runs, batch sizes and retries in the workflow itself. A temporary rate limit may justify waiting and retrying; a spending stop needs an owner's attention. Include automation-platform charges when agreeing the pilot budget.

Test the shutdown before expanding the pilot

Using pilot credentials, pause new triggers, revoke access and confirm that the next attempted operation fails safely. Account for schedules, webhooks, refresh tokens and queued jobs. Check that retries stop, an owner receives a useful notification and partial runs remain visible.

Before restarting, decide whether queued items should be discarded, reviewed or replayed, and how duplicate messages or updates will be avoided. Have a second authorised person follow the shutdown instructions.

Revocation does not remove information already copied elsewhere. Record the required cleanup of stored files and logs, and confirm the vendor's retention arrangements.

Make one useful pilot ready to hand over

Start with one workflow your team values. Agree its boundaries, test its controls and give it a review date before expanding its access.

Greg can help review the permissions, resolve ownership questions with your team or agency, and produce a practical cleanup and handover plan. Get in touch about reviewing one AI workflow.

Related on GrN.dk

Need help with this kind of work?

Review an AI workflow with Greg Get in touch with Greg.

Sources

Latest articles

Before WooCommerce 11.4 arrives, test your gift guide on a store copy. Choosing Medium should narrow the knitwear grid and leave the sale gifts below it alone.

AI can read the bank account number on a PDF invoice. If it differs from the supplier’s approved account, accounts payable puts the payment on hold and calls the supplier.

Let’s Encrypt moves to 64-day certificates on 10 February 2027. Check when each site renews, test the reload and verify the certificate visitors receive.

Work out which Drupal 10 sites can move to Drupal 11 by 9 December, who can resolve each blocker and how to test publishing and rollback before launch.

See how SharePoint access changes reach internal AI search, and test how long revoked content can still appear in results, generated answers, and citations.

At month-end, reconcile Shopify Payments against your bank statement and e-conomic. Use the payout ID to trace fees, refunds, and payouts that reach your bank the following month.

Trace an intermittent NGINX 502 through Cloudflare, upstream attempts, and application logs so you can see where the request failed and who should pick it up.

Find the apps, scripts and printers that still send mail through Microsoft 365 with a mailbox password, then test a replacement before the December 2026 change.

Find subscriptions and insurance expenses in e-conomic that should be spread over several months. See how AI reads the supporting documents and how your finance lead approves the proposed allocations.

Before relying on an AI project briefing, check which files it covered. A practical workflow for tracking documents, recording gaps and verifying key claims.