Automatisation de documents d'entreprise de niveau blockchain : prend en charge les rapports d'audit de transactions multi-chain et s'intègre à Google Drive et Notion
Ceci est unDocument Extraction, AI Summarizationworkflow d'automatisation du domainecontenant 20 nœuds.Utilise principalement des nœuds comme Code, Notion, Webhook, EmailSend, GoogleDrive. Générer des rapports d'audit pour les blockchains Ethereum et Solana, avec export PDF vers Drive et Notion
- •Clé API Notion
- •Point de terminaison HTTP Webhook (généré automatiquement par n8n)
- •Informations d'identification Google Drive API
- •Peut nécessiter les informations d'identification d'authentification de l'API cible
Nœuds utilisés (20)
Catégorie
{
"id": "qJ787oClYEkl9Kz1",
"meta": {
"instanceId": "b14f5dd921befc4584084cc386aea593f73c7c2b00b50933075d7967a4d1c502",
"templateCredsSetupCompleted": true
},
"name": "Enterprise Blockchain Document Automation: Multi-Chain Transaction Audit Reports with Google Drive & Notion Integration",
"tags": [
{
"id": "6Bd5Rth2OTf9nq38",
"name": "blockchain",
"createdAt": "2025-09-13T02:05:07.482Z",
"updatedAt": "2025-09-13T02:05:07.482Z"
},
{
"id": "QOxbZB87U6rb2Fqo",
"name": "solana",
"createdAt": "2025-09-13T02:05:15.567Z",
"updatedAt": "2025-09-13T02:05:15.567Z"
},
{
"id": "IskMuxAEm0XglOir",
"name": "eth",
"createdAt": "2025-09-13T02:05:18.129Z",
"updatedAt": "2025-09-13T02:05:18.129Z"
},
{
"id": "4fhXioaB07FYjgDU",
"name": "audit",
"createdAt": "2025-09-13T02:05:29.474Z",
"updatedAt": "2025-09-13T02:05:29.474Z"
}
],
"nodes": [
{
"id": "b9741788-3c54-4060-85f3-e227c7ed0f9c",
"name": "Événement Blockchain Webhook",
"type": "n8n-nodes-base.webhook",
"position": [
-448,
240
],
"webhookId": "07f4d8d3-e797-4cb9-9591-01a9f4a951b3",
"parameters": {
"path": "blockchain-transaction",
"options": {},
"httpMethod": "POST",
"responseMode": "responseNode"
},
"typeVersion": 1
},
{
"id": "dfcaa9a6-8eee-432f-ac39-28ca989d1233",
"name": "Moniteur de Transactions Ethereum",
"type": "n8n-nodes-base.httpRequest",
"position": [
-16,
208
],
"parameters": {
"url": "https://api.alchemy.com/v2/{{ $credentials.alchemy.apiKey }}/",
"method": "POST",
"options": {},
"sendBody": true,
"sendHeaders": true,
"authentication": "genericCredentialType",
"bodyParameters": {
"parameters": []
},
"genericAuthType": "httpHeaderAuth",
"headerParameters": {
"parameters": [
{
"name": "Content-Type",
"value": "application/json"
}
]
}
},
"credentials": {
"httpHeaderAuth": {
"id": "BByciG6fcfsvVecy",
"name": "Header Auth account"
}
},
"typeVersion": 3
},
{
"id": "7e3fa61b-7293-493b-87ac-6d334af4a917",
"name": "Moniteur de Transactions Solana",
"type": "n8n-nodes-base.httpRequest",
"position": [
-16,
608
],
"parameters": {
"url": "https://api.mainnet-beta.solana.com",
"method": "POST",
"options": {},
"sendBody": true,
"sendHeaders": true,
"bodyParameters": {
"parameters": [
{}
]
},
"headerParameters": {
"parameters": [
{
"name": "Content-Type",
"value": "application/json"
}
]
}
},
"typeVersion": 3
},
{
"id": "fed4d819-3ad5-4c7e-ab53-30bfafa78064",
"name": "Processeur de Données de Transaction",
"type": "n8n-nodes-base.code",
"position": [
320,
464
],
"parameters": {
"jsCode": "\n// Process blockchain transaction data\nconst processTransactionData = (items) => {\n const processedData = items.map(item => {\n const data = item.json;\n\n // Extract key transaction details\n const transactionData = {\n transactionHash: data.transactionHash || data.signature,\n blockNumber: data.blockNumber || data.slot,\n from: data.from || data.feePayer,\n to: data.to || data.accounts?.[0],\n value: data.value || data.amount,\n gasUsed: data.gasUsed || data.computeUnitsConsumed,\n timestamp: new Date().toISOString(),\n blockchain: data.blockchain || (data.signature ? 'solana' : 'ethereum'),\n contractAddress: data.logs?.[0]?.address || data.programId,\n eventData: data.logs || data.instructions,\n auditTrail: {\n verified: true,\n riskScore: calculateRiskScore(data),\n complianceStatus: checkCompliance(data)\n }\n };\n\n return { json: transactionData };\n });\n\n return processedData;\n};\n\n// Risk scoring algorithm\nconst calculateRiskScore = (data) => {\n let score = 0;\n\n // High value transactions increase risk\n if (parseFloat(data.value || 0) > 1000000) score += 30;\n\n // Unknown addresses increase risk\n if (!data.from || !data.to) score += 20;\n\n // Failed transactions increase risk\n if (data.status === 'failed') score += 40;\n\n // Multiple contract interactions increase risk\n if ((data.logs?.length || 0) > 5) score += 15;\n\n return Math.min(score, 100);\n};\n\n// Compliance check\nconst checkCompliance = (data) => {\n const checks = {\n kycVerified: true, // Placeholder - integrate with KYC service\n sanctionsCheck: true, // Placeholder - integrate with sanctions list\n jurisdictionCompliant: true,\n reportingRequired: parseFloat(data.value || 0) > 10000\n };\n\n return checks;\n};\n\nreturn processTransactionData($input.all());\n"
},
"typeVersion": 2
},
{
"id": "bb5c89d6-a39b-4e31-90be-5116dda92fc9",
"name": "Générateur de Rapport d'Audit PDF",
"type": "n8n-nodes-base.httpRequest",
"position": [
576,
80
],
"parameters": {
"url": "https://api.apitemplate.io/v2/create",
"method": "POST",
"options": {},
"sendBody": true,
"sendHeaders": true,
"authentication": "genericCredentialType",
"bodyParameters": {
"parameters": [
{}
]
},
"genericAuthType": "httpHeaderAuth",
"headerParameters": {
"parameters": [
{
"name": "Content-Type",
"value": "application/json"
}
]
}
},
"credentials": {
"httpHeaderAuth": {
"id": "BByciG6fcfsvVecy",
"name": "Header Auth account"
}
},
"typeVersion": 3
},
{
"id": "c7929f10-68b8-4a9c-b8fd-b1c0431151be",
"name": "Téléverser vers Drive Google",
"type": "n8n-nodes-base.googleDrive",
"position": [
880,
160
],
"parameters": {
"name": "Blockchain_Audit_Report_{{ $json.transactionHash }}_{{ new Date().toISOString().split('T')[0] }}.pdf",
"driveId": {
"__rl": true,
"mode": "list",
"value": "My Drive"
},
"options": {},
"folderId": {
"__rl": true,
"mode": "list",
"value": "root",
"cachedResultName": "/ (Root folder)"
}
},
"credentials": {
"googleDriveOAuth2Api": {
"id": "NUaKJykQqq5DtSNV",
"name": "Google Drive account"
}
},
"typeVersion": 3
},
{
"id": "3745e197-e37b-40d8-80c0-17044fc62ebf",
"name": "Créer une Entrée d'Audit Notion",
"type": "n8n-nodes-base.notion",
"position": [
640,
528
],
"parameters": {
"options": {},
"resource": "databasePage",
"databaseId": "{{ $credentials.notion.auditDatabaseId }}"
},
"credentials": {
"notionApi": {
"id": "10FiuTaIn4tHuWTs",
"name": "Notion account"
}
},
"typeVersion": 2
},
{
"id": "6f2845e7-f7de-41dc-b735-f03e21844bd1",
"name": "Notification à l'Équipe Financière",
"type": "n8n-nodes-base.emailSend",
"position": [
976,
512
],
"webhookId": "9467f8c6-e08f-4b28-95f5-28c7a4b555aa",
"parameters": {
"options": {
"ccEmail": "compliance@company.com",
"bccEmail": "audit-logs@company.com",
"allowUnauthorizedCerts": false
},
"subject": "🔗 New Blockchain Transaction Audit Report - {{ $json.blockchain }} {{ $json.transactionHash }}",
"toEmail": "finance-team@company.com",
"fromEmail": "blockchain-audit@company.com"
},
"credentials": {
"smtp": {
"id": "bu96rpU9INmI4MC5",
"name": "SMTP account"
}
},
"typeVersion": 2
},
{
"id": "ac0c6ef3-9a21-4d49-bbcf-810f49311d5c",
"name": "Piste d'Audit de Smart Contract",
"type": "n8n-nodes-base.httpRequest",
"position": [
816,
896
],
"parameters": {
"url": "{{ $json.blockchain === 'ethereum' ? 'https://api.etherscan.io/api' : 'https://api.solscan.io/transaction' }}",
"method": "POST",
"options": {},
"sendQuery": true,
"sendHeaders": true,
"queryParameters": {
"parameters": [
{
"name": "module",
"value": "contract"
},
{
"name": "action",
"value": "getabi"
},
{
"name": "address",
"value": "{{ $json.contractAddress }}"
},
{
"name": "apikey",
"value": "{{ $credentials.etherscan.apiKey }}"
}
]
},
"headerParameters": {
"parameters": [
{
"name": "Content-Type",
"value": "application/json"
}
]
}
},
"typeVersion": 3
},
{
"id": "ac1c6c14-0e7f-4141-90be-024e252cd3be",
"name": "Réponse Webhook",
"type": "n8n-nodes-base.respondToWebhook",
"position": [
1328,
528
],
"parameters": {
"options": {
"responseCode": 200
}
},
"typeVersion": 1
},
{
"id": "d8780878-0d1c-4b43-9301-80d3365eeba7",
"name": "Note Adhésive",
"type": "n8n-nodes-base.stickyNote",
"position": [
-672,
144
],
"parameters": {
"width": 400,
"height": 224,
"content": "## Blockchain Event Webhook \n**Double click** to edit me. [Guide](https://docs.n8n.io/workflows/sticky-notes/)\nCatatan: Entry point sistem, bisa dipanggil external service"
},
"typeVersion": 1
},
{
"id": "c83c59dc-71cb-442a-938a-ca4596a5c102",
"name": "Note Adhésive1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-224,
80
],
"parameters": {
"width": 336,
"height": 288,
"content": "## Ethereum Transaction Monitor \n**Double click** to edit me. [Guide](https://docs.n8n.io/workflows/sticky-notes/)\nPakai API key Alchemy, ambil data dari eth_getLogs"
},
"typeVersion": 1
},
{
"id": "c308f341-bdde-4676-b2d4-b0e76f002de9",
"name": "Note Adhésive2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-224,
496
],
"parameters": {
"width": 352,
"height": 272,
"content": "## Solana Transaction Monitor\n**Double click** to edit me. [Guide](https://docs.n8n.io/workflows/sticky-notes/)\nDirect ke api.mainnet-beta.solana.com"
},
"typeVersion": 1
},
{
"id": "5e4e9000-a0b8-479f-afa9-11f18713823d",
"name": "Note Adhésive3",
"type": "n8n-nodes-base.stickyNote",
"position": [
160,
336
],
"parameters": {
"width": 272,
"height": 272,
"content": "## Transaction Data Processor\n**Double click** to edit me. [Guide](https://docs.n8n.io/workflows/sticky-notes/)\nAI logic untuk calculate risk (0-100), compliance check"
},
"typeVersion": 1
},
{
"id": "32923617-6012-4339-9608-7061febff7e4",
"name": "Note Adhésive4",
"type": "n8n-nodes-base.stickyNote",
"position": [
432,
-48
],
"parameters": {
"width": 272,
"height": 288,
"content": "## Audit Report PDF Generator\n**Double click** to edit me. [Guide](https://docs.n8n.io/workflows/sticky-notes/)\nPakai APITemplate.io, butuh template ID"
},
"typeVersion": 1
},
{
"id": "c5513557-0cb7-4531-bb4d-59defc2fc013",
"name": "Note Adhésive5",
"type": "n8n-nodes-base.stickyNote",
"position": [
512,
352
],
"parameters": {
"width": 256,
"height": 336,
"content": "## Create Notion Audit Entry\n**Double click** to edit me. [Guide](https://docs.n8n.io/workflows/sticky-notes/)\n\nStruktur: Hash, Blockchain, Risk Score, Date, Link, Compliance"
},
"typeVersion": 1
},
{
"id": "0ebe6e0d-b48f-469b-906b-66d2443c5f0d",
"name": "Note Adhésive6",
"type": "n8n-nodes-base.stickyNote",
"position": [
768,
16
],
"parameters": {
"height": 288,
"content": "## Upload to Google Drive\n**Double click** to edit me. [Guide](https://docs.n8n.io/workflows/sticky-notes/)\nBlockchain_Audit_Report_{hash}_{date}.pdf"
},
"typeVersion": 1
},
{
"id": "b30de4ca-a9cc-436b-a3d9-cbab8583a06a",
"name": "Note Adhésive7",
"type": "n8n-nodes-base.stickyNote",
"position": [
848,
352
],
"parameters": {
"height": 320,
"content": "## Finance Team Notification\n**Double click** to edit me. [Guide](https://docs.n8n.io/workflows/sticky-notes/)\n\nCC compliance, BCC audit-logs, format lengkap"
},
"typeVersion": 1
},
{
"id": "ceddccac-d4af-410f-a8e9-8606496b9f77",
"name": "Note Adhésive8",
"type": "n8n-nodes-base.stickyNote",
"position": [
704,
720
],
"parameters": {
"height": 320,
"content": "## Smart Contract Audit Trail\n**Double click** to edit me. [Guide](https://docs.n8n.io/workflows/sticky-notes/)\n Untuk audit trail blockchain-native\nFungsi: Verify contract ABI via Etherscan/Solscan"
},
"typeVersion": 1
},
{
"id": "e679f575-0e94-4ba8-b4a0-b09ed6c83c93",
"name": "Note Adhésive9",
"type": "n8n-nodes-base.stickyNote",
"position": [
1216,
400
],
"parameters": {
"height": 256,
"content": "## Webhook Response \n**Double click** to edit me. [Guide](https://docs.n8n.io/workflows/sticky-notes/)\nKonfirmasi bahwa semua proses berhasil"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"callerPolicy": "workflowsFromSameOwner",
"executionOrder": "v1",
"executionTimeout": -1
},
"versionId": "36ce51c7-7d40-459c-b3a6-90ca9c2fbe1a",
"connections": {
"c7929f10-68b8-4a9c-b8fd-b1c0431151be": {
"main": [
[
{
"node": "ac1c6c14-0e7f-4141-90be-024e252cd3be",
"type": "main",
"index": 0
}
]
]
},
"b9741788-3c54-4060-85f3-e227c7ed0f9c": {
"main": [
[
{
"node": "dfcaa9a6-8eee-432f-ac39-28ca989d1233",
"type": "main",
"index": 0
},
{
"node": "7e3fa61b-7293-493b-87ac-6d334af4a917",
"type": "main",
"index": 0
}
]
]
},
"3745e197-e37b-40d8-80c0-17044fc62ebf": {
"main": [
[
{
"node": "6f2845e7-f7de-41dc-b735-f03e21844bd1",
"type": "main",
"index": 0
}
]
]
},
"6f2845e7-f7de-41dc-b735-f03e21844bd1": {
"main": [
[
{
"node": "ac1c6c14-0e7f-4141-90be-024e252cd3be",
"type": "main",
"index": 0
}
]
]
},
"bb5c89d6-a39b-4e31-90be-5116dda92fc9": {
"main": [
[
{
"node": "c7929f10-68b8-4a9c-b8fd-b1c0431151be",
"type": "main",
"index": 0
}
]
]
},
"ac0c6ef3-9a21-4d49-bbcf-810f49311d5c": {
"main": [
[
{
"node": "ac1c6c14-0e7f-4141-90be-024e252cd3be",
"type": "main",
"index": 0
}
]
]
},
"7e3fa61b-7293-493b-87ac-6d334af4a917": {
"main": [
[
{
"node": "fed4d819-3ad5-4c7e-ab53-30bfafa78064",
"type": "main",
"index": 0
}
]
]
},
"fed4d819-3ad5-4c7e-ab53-30bfafa78064": {
"main": [
[
{
"node": "bb5c89d6-a39b-4e31-90be-5116dda92fc9",
"type": "main",
"index": 0
},
{
"node": "3745e197-e37b-40d8-80c0-17044fc62ebf",
"type": "main",
"index": 0
},
{
"node": "ac0c6ef3-9a21-4d49-bbcf-810f49311d5c",
"type": "main",
"index": 0
}
]
]
},
"dfcaa9a6-8eee-432f-ac39-28ca989d1233": {
"main": [
[
{
"node": "fed4d819-3ad5-4c7e-ab53-30bfafa78064",
"type": "main",
"index": 0
}
]
]
}
}
}Comment utiliser ce workflow ?
Copiez le code de configuration JSON ci-dessus, créez un nouveau workflow dans votre instance n8n et sélectionnez "Importer depuis le JSON", collez la configuration et modifiez les paramètres d'authentification selon vos besoins.
Dans quelles scénarios ce workflow est-il adapté ?
Avancé - Extraction de documents, Résumé IA
Est-ce payant ?
Ce workflow est entièrement gratuit et peut être utilisé directement. Veuillez noter que les services tiers utilisés dans le workflow (comme l'API OpenAI) peuvent nécessiter un paiement de votre part.
Workflows recommandés
Tegar karunia ilham
@tegarkaruniailhamHelping 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!"
Partager ce workflow