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

SettingDescription
Card textOptional instruction for the classifier. Empty, the card asks the AI to pick exactly one category.
AI AssistantThe 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 TypeAuto (default), Text, Image, Audio or Video. Auto looks at text, images, audio and video. Text needs message text.
Context settingsInherit assistant context and Include flow context. Collapsed by default.
ButtonsThe 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

VariableValue
flow.{cardId}Label of the chosen category, or _fallback
flow.{cardId}.classificationSame label
flow.{cardId}.rawResponseThe 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.

Was this page helpful?

On this page