Skip to content
NEWMarketplace and your team: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Documents, PDF & OCR

Documents, PDF & OCR

Detect scope creep in Gmail requests against SOWs with OpenAI and Google Docs

Watches Gmail for new emails from mapped client domains, reads each client's SOW from Google Docs, and uses OpenAI to flag requests that fall outside the agreed scope.

What it does

## Detect scope creep in client emails against your SOW with Gmail, OpenAI and Google Sheets Who's it for Agencies, consultants and freelancers who lose margin to scope creep. "Can you just quickly add..." emails get done for free because nobody checks them against the contract. How it works 1. A Gmail trigger watches your inbox. Emails from client domains you've mapped to a statement of work (SOW) are picked up; everything else is ignored. 2. The client's SOW is read live from Google Docs, so contract edits apply instantly. 3. OpenAI compares the request with the SOW. It returns a verdict (in scope, out of scope or unclear), the clause it relied on, an effort estimate in hours and a polite change-order reply. Emails that aren't requests are dropped. 4. Every request is logged to a Scope Log sheet with its verdict, estimated hours and value at your rate. That gives you a running ledger of unbilled work per client for renewal and upsell conversations. 5. For out-of-scope or unclear requests, your team gets a Slack alert. The change-order reply is saved as a Gmail draft in the same thread. Nothing is sent without you. How to set up 1. Create a Google Sheet tab named Scope Log with these headers: checked_at, client_domain, from_email, subject, request_summary, verdict, matching_clause, estimated_hours, estimated_value, thread_link. 2. In Configure settings, map each client email domain to its SOW Google Doc URL in client_sow_map. Add the Sheet ID, hourly rate, currency, Slack channel and sign-off name. 3. Connect Gmail (trigger and draft node), Google Docs, Google Sheets, OpenAI and Slack credentials, then activate. Requirements Gmail, Google Docs (one doc per client SOW), Google Sheets, an OpenAI API key and Slack. How to customize - Tune the reply tone in the AI prompt. - Change the trigger's Gmail search to watch a shared client inbox. - Add a monthly summary that totals estimated_value per client from the Scope Log.

The steps

  1. New client email
  2. Configure settings
  3. Match client SOW
  4. Get client SOW
  5. Check request against SOW
  6. OpenAI Chat Model
  7. Structured Output Parser
  8. Drop non-requests
  9. Prepare scope record
  10. Log to Scope Log
  11. Needs attention?
  12. Alert team in Slack
  13. Save change-order draft
  14. In scope: logged only

Similar automations