
AI-Powered Email Spam Detection and Support Routing
This AI workflow automatically classifies incoming emails as spam or not, and intelligently routes legitimate messages to an AI assistant that leverages company...

Route messages based on flexible text comparisons, enabling smart branching in your workflows.
Component description
The Conditional Router is a flow component designed to direct the flow of messages based on customizable text comparison logic. This makes it a powerful tool for branching processes, enabling dynamic decision-making within your AI workflows.
At its core, the Conditional Router examines a piece of input text and compares it against a specified match value. Based on the result of this comparison (using a chosen operator, such as “equals,” “contains,” or “is empty”), the message is routed down one of two possible paths: the True Route or the False Route. This allows your workflow to automatically handle different scenarios based on message content or structure.
The Conditional Router accepts several parameters to configure its behavior:
| Input Name | Type | Description | Required | Advanced |
|---|---|---|---|---|
| Input Text | String | The primary text input for the operation. | No | No |
| Match Text | String | The text input to compare against. | No | No |
| Operator | String | The operator for comparing the texts (see below). | No | Yes |
| Case Sensitive | Boolean | Whether the comparison should be case sensitive. | No | Yes |
| Message | String | The message object to pass through on either route. | No | No |
Available Operators:
equalsnot equalscontainsstarts withends withis emptyis not emptyis_urlis_emailis_numberThis wide choice of operators enables sophisticated routing logic, such as matching by substring, checking for empty inputs, or validating the format of a URL/email/number.
The component provides two output paths:
Both outputs are of type “Message,” ensuring compatibility with downstream components in your workflow.
The Conditional Router is especially useful for:
By integrating this component into your workflow, you can build highly responsive and adaptable AI processes that react intelligently to a wide range of input scenarios.
To help you get started quickly, we have prepared several example flow templates that demonstrate how to use the Conditional Router component effectively. These templates showcase different use cases and best practices, making it easier for you to understand and implement the component in your own projects.
This AI workflow automatically classifies incoming emails as spam or not, and intelligently routes legitimate messages to an AI assistant that leverages company...
It evaluates input text against a defined value using operators like equals, contains, or is empty, and sends the message down different paths based on the result.
Operators include equals, not equals, contains, starts with, ends with, is empty, is not empty, is_url, is_email, and is_number.
Yes, you can enable or disable case sensitivity for your comparisons.
Use it to create logic branches—such as sending users to different responses or actions based on their input, making your automation more interactive and responsive.
Absolutely! It’s designed to be user-friendly, letting you set up advanced routing logic without coding.
Design smarter, adaptive workflows with the Conditional Router. Start building decision-based flows today.
Cookie Consent
We use cookies to enhance your browsing experience and analyze our traffic. See our privacy policy.