InnFuse Docs ← Back to InnConnect

Conversations

Manage conversation lifecycle, history, and agent handoffs

Conversation Lifecycle

Conversations follow a defined lifecycle with clear status transitions.

Status Description Transitions to
Active Conversation is in progress with active message exchange Waiting, Resolved
Waiting Conversation is paused, awaiting user response or human intervention Active, Resolved
Resolved Conversation has been completed and resolved Active (reopened), Archived
Archived Conversation has been archived for long-term storage None (final state)
Auto-resolve Conversations are automatically resolved after a configurable period of inactivity. The default is 24 hours. Adjust this in Settings > Conversations.

Message History

Every message in a conversation is stored with full metadata, enabling search, analysis, and compliance auditing.

Search across all conversations using keywords, date ranges, channels, or agent assignments.

Agent Handoff

Agents can transfer conversations to other agents or human operators when they encounter situations outside their scope.

Handoff Triggers

Handoff Process

  1. The agent determines that a handoff is needed based on the trigger condition.
  2. The conversation context and full history are transferred to the receiving agent or operator.
  3. The user is notified that they are being connected to a different agent or a human representative.
  4. The receiving party reviews the context and continues the conversation seamlessly.
Note Human handoffs require at least one operator to be available. Configure escalation schedules in Settings > Team to ensure coverage.

Conversation Context

Each conversation carries contextual information that agents use to provide relevant responses.

Conversation Metadata

Each conversation stores metadata that provides insights into usage and performance.

Field Description
Started At Timestamp when the conversation was initiated
Resolved At Timestamp when the conversation was resolved (null if still active)
Message Count Total number of messages exchanged in the conversation
Tokens Used Total input and output tokens consumed during the conversation
Satisfaction Score User satisfaction rating on a 1–5 scale (if feedback was provided)

Conversation Audit Trail

Every conversation maintains a complete audit trail for compliance and debugging purposes.

Audit events are immutable and retained according to your data retention policy. They can be exported via the API for external compliance systems.

Tip if_docs.conversations.audit_tip_text