{"product_id":"n8n-contract-risk-triage-gpt-4o-slack-gmail-automation","title":"n8n Contract Risk Triage: GPT-4o + Slack + Gmail Automation","description":"\u003ch3\u003eGPT-4o contract risk triage that escalates in Slack and emails a clear summary—fully automated in n8n\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow receives contract submissions, extracts and cleans contract text via a document-parsing\/OCR API, analyzes clause-level risk with \u003cstrong\u003eGPT-4o\u003c\/strong\u003e, then automatically escalates high-risk cases to \u003cstrong\u003eSlack\u003c\/strong\u003e and emails a risk summary to the requester via \u003cstrong\u003eGmail\u003c\/strong\u003e. Results are logged to \u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e and returned to the original webhook caller.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReceives a contract\u003c\/strong\u003e through a POST \u003cstrong\u003ewebhook\u003c\/strong\u003e with fields like \u003cem\u003econtract_name\u003c\/em\u003e and \u003cem\u003erequester_email\u003c\/em\u003e, plus the document reference expected by your parser.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eExtracts contract text\u003c\/strong\u003e by sending the document to an external document-parsing\/OCR \u003cstrong\u003eHTTP Request\u003c\/strong\u003e API to obtain clean text.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePerforms clause risk analysis\u003c\/strong\u003e using \u003cstrong\u003eOpenAI (GPT-4o)\u003c\/strong\u003e, returning structured JSON including overall risk, flagged clauses, missing clauses, and a summary.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eTriages based on overall risk\u003c\/strong\u003e using an \u003cstrong\u003eif\u003c\/strong\u003e check for “high risk.”\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eEscalates high-risk reviews\u003c\/strong\u003e by posting a Slack message with the contract name and top issues.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNotifies requesters for non-high-risk cases\u003c\/strong\u003e by sending a \u003cstrong\u003eGmail\u003c\/strong\u003e email containing the overall risk and summary.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eLogs everything\u003c\/strong\u003e by appending the review output to a Google Sheets “Contract Register” and responding to the webhook caller with the overall risk value.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eContract Intake in a portal\/CLM\/email-to-webhook flow that needs instant \u003cstrong\u003econtract risk triage\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003eLegal ops teams who want \u003cstrong\u003eSlack escalation\u003c\/strong\u003e only when risk is high, reducing noise.\u003c\/li\u003e\n  \u003cli\u003eSaaS operators needing an auditable \u003cstrong\u003eContract Register\u003c\/strong\u003e for every review outcome.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNodes\/stack:\u003c\/strong\u003e webhook, HTTP Request (doc-parsing\/OCR API), OpenAI (GPT-4o), if, Slack, Gmail, Google Sheets (Contract Register), sticky note.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSetup highlights:\u003c\/strong\u003e configure the intake webhook URL; update HTTP Request node with your parser endpoint\/auth headers; add \u003cstrong\u003eOpenAI\u003c\/strong\u003e credentials and ensure \u003cstrong\u003egpt-4o\u003c\/strong\u003e is available.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45869895745715,"sku":"N8N-18441","price":46.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/8pimNTUws-eVrx41L6QcK_2ebdB3k8.png?v=1787130450","url":"https:\/\/buyflowscripts.com\/products\/n8n-contract-risk-triage-gpt-4o-slack-gmail-automation","provider":"N8N Commerce","version":"1.0","type":"link"}