Order ops → risk check → alert + ledger (Shopify → Slack/Sheets)
Résumé rapide
Déclencheur
Shopify - New Paid Order
Étapes
6
Parcours
Shopify - New Paid Order → Code - Compute margin + tag VIP customers → IF: High-risk / high-value? → Slack - Post Order Alert (#ops) → Google Sheets - Append Order Row
Lanes
3
Intégrations
Google Sheets, n8n, Shopify, Slack
Code FlowZap
commerce { # Commerce
n1: rectangle label:"Shopify - New Paid Order" system:"Shopify"
n2: rectangle label:"Code - Compute margin + tag VIP customers" system:"n8n"
n3: diamond label:"IF: High-risk / high-value?" system:"n8n"
n1.handle(right) -> n2.handle(left) [label="Order payload"]
n2.handle(right) -> n3.handle(left) [label="Scoring"]
}
ops { # Ops
n4: rectangle label:"Slack - Post Order Alert (#ops)" system:"Slack"
n5: rectangle label:"Slack - Post Message (#fraud-review)" system:"Slack"
n3.handle(bottom) -> ops.n4.handle(top) [label="No → Normal"]
n3.handle(right) -> ops.n5.handle(left) [label="Yes → Review"]
}
accounting { # Accounting
n6: rectangle label:"Google Sheets - Append Order Row" system:"Google Sheets"
ops.n4.handle(right) -> accounting.n6.handle(left) [label="Log order"]
ops.n5.handle(bottom) -> accounting.n6.handle(top) [label="Log flagged"]
}