Skip to content

raia Copilot · Section

Human-in-the-Loop

Take over conversations and resolve escalations.

Human-in-the-Loop (HITL) lets a person step into a live conversation on an agent where it is enabled. The controls you see, and how the conversation goes back to the agent, depend on the agent's configuration and your permissions.

In this section

  • Set up the Escalation skill so conversations that need a person are flagged.
  • Step into a conversation from the Copilot inbox when your role allows it.
  • Reply in the conversation from the composer.
  • Hand the conversation back to the agent the way your setup allows, and record what the agent missed as feedback.
01

What's inside

  1. 01

    Trigger

    A conversation can be flagged by the Escalation skill, through its Escalation Prompt or Escalation Keywords, or a person can pick it up from the Copilot inbox.

  2. 02

    Notify

    Escalation alerts go to the people you choose on each escalation in the Escalation skill. Send one test escalation with an approved recipient and check that the alert arrives.

  3. 03

    Step in

    Stepping in applies to the conversation you open. Recommended practice: check with a fictional test conversation that other conversations on the same agent carry on as you expect.

  4. 04

    Hand back

    How the conversation returns to the agent depends on your setup; for example, the Copilot skill has an Auto Unassign on AI Mode option. Don't assume the agent picks up everything the person said: read the transcript after a test.

02

At a glance

SettingWhat it controlsNotes
Escalation PromptDescribes when the agent should escalate.Set on the Escalation Skill
Escalation KeywordsOptional exact phrases that flag a conversation.Set on the Escalation Skill
ModeAuto (checked on every user message) or Manual (started by an explicit user action, such as a button in live chat).Set per escalation
Auto Assign ConversationOptionally assigns the escalated conversation.Set per escalation
Auto Unassign on AI ModeRemoves the person's assignment when the conversation switches back to the AI.Set on the Copilot Skill

Tip

Each time a person steps in is a chance to improve the agent. Leave feedback on the reply the agent got wrong, so the gap becomes an instruction or a document instead of a repeat escalation.
03

Related