{"product_id":"openai-gmail-sanctions-pre-assessment-workflow-n8n","title":"OpenAI + Gmail Sanctions Pre-Assessment Workflow (n8n)","description":"\u003ch3\u003ePre-assess potential OpenAI + Gmail sanctions hits—before a human review\u003c\/h3\u003e\n\u003cp\u003eThe \u003cstrong\u003eOpenAI + Gmail Sanctions Pre-Assessment Workflow (n8n)\u003c\/strong\u003e receives counterparty details through a header-authenticated webhook, screens them against \u003cstrong\u003eOFAC SDN\/alias\u003c\/strong\u003e and \u003cstrong\u003eUN consolidated sanctions\u003c\/strong\u003e lists, uses an \u003cstrong\u003eOpenAI-powered agent\u003c\/strong\u003e to pre-assess likely matches, and routes outcomes to \u003cstrong\u003ehuman review via Gmail\u003c\/strong\u003e—with optional \u003cstrong\u003efour-eyes approval\u003c\/strong\u003e.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReceives and validates requests:\u003c\/strong\u003e Accepts a POST payload on a \u003cstrong\u003eheader-authenticated webhook\u003c\/strong\u003e, validates the input, and generates a stable match key for the counterparty.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAvoids re-screening:\u003c\/strong\u003e Checks prior results in an \u003cstrong\u003en8n Data Table\u003c\/strong\u003e and returns an \u003cem\u003eexisting open case\u003c\/em\u003e or a \u003cem\u003erecent clear result\u003c\/em\u003e instead of re-running the full workflow.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCreates and tracks a case:\u003c\/strong\u003e Opens a new case in the Data Table, assigns a \u003cstrong\u003ecase ID\u003c\/strong\u003e, downloads \u003cstrong\u003eOFAC SDN\u003c\/strong\u003e, \u003cstrong\u003eOFAC alias\u003c\/strong\u003e, and \u003cstrong\u003eUN consolidated\u003c\/strong\u003e lists, and performs \u003cstrong\u003efuzzy name matching\u003c\/strong\u003e to identify candidate hits.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePre-assesses with OpenAI:\u003c\/strong\u003e If candidates are found, sends the subject and candidates to an \u003cstrong\u003eOpenAI agent\u003c\/strong\u003e to produce a structured assessment. The agent can also check prior decisions stored in the Data Table and optionally query the \u003cstrong\u003eGLEIF LEI register\u003c\/strong\u003e for entity context.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRoutes to human decision via Gmail:\u003c\/strong\u003e Emails the case summary to a reviewer using \u003cstrong\u003eGmail\u003c\/strong\u003e, then waits for a decision in an \u003cstrong\u003en8n form\u003c\/strong\u003e to mark false positive, escalate, or ask up to \u003cstrong\u003etwo follow-up questions\u003c\/strong\u003e to the agent.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOptional four-eyes approval:\u003c\/strong\u003e If required, requests a second approver’s confirmation via \u003cstrong\u003eGmail approval\u003c\/strong\u003e, escalates on rejection\/timeouts, and enforces reviewer\/approver separation.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eLogs final outcome:\u003c\/strong\u003e Writes the final decision back to the \u003cstrong\u003en8n Data Table\u003c\/strong\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eSanctions screening triage for SaaS onboarding: reduce manual effort by pre-assessing likely OFAC\/UN matches.\u003c\/li\u003e\n  \u003cli\u003eCounterparty due diligence for finance\/compliance teams using n8n automation.\u003c\/li\u003e\n  \u003cli\u003eWorkflow-enabled governance with four-eyes review for higher-risk cases.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n nodes:\u003c\/strong\u003e \u003cem\u003eif\u003c\/em\u003e, \u003cem\u003eset\u003c\/em\u003e, \u003cem\u003ecode\u003c\/em\u003e, \u003cem\u003ewait\u003c\/em\u003e, \u003cstrong\u003egmail\u003c\/strong\u003e, \u003cem\u003eswitch\u003c\/em\u003e\n\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eData storage:\u003c\/strong\u003e n8n \u003cstrong\u003eData Table\u003c\/strong\u003e for case tracking and decision history\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSanctions sources:\u003c\/strong\u003e \u003cstrong\u003eOFAC SDN\u003c\/strong\u003e, \u003cstrong\u003eOFAC alias\u003c\/strong\u003e, and \u003cstrong\u003eUN consolidated\u003c\/strong\u003e lists\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAI assessment:\u003c\/strong\u003e \u003cstrong\u003eOpenAI agent\u003c\/strong\u003e with optional \u003cstrong\u003eGLEIF LEI register\u003c\/strong\u003e checks\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46275601891507,"sku":"N8N-21515","price":26.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/sExsVkqR0Nbf1UcV3jvwP_NZHX2XV1.png?v=1792832644","url":"https:\/\/buyflowscripts.com\/products\/openai-gmail-sanctions-pre-assessment-workflow-n8n","provider":"N8N Commerce","version":"1.0","type":"link"}