AutomationFlowsGeneral › Multi-chain Event Router

Multi-chain Event Router

Multi-Chain Event Router. Uses n8n-nodes-evmstream. Event-driven trigger; 7 nodes.

Event trigger★★☆☆☆ complexity7 nodesN8N Nodes Evmstream
General Trigger: Event Nodes: 7 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": "Multi-Chain Event Router",
  "nodes": [
    {
      "parameters": {
        "chains": [
          "0x1",
          "0x89",
          "0x2105"
        ],
        "contractAddresses": "0xdAC17F958D2ee523a2206206994597C13D831ec7,0xc2132D05D31c914a87C6611C10748AEb04B58e8F",
        "monitorType": "all",
        "abi": "[]",
        "topic0": "",
        "options": {
          "description": "Multi-chain event monitor"
        }
      },
      "id": "trigger-1",
      "name": "Moralis Streams Trigger",
      "type": "n8n-nodes-evmstream.moralisStreamsTrigger",
      "typeVersion": 1,
      "position": [
        250,
        300
      ],
      "credentials": {
        "moralisStreamsApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "rules": {
          "rules": [
            {
              "output": 0,
              "conditions": {
                "conditions": [
                  {
                    "leftValue": "={{ $json.eventType }}",
                    "rightValue": "logs",
                    "operator": {
                      "type": "string",
                      "operation": "equals"
                    }
                  }
                ]
              }
            },
            {
              "output": 1,
              "conditions": {
                "conditions": [
                  {
                    "leftValue": "={{ $json.eventType }}",
                    "rightValue": "erc20Transfers",
                    "operator": {
                      "type": "string",
                      "operation": "equals"
                    }
                  }
                ]
              }
            },
            {
              "output": 2,
              "conditions": {
                "conditions": [
                  {
                    "leftValue": "={{ $json.eventType }}",
                    "rightValue": "nftTransfers",
                    "operator": {
                      "type": "string",
                      "operation": "equals"
                    }
                  }
                ]
              }
            },
            {
              "output": 3,
              "conditions": {
                "conditions": [
                  {
                    "leftValue": "={{ $json.eventType }}",
                    "rightValue": "txs",
                    "operator": {
                      "type": "string",
                      "operation": "equals"
                    }
                  }
                ]
              }
            }
          ],
          "fallbackOutput": 4
        }
      },
      "id": "switch-1",
      "name": "Route by Event Type",
      "type": "n8n-nodes-base.switch",
      "typeVersion": 3,
      "position": [
        500,
        300
      ]
    },
    {
      "parameters": {},
      "id": "noop-logs",
      "name": "Process Logs",
      "type": "n8n-nodes-base.noOp",
      "typeVersion": 1,
      "position": [
        750,
        100
      ]
    },
    {
      "parameters": {},
      "id": "noop-erc20",
      "name": "Process ERC-20 Transfers",
      "type": "n8n-nodes-base.noOp",
      "typeVersion": 1,
      "position": [
        750,
        250
      ]
    },
    {
      "parameters": {},
      "id": "noop-nft",
      "name": "Process NFT Transfers",
      "type": "n8n-nodes-base.noOp",
      "typeVersion": 1,
      "position": [
        750,
        400
      ]
    },
    {
      "parameters": {},
      "id": "noop-txs",
      "name": "Process Transactions",
      "type": "n8n-nodes-base.noOp",
      "typeVersion": 1,
      "position": [
        750,
        550
      ]
    },
    {
      "parameters": {},
      "id": "noop-other",
      "name": "Process Other Events",
      "type": "n8n-nodes-base.noOp",
      "typeVersion": 1,
      "position": [
        750,
        700
      ]
    }
  ],
  "connections": {
    "Moralis Streams Trigger": {
      "main": [
        [
          {
            "node": "Route by Event Type",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Route by Event Type": {
      "main": [
        [
          {
            "node": "Process Logs",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Process ERC-20 Transfers",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Process NFT Transfers",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Process Transactions",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Process Other Events",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  }
}

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

Multi-Chain Event Router. Uses n8n-nodes-evmstream. Event-driven trigger; 7 nodes.

Source: https://github.com/pvdyck/n8n-nodes-evmstream/blob/61e921a5e233dabf26f25d3c0feb89493bc99b68/examples/moralis-multi-chain-events.json — original creator credit. Request a take-down →

More General workflows → · Browse all categories →

Related workflows

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

General

NFT Mint Tracker. Uses n8n-nodes-evmstream. Event-driven trigger; 3 nodes.

N8N Nodes Evmstream
General

ERC-20 Transfer Monitor. Uses n8n-nodes-evmstream. Event-driven trigger; 2 nodes.

N8N Nodes Evmstream
General

Http-Handle. Uses httpRequest. Event-driven trigger; 13 nodes.

HTTP Request
General

Absen Otomatis. Uses ssh, executeWorkflowTrigger, scheduleTrigger, httpRequest. Event-driven trigger; 12 nodes.

Ssh, Execute Workflow Trigger, HTTP Request
General

Automate document translation and ensure translation accuracy using Straker Verify, Google Drive and Slack.

N8N Nodes Straker Verify, Google Drive, Google Drive Trigger