Library / Finance, Invoices & Accounting
Finance, Invoices & Accounting
Score refund requests for fraud from a webhook with approval checks and audit trail
Runs on each refund request sent to a webhook: validates it, calls an external fraud risk API, runs multi-level approvals and returns a decision with an audit trail.
What it does
## Automated Refund Investigation Engine Receives a refund request, runs fraud risk scoring, performs multi-level approval checks, and returns a final refund decision with full audit trail. ### All nodes (1-line each) 1. Webhook - Refund Request – Receives the refund investigation payload via POST. 2. Code - Validate & Score Fraud Risk – Validates the request and calculates fraud risk score + required approval levels. 3. Wait - Pre Fraud Check – Short pause before external fraud service call. 4. HTTP Request - Fraud Service Check – Calls external fraud / risk scoring API. 5. Wait - Pre Level 1 Approval – Pause before Level-1 (support / auto) approval check. 6. HTTP Request - Level 1 Approver – Notifies or checks Level-1 approver. 7. Wait - Pre Level 2 Approval – Pause before Level-2 (finance / risk) approval check. 8. HTTP Request - Level 2 Approver – Notifies or checks Level-2 approver. 9. HTTP Request - Process Refund / Reject – Executes the refund or records rejection at payment gateway. 10. Code - Build Final Decision – Aggregates fraud score + approval results into final approve/reject decision + audit trail. 11. Respond to Webhook – Returns the complete investigation report to the caller.
The steps
- Webhook - Refund Request
- Code - Validate & Score Fraud Risk
- Wait - Pre Fraud Check
- HTTP Request - Fraud Service Check
- Wait - Pre Level 1 Approval
- HTTP Request - Level 1 Approver
- Wait - Pre Level 2 Approval
- HTTP Request - Level 2 Approver
- HTTP Request - Process Refund / Reject
- Code - Build Final Decision
- Respond to Webhook
Similar automations
AI Agents & AssistantsTriage Shopify refund and fraud requests with Gemini, Sightengine, Jira and Slack19 stepsFinance, Invoices & AccountingForecast cash position from bank, invoice and payment schedule APIs11 stepsFinance, Invoices & AccountingInvoice and Refund Telegram Stars Payments21 stepsWeb Scraping & ResearchAudit Google Maps local leads with Apify Local Lead Audit and Google Sheets8 steps