Re-screen a customer sheet against the OFAC sanctions list with Google Sheets and Slack
Ready for 3.0What this workflow does
This workflow has 17 nodes and runs on a schedule (every day at 02:00). Along the way it connects Google Sheets and Slack.
How it runs
Trigger: On a schedule (every day at 02:00).
- Screening Settings (Edit Fields (Set)): sets 9 fields: sanctions_list_url, alias_list_url, match_threshold…
- Download The Sanctions List (HTTP Request): calls an HTTP API
- Download The Alias List (HTTP Request): calls an HTTP API
- Read The Reviewed Matches (Google Sheets): uses Google Sheets
- Read The Customer Sheet (Google Sheets): uses Google Sheets
- Drop Duplicate Customer Rows (Remove Duplicates): removes duplicate items
- Skip Rows Screened Recently (Filter): keeps only the items that match a condition
- Screen Every Customer (Code): runs custom JavaScript code
- What Should Happen To This Row? (Switch): routes items into 2 branches
- Summarise What This Run Found (Code): runs custom JavaScript code
…plus 5 more steps. See the full node list below.
Services it uses
Other Google Sheets + Slack templates (1,314)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (11)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Google Sheets
n8n-nodes-base.googleSheets - Remove Duplicates
n8n-nodes-base.removeDuplicates - Filter
n8n-nodes-base.filter - Code
n8n-nodes-base.code - Switch
n8n-nodes-base.switch - Slack
n8n-nodes-base.slack - If
n8n-nodes-base.if - No Operation, do nothing
n8n-nodes-base.noOp
From the author
Quick overview Every night this workflow re-screens each customer in a Google Sheet against the public OFAC sanctions list and its alias file, writes the result back into the sheet, remembers matches a reviewer already cleared, and alerts Slack when a hit…