AutomationFlowsFinance › Environment Health (academicchain)

Environment Health (academicchain)

Environment Health (AcademicChain). Webhook trigger; 5 nodes.

Webhook trigger★★★★☆ complexity5 nodes
Finance Trigger: Webhook Nodes: 5 Complexity: ★★★★☆ 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": "Environment Health (AcademicChain)",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "GET",
        "path": "env-health",
        "options": {}
      },
      "name": "Webhook_Env_Health",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 1,
      "position": [
        0,
        0
      ]
    },
    {
      "parameters": {
        "conditions": {
          "string": [
            {
              "value1": "={{$json.headers['x-acl-auth-key']}}",
              "operation": "equal",
              "value2": "={{$env.ACL_AUTH_KEY}}"
            }
          ]
        }
      },
      "name": "Auth_Check",
      "type": "n8n-nodes-base.if",
      "typeVersion": 1,
      "position": [
        200,
        0
      ]
    },
    {
      "parameters": {
        "respondWith": "json",
        "responseBody": "{\"error\": \"Unauthorized\"}",
        "options": {
          "responseCode": 401
        }
      },
      "name": "Reject",
      "type": "n8n-nodes-base.respondToWebhook",
      "typeVersion": 1,
      "position": [
        200,
        200
      ]
    },
    {
      "parameters": {
        "jsCode": "const has = (v) => typeof v === 'string' && v.trim().length > 0; const payload = { hedera: has($env.HEDERA_OPERATOR_KEY) || has($env.HEDERA_ACCOUNT_PRIVATE_KEY) || false, xrp: has($env.XRP_SEED) || has($env.XRPL_SECRET) || false, algorand: has($env.ALGORAND_MNEMONIC) || has($env.ALGORAND_PRIVATE_KEY) || false, filecoin: has($env.FILECOIN_API_KEY) || false, acl: has($env.ACL_AUTH_KEY) || false, timestamp: new Date().toISOString() }; return { json: payload };"
      },
      "name": "Compute Env Status",
      "type": "n8n-nodes-base.code",
      "typeVersion": 1,
      "position": [
        400,
        0
      ]
    },
    {
      "parameters": {
        "respondWith": "json",
        "responseBody": "{ \"success\": true, \"env\": {{$json}} }",
        "options": {}
      },
      "name": "Respond",
      "type": "n8n-nodes-base.respondToWebhook",
      "typeVersion": 1,
      "position": [
        600,
        0
      ]
    }
  ],
  "connections": {
    "Webhook_Env_Health": {
      "main": [
        [
          {
            "node": "Auth_Check",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Auth_Check": {
      "main": [
        [
          {
            "node": "Compute Env Status",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Reject",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Compute Env Status": {
      "main": [
        [
          {
            "node": "Respond",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Pro

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

About this workflow

Environment Health (AcademicChain). Webhook trigger; 5 nodes.

Source: https://github.com/Aether-Connect-Labs/AcademicChain-Ledger/blob/main/n8n/workflows/env-health.json — original creator credit. Request a take-down →

More Finance workflows → · Browse all categories →

Related workflows

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

Finance

This workflow automates the process of recording successful payments from Stripe into QuickBooks by creating corresponding Sales Receipts. It ensures payment data is captured accurately, checks whethe

QuickBooks, Stripe
Finance

This n8n workflow automates the integration between Xero and FileMaker, allowing for seamless data transfer between the two platforms. By listening for webhooks from Xero (e.g., new invoices, payments

Crypto, Move Binary Data, Filemaker
Finance

Integrate Xero with FileMaker using Webhooks. Uses crypto, moveBinaryData, filemaker. Webhook trigger; 11 nodes.

Crypto, Move Binary Data, Filemaker
Finance

Auth Mock Service. Webhook trigger; 8 nodes.

Finance

Check Accounts Service. Webhook trigger; 8 nodes.