FlowsCards
AI Classification Card
Sort the contact's message into one of your categories and branch the flow
The AI Classification Card reads the contact's latest message, picks the best-matching category and sends the flow down that branch. It needs a Standard plan or higher.
Configuration
| Setting | Description |
|---|---|
| Card text | Optional instruction for the classifier. Empty, the card asks the AI to pick exactly one category. |
| AI Assistant | The assistant that classifies. Required. A card with no assistant is refused on save with Choose an AI assistant for this card. If the assistant is switched off or deleted, the card follows its Error output. |
| Input Type | Auto (default), Text, Image, Audio or Video. Auto looks at text, images, audio and video. Text needs message text. |
| Context settings | Inherit assistant context and Include flow context. Collapsed by default. |
| Buttons | The categories. Each one is a callback button and adds an output. At least one is required. |
Name each category clearly, for example Sales inquiry, Support request or Billing question. The AI sees the labels only.
Outputs
- One output per category. The matching branch.
- Fallback. Used when no category matches.
- Error. Used when the AI call fails, or when nothing matches and Fallback is not connected.
Output Variables
| Variable | Value |
|---|---|
flow.{cardId} | Label of the chosen category, or _fallback |
flow.{cardId}.classification | Same label |
flow.{cardId}.rawResponse | The AI's raw answer |
{cardId} is the ID of this card. See Variables.
Operations Cost
2 operations per execution, plus AI operations for the tokens used. They are metered separately. See Ops & Usage.
Related
- AI Agent Card - a longer conversation that can hand off
- Condition Card - branch on data you already have
- AI Assistants - create and manage the assistants cards use