Skip to main content

ChainStream Trigger Node

The ChainstreamTrigger node enables event-driven workflows in n8n. Instead of polling for changes on a schedule, this node receives real-time events from ChainStream via webhooks and kicks off your workflow the moment something happens on-chain.

How It Works

  1. n8n exposes a webhook endpoint when the trigger node is active.
  2. You register that endpoint in your ChainStream dashboard.
  3. When a matching on-chain event occurs, ChainStream sends a POST request to the webhook.
  4. The trigger node parses the payload and starts the workflow.

Setup

Step 1 — Add the Trigger Node

In the n8n workflow editor:
  1. Click Add Node and search for ChainStream Trigger.
  2. Drag the node onto the canvas as the first node in your workflow.
  3. Select the Event Type you want to listen for (see table below).

Step 2 — Copy the Webhook URL

Once the trigger node is placed:
  1. Open the node settings.
  2. Copy the Webhook URL displayed at the top. It will look like:
In production mode, use the Production URL (not the test URL) so the trigger remains active when the workflow editor is closed.

Step 3 — Register the Webhook in ChainStream

  1. In your ChainStream dashboard, go to Settings > Webhooks.
  2. Click Create Webhook.
  3. Paste the n8n webhook URL.
  4. Select the event types to subscribe to.
  5. Save and activate.

Step 4 — Test the Connection

  1. In n8n, click Listen for Test Event on the trigger node.
  2. In ChainStream, click Send Test Event on the webhook you just created.
  3. Verify that the trigger node receives the payload.

Supported Events

Node Configuration

Event Payloads

token.price.change

token.transfer.large

token.new

trade.activity

Example: Large Transfer to Telegram Alert

A complete workflow that sends a Telegram message when a large USDC transfer is detected.

Troubleshooting

Next Steps

n8n Overview

See all available resources and operations in the ChainStream n8n node.

Webhooks API

Manage webhook subscriptions programmatically via the ChainStream API.