Skip to main content
Beyond automatic token and cost capture, you can attach your own signals to a conversation: a resolved intent, an outcome, tags, and notes. These are set by your logic (a rules engine, a human, a downstream step) distinct from the LLM classifier.

Set intent and outcome

Writes the intent and/or outcome columns on firstflow_conversations. Use it when your application already knows the answer for example, the user clicked “this resolved my issue.”

Tags and notes

Writes the tags (text array) and notes columns. Useful for triage and later filtering.

Requirements

  • These columns ship in migration 0007_conversation_signals.sql apply it first. See Set up Supabase.
  • Both methods are no-ops (with a warning) if your persistence adapter doesn’t implement signal / tagConversation. The shipped Supabase adapter implements both.

Signals vs. the classifier

You can use both: classify intent automatically, then signal a final outcome when the conversation closes.

Querying

Next

Infer intent and sentiment automatically in Intent & sentiment.