Multi-Chain Blockchain Audit Reporting and Archival System - n8n Workflow

Automate Ethereum and Solana transaction auditing. This robust n8n workflow generates PDF reports, calculates risk scores, and archives data in Google Drive and Notion.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?

Blockchain compliance officers needing automated, auditable transaction monitoring.
Finance teams requiring instant reports on high-value crypto transfers.
Developers seeking advanced n8n templates for complex multi-step financial automation.
Enterprises utilizing n8n to integrate decentralized ledger technologies (DLT) with traditional back-office systems like Notion and Google Drive.

Overview

This enterprise-grade n8n workflow provides crucial, real-time automation for monitoring and auditing transactions across multiple leading blockchains, specifically Ethereum and Solana. The solution leverages a dedicated n8n trigger, the Blockchain Event Webhook, to ingest external transaction events.

The core strength of this n8n workflow lies in its custom scripting capabilities, where a dedicated n8n node processes raw transaction data, calculates a proprietary compliance risk score (0-100), and validates regulatory requirements. Once processed, the system simultaneously generates a professional PDF audit report via an external API, archives the file securely in Google Drive, logs the structured data into a compliance database in Notion, and sends immediate notifications to the finance and compliance teams via the SMTP n8n node. This comprehensive approach ensures total auditability and rapid response to critical financial activity, making it one of the most powerful n8n templates available for decentralized finance operations.

How it Works


  1. Trigger Event: The n8n workflow starts using the Blockchain Event Webhook n8n trigger when an external service posts new Ethereum or Solana transaction data to the defined path (/blockchain-transaction).

  2. Data Retrieval: The incoming data is passed simultaneously to the Ethereum Transaction Monitor (Alchemy API) and Solana Transaction Monitor n8n nodes to fetch enriched transaction details.

  3. Processing and Scoring: The Transaction Data Processor code n8n node cleanses the combined input, normalizes fields for both chains, and executes the custom JavaScript logic to calculate the dynamic riskScore and perform initial complianceStatus checks, producing a detailed audit structure.

  4. Parallel Reporting: The flow branches out to three parallel tasks: generating the audit PDF, creating the Notion database entry, and initiating smart contract verification.

  5. PDF Generation & Archival: The Audit Report PDF Generator n8n node utilizes an external service (APITemplate.io) to create a PDF. This binary file is immediately uploaded and archived in Google Drive by the Upload to Google Drive n8n node.

  6. Notion Logging & Notification: Simultaneously, the Create Notion Audit Entry n8n node records essential metadata and risk scores in a designated Notion database. Following this, the Finance Team Notification n8n node sends a detailed SMTP email alert to all relevant parties.

  7. Verification and Finalization: The Smart Contract Audit Trail n8n node conditionally queries Etherscan or Solscan for contract ABI verification. The n8n workflow concludes by sending a 200 OK response via the Webhook Response n8n node.

Installation Guide


  1. Import the n8n Workflow: Copy the provided JSON data and paste it into your n8n canvas using the 'New' button, selecting 'Import from JSON'.

  2. Credential Setup: This complex n8n workflow requires several credentials to function correctly:

HTTP Header Auth: Set up credentials for external APIs, specifically for Alchemy (Ethereum Monitoring) and APITemplate.io (PDF generation).
Google Drive OAuth2 API: Authorize the connection for the Upload to Google Drive n8n node.
Notion API: Configure access and ensure the correct Audit Database ID is provided in the credentials or directly in the Create Notion Audit Entry n8n node parameters.
SMTP: Configure your SMTP server details for the Finance Team Notification n8n node.

  1. Activate the Webhook n8n trigger: Activate the workflow and capture the unique webhook URL for the Blockchain Event Webhook. This URL must be provided to your external blockchain monitoring service for triggering the automation.

Node Details

Blockchain Event Webhook (n8n trigger): The starting point of the n8n workflow. It is configured as a POST method on the path /blockchain-transaction to receive transaction data.
Ethereum Transaction Monitor & Solana Transaction Monitor (HTTP Request n8n node): These nodes use different HTTP requests to retrieve specific, enriched blockchain data, one using the Alchemy API and the other the Solana mainnet endpoint.
Transaction Data Processor (Code n8n node): This is a custom code node performing core business logic. It handles data normalization, calculates a custom risk score (0-100), and checks for compliance status, critical for the auditing process within this n8n workflow.
Audit Report PDF Generator (HTTP Request n8n node): This n8n node uses a third-party service (APITemplate.io) to dynamically convert the processed audit JSON into a standardized PDF report.
Upload to Google Drive (Google Drive n8n node): Archives the binary PDF file. The filename is dynamically constructed using expressions like BlockchainAuditReport_{{ $json.transactionHash }}.pdf.
Create Notion Audit Entry (Notion n8n node): Logs critical audit metadata, including the calculated risk score and compliance status, into a Notion database for tracking.


  • Finance Team Notification (Email Send n8n node): Sends immediate, detailed email alerts to the finance team, with CCs to compliance, whenever a new audit report is generated.

Related n8n Workflows

Free

Nodes: 8 Nodes
Updated: December 26 2025
View all
Created by

Helping business owners & marketers automate their processes with n8n. Specialist in custom workflows, API integrations, and template development. 📈 100+ successful automation projects 🔧 Premium n8n templates available 💡 Free consultation for custom automation Book a consultation for your business digital transformation!"