🔬 Monitor bank transactions with multi-channel alerts for accounting teams

457 views · 🔬 Document Extraction & Analysis

Description

Enhance financial oversight with this automated n8n workflow. Triggered every 5 minutes, it fetches real-time bank transactions via an API, enriches and transforms the data, and applies smart logic to detect critical, high, and medium priority alerts based on error conditions, amounts, or risk scores. It sends multi-channel notifications via email and Slack, logs all data to Google Sheets, and generates summary statistics for comprehensive tracking. 💰🚨

Key Features

How It Works

  1. Schedule Trigger: Runs every 5 minutes.
  2. Fetch Transactions: HTTP request retrieves real-time transaction data.
  3. API Error?: If condition for error logic is met, sends error alert.
  4. Enrich & Transform Data: Advanced risk calculation enhances data.
  5. Critical Alert?: If condition (50% or risk > 8) is met, raises alert.
  6. High Priority?: If condition (5% or risk > 7) is met, raises alert.
  7. Medium Priority?: If condition is met, raises alert.
  8. Log Priority to Sheet: Google Sheets appends critical, high, or medium priority data.
  9. Send Critical Email: HTML email to execute sheets append.
  10. Send High Priority Email: Email to finance team.
  11. Send High Priority Slack: Slack notification to finance team.
  12. Send Medium Priority Email: Email to finance team.
  13. Merge All Alerts: Combines all alerts for comprehensive tracking.
  14. Generate Summary Stats: Code block for analytics.
  15. Log Summary to Sheet: Summary statistics storage.

Setup Instructions

Prerequisites

Google Sheet Structure:

  1. Create a sheet with columns:
    • Transaction ID
    • Amount
    • Date
    • Risk Score
    • Priority (Critical/High/Medium)
    • Alert Sent
    • Summary Stats
    • Updated At

Modification Options

Discover more workflows – Get in touch with us

🔗 Nodes Used

Send Email, Google Sheets, HTTP Request, Slack, Schedule Trigger

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup