Nodes
Manual Trigger
Schedule Trigger
RSS Feed Trigger
Kline Close Trigger
Discord Trigger
Telegram Trigger
Slack Trigger
AI Agent
Sentiment Analysis
MCP Client
OpenAI Model
Anthropic Chat Model
Code Tool
HTTP Request Tool
MCP Client Tool
Code
HTTP Request
Edit Fields (Set)
Filter
IF
Loop Over Items
Merge
Aggregate
Compare Datasets
Convert to File
Crypto
Database
Extract from File
HTML
Limit
Log
No Operation, do nothing
RSS Read
Read Files from Disk
Remove Duplicates
Rename Keys
S3
Sort
Split Out
Stop And Error
Summarize
Switch
Telegram
Wait
Write Files To Disk
XML
App push
DingTalk Robot
Discord Bot
Email
Feishu Custom Bot
Slack
Account Info
Market Info
Trading Executor
Indicator
Trading Plugin
Credentials
Switch
Use the Switch node to route workflows conditionally based on comparison operations. Similar to the IF node, it supports multiple output routes.
Node parameters
Select the Mode for the node:
- Rules: Build a matching rule for each output.
- Expression: Write an expression to return the output index programmatically.
Node configuration depends on the selected Mode.
Rules
To configure the node in this mode, use these parameters:
- Create Routing Rules to define comparison conditions.
- Use the data type dropdown to select the data type and comparison operation for your condition. For example, to create rules for dates after a specific date, select Date & Time > is after.
- The required fields and values vary based on the selected data type and comparison.
- Rename Output: Enable this option to rename the output field for matching data. Enter your desired Output Name.
Select Add Routing Rule to add additional rules.
Rule options
Further configure the node in this mode using these Options:
- Fallback Output: Specify how to route the workflow when an item doesn't match any rules or conditions.
- None: Ignore the item (default behavior).
- Extra Output: Send items to a separate, additional output.
- Output 0: Send items to the same output as those matching the first rule.
- Ignore Case: Enable to ignore letter case when evaluating conditions; disable to enforce case sensitivity.
- Less Strict Type Validation: Enable to allow the node to convert value types based on the selected operator; disable for strict type checking.
- Send data to all matching outputs: Enable to send data to all outputs that meet conditions; disable to send data only to the first matching output.
Expression
To configure the node in this mode, use these parameters:
- Number of Outputs: Specify the number of outputs the node should have.
- Output Index: Create an expression to determine which output should receive each input item. The expression must return a number.