ReplyBrain Docs LLMs

Cases, Conversations and Messages

Case

A case is one customer problem. It holds one or more conversations, the customer's needs, what was promised to them, and who on your team holds it. A case belongs to one product of your organization.

Conversation

A conversation is where the case is being talked about, on one channel: email, in_app, whatsapp, sms, phone or api. Its channel is fixed when the conversation is first seen. Every conversation is one of two kinds:

Kind Where it lives How messages arrive Where replies go
Managed ReplyBrain's own desk Mail to your managed mailbox, or POST /v1/cases Sent from the ReplyBrain console
Connected Your app's help desk Signed events from your app Drafts placed in your desk, sent by your team there

A connected conversation is identified by the source_object of your events ({ type: "ticket", id: "SUP-1042" }): every event with the same type and id belongs to the same conversation. Your app stays the source of truth for it; ReplyBrain keeps a projection.

Message

A message has a direction (inbound from the customer, outbound from your team), a visibility (customer or internal), a body, and when it happened. Only customer-visible inbound messages are answered.

Need

A need is what the customer wants, written down with the message it came from. Its state moves from identified through planned and in_work to satisfied, declined or unknown; the last three are a person's decision.

Requester

The requester is the customer a conversation is with. In mail, the sender. In your app, the requester your events name, by your own id for them (ref). A signed event proves the event came from your app; it does not prove who the customer is. See Facts and account scope.