AutomationFlowsAI & RAG › Loan Approval with Verifiable Decision Receipts

Loan Approval with Verifiable Decision Receipts

Loan Approval with Verifiable Decision Receipts. Uses openAi, n8n-nodes-signatrust. Webhook trigger; 5 nodes.

Webhook trigger★★☆☆☆ complexityAI-powered5 nodesOpenAIN8N Nodes Signatrust
AI & RAG Trigger: Webhook Nodes: 5 Complexity: ★★☆☆☆ AI nodes: yes Added:

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "name": "Loan Approval with Verifiable Decision Receipts",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "loan-approval",
        "options": {},
        "responseMode": "responseNode"
      },
      "id": "733c286f-872b-4a96-b8b5-da8e4dc94e65",
      "name": "Loan Approval",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2.1,
      "position": [
        0,
        300
      ]
    },
    {
      "parameters": {
        "modelId": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o",
          "cachedResultName": "GPT-4O"
        },
        "messages": {
          "values": [
            {
              "role": "system",
              "content": "=You are a loan underwriting AI. Decide APPROVE or REJECT with reasons. JSON: {\"decision\":\"APPROVE|REJECT\",\"reason\":\"...\",\"amount\":0}."
            },
            {
              "content": "=Return JSON only.\n\nInput:\n{{ JSON.stringify($json.body) }}"
            }
          ]
        },
        "jsonOutput": true,
        "options": {}
      },
      "id": "1d71a5b0-38f3-456d-b70d-2badda120b03",
      "name": "AI Decision",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "typeVersion": 2.1,
      "position": [
        220,
        300
      ],
      "credentials": {
        "openAiApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "operation": "generateReceipt",
        "agentName": "LoanUnderwritingAgent",
        "workflowName": "={{ $workflow.name }}",
        "action": "={{ 'AI decision: ' + ($json.message.content.decision || $json.message.content.recommendation || 'completed') }}",
        "decision": "={{ JSON.stringify($json.message.content) }}",
        "additionalFields": {
          "modelProvider": "openai",
          "modelUsed": "gpt-4o",
          "decisionType": "loan_decision",
          "riskLevel": "high",
          "humanReview": true,
          "policies": "eu-ai-act-high-risk, fair-lending-ecoa",
          "permissions": "credit.decide",
          "tags": "finance, loan, lending"
        }
      },
      "id": "1be73bd5-549f-4411-ada3-67aab57bbafd",
      "name": "Signatrust: Receipt",
      "type": "n8n-nodes-signatrust.signatrust",
      "typeVersion": 1,
      "position": [
        440,
        300
      ],
      "credentials": {
        "signatrustApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "respondWith": "json",
        "responseBody": "={{ { status:\"OK\", receipt_id:$json.id, decision:$('AI Decision').item.json.message.content } }}",
        "options": {}
      },
      "id": "c3940436-8377-4341-adaa-6624dac2be98",
      "name": "Respond",
      "type": "n8n-nodes-base.respondToWebhook",
      "typeVersion": 1.1,
      "position": [
        660,
        300
      ]
    },
    {
      "parameters": {
        "content": "## Loan Approval with Verifiable Decision Receipts\n**Why Signatrust?** Every AI decision here becomes a tamper-evident, Ed25519-signed receipt \u2014 verifiable for audits and disputes.",
        "height": 170,
        "width": 420,
        "color": 5
      },
      "id": "6e3ee3ef-39ca-4d54-8469-48d12710e43f",
      "name": "Sticky Note f31439",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        -40,
        40
      ]
    }
  ],
  "connections": {
    "Loan Approval": {
      "main": [
        [
          {
            "node": "AI Decision",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Decision": {
      "main": [
        [
          {
            "node": "Signatrust: Receipt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Signatrust: Receipt": {
      "main": [
        [
          {
            "node": "Respond",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "tags": [
    {
      "name": "Loan Approval \u2014 finance"
    },
    {
      "name": "Loan Approval \u2014 loan"
    },
    {
      "name": "Loan Approval \u2014 lending"
    },
    {
      "name": "Signatrust (7)"
    }
  ],
  "meta": {
    "templateCredsSetupCompleted": false
  },
  "versionId": "a13f60b0-5e72-41f6-ada0-f463573ccb97"
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

Loan Approval with Verifiable Decision Receipts. Uses openAi, n8n-nodes-signatrust. Webhook trigger; 5 nodes.

Source: https://github.com/abokenan444/n8n-signatrust-workflows/blob/main/workflows/07-loan-approval.json — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

HR Resume Screening with Verifiable Decision Receipts. Uses openAi, n8n-nodes-signatrust, gmail. Webhook trigger; 5 nodes.

OpenAI, N8N Nodes Signatrust, Gmail
AI & RAG

Insurance Claim Assessment with Verifiable Decision Receipts. Uses openAi, n8n-nodes-signatrust, googleSheets. Webhook trigger; 5 nodes.

OpenAI, N8N Nodes Signatrust, Google Sheets
AI & RAG

Transaction Fraud Screening with Verifiable Decision Receipts. Uses openAi, n8n-nodes-signatrust, slack. Webhook trigger; 5 nodes.

OpenAI, N8N Nodes Signatrust, Slack
AI & RAG

Chargeback Dispute Decision with Verifiable Decision Receipts. Uses openAi, n8n-nodes-signatrust. Webhook trigger; 5 nodes.

OpenAI, N8N Nodes Signatrust
AI & RAG

Support Ticket Prioritization with Verifiable Decision Receipts. Uses openAi, n8n-nodes-signatrust, googleSheets. Webhook trigger; 5 nodes.

OpenAI, N8N Nodes Signatrust, Google Sheets