Skip to content

Read context

A Read context step loads facts stored earlier about a customer, a case or a conversation, such as a preferred language or the last order number. The values come into the run’s data under the same names, ready for agents and messages. Context is shared across channels and workflows.

  • Load a caller’s preferred language and name before the agent greets them.
  • Recall the open claim number so the customer is not asked for it again.
  • Check what a customer said on WhatsApp yesterday before a follow-up call.
  • The data lives in a business system. Use MCP tool.
  • You need to know about consent. Use Consent, which reads stored consent itself.
Setting What it does
Keys Required. One or more keys. Each value is stored in data under the same name.
Scope customer (default), case or conversation.
Whose context An expression, for example input.customerRef. Empty uses the run’s correlation key for the scope: customerRef, caseRef or conversationId.
When a key is missing continue (default) or error (take the error path).
  • A single Next, and an error path.
  • data.<key> for each key that was found.
  • steps.<step id>: found (the keys found) and missing (the keys not found).

A support line greets returning callers by name in their language.

Channel inbound (voice) → Read context (preferredLanguage, firstName) → Conversational agent (support, context data.firstName) → End

steps.<step id>:

{ "found": ["firstName", "preferredLanguage"], "missing": [] }