Podmienený smerovač

Smerujte správy na základe flexibilných porovnaní textu a umožnite inteligentné vetvenie vo vašich pracovných postupoch.

Podmienený smerovač

Opis komponentu

Ako funguje komponent Podmienený smerovač

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.

What the Component Does

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.

Inputs

The Conditional Router accepts several parameters to configure its behavior:

Input NameTypeDescriptionRequiredAdvanced
Input TextStringThe primary text input for the operation.NoNo
Match TextStringThe text input to compare against.NoNo
OperatorStringThe operator for comparing the texts (see below).NoYes
Case SensitiveBooleanWhether the comparison should be case sensitive.NoYes
MessageStringThe message object to pass through on either route.NoNo

Available Operators:

  • equals
  • not equals
  • contains
  • starts with
  • ends with
  • is empty
  • is not empty
  • is_url
  • is_email
  • is_number

This 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.

Outputs

The component provides two output paths:

  • True Route: Activated when the comparison evaluates to true. The original message is passed through this output.
  • False Route: Activated when the comparison evaluates to false. The original message is passed through this output.

Both outputs are of type “Message,” ensuring compatibility with downstream components in your workflow.

Use Cases and Benefits

The Conditional Router is especially useful for:

  • Branching Logic: Directing messages to different components or actions based on their content.
  • Validation: Filtering messages that meet specific text criteria (e.g., emails, URLs, non-empty fields).
  • Personalization: Customizing the flow of user interactions depending on user input.
  • Automation: Automating responses or actions for certain keyword triggers or message patterns.

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.

Najčastejšie kladené otázky

Čo robí komponent Podmienený smerovač?

Vyhodnocuje vstupný text voči definovanej hodnote pomocou operátorov ako rovná sa, obsahuje alebo je prázdny, a na základe výsledku odošle správu rôznymi cestami.

Ktoré porovnávacie operátory sú podporované?

Operátory zahŕňajú rovná sa, nerovná sa, obsahuje, začína na, končí na, je prázdny, nie je prázdny, is_url, is_email a is_number.

Môžem nastaviť rozlišovanie veľkých a malých písmen pri porovnávaní?

Áno, rozlišovanie veľkých a malých písmen môžete povoliť alebo zakázať.

Ako môžem použiť Podmienený smerovač vo svojom pracovnom postupe?

Použite ho na vytvorenie vetiev logiky—napríklad na smerovanie používateľov k rôznym odpovediam alebo akciám podľa ich vstupu, čím bude vaša automatizácia interaktívnejšia a pohotovejšia.

Je Podmienený smerovač vhodný pre ne-programátorov?

Určite! Je navrhnutý tak, aby bol používateľsky prívetivý a umožnil nastaviť pokročilú logiku smerovania bez programovania.

Vyskúšajte podmienené smerovanie vo FlowHunt

Navrhujte inteligentnejšie a adaptívne pracovné postupy s Podmieneným smerovačom. Začnite dnes vytvárať toky založené na rozhodnutiach.

Zistiť viac

Escalačná brána
Escalačná brána

Escalačná brána

Komponent Escalačná brána inteligentne smeruje prichádzajúce správy na základe escalačnej logiky, čo umožňuje prepínanie medzi automatizovanými AI odpoveďami a ...

2 min čítania
AI Human Escalation +4
Spustiť tok
Spustiť tok

Spustiť tok

Komponent Spustiť tok vo FlowHunt vám umožňuje spustiť a vykonať ďalší pracovný tok v rámci vášho aktuálneho toku. Prenášajte vstupy, premenné a kontrolujte, ak...

3 min čítania
Automation Workflow +3
Klasifikácia textu
Klasifikácia textu

Klasifikácia textu

Odomknite automatizované triedenie textu vo vašich workflowoch s komponentom Klasifikácia textu pre FlowHunt. Jednoducho klasifikujte vstupný text do užívateľom...

3 min čítania
AI Classification +3