Skip to navigation

Configure the Kustomer handoff

After you complete the initial configuration and share your details, your Ada team sets up the backend integration. When setup is complete, the Kustomer Utilities app appears in Config → Apps in your AI Agent dashboard. The app has no app-level settings, so you can configure the handoff block straight away. In Kustomer, each handoff creates a conversation associated with a customer, optionally routed to a queue.

Your Ada team will complete the backend integration setup. Contact your Ada representative to confirm when this step is finished before proceeding.

Add the Kustomer Utilities block

Adding the block to a handoff answer is what escalates the conversation to Kustomer and starts relaying messages in both directions.

To add the Kustomer Utilities block:

  1. In your handoff answer, add the Kustomer Utilities block with action Handoff to agent.
  2. The two required Ada ID fields are pre-populated by the block:
    • ada_conversation_id → @oauth/conversation_id
    • ada_user_id → @oauth/end_user_id
  3. Optionally fill in any of the additional fields documented below.

When the handoff connects to Kustomer, the conversation transcript (plus any chat summary) is sent as the first message in the Kustomer conversation.

Handoff input fields

The Kustomer Utilities block accepts the following input fields.

FieldRequiredDescription
ada_conversation_idYesConversation ID. Populated by @oauth/conversation_id.
ada_user_idYesEnd user ID. Populated by @oauth/end_user_id.
user_emailNoEnd user email address. Used to find or create the customer in Kustomer.
user_phoneNoEnd user phone number. Used to find or create the customer in Kustomer.
user_first_nameNoEnd user first name.
user_last_nameNoEnd user last name.
queue_idNoKustomer queue ID to route the conversation to. See Find the Kustomer queue ID.
subjectNoConversation subject shown in Kustomer.
tagsNoComma-separated list of tag names to apply to the Kustomer conversation.
chat_summaryNoSummary text appended to the conversation transcript sent to Kustomer.
keep_agent_conversation_openNoEnter the literal text true or false (or map a variable that resolves to one of those). If true, the Kustomer conversation is left open when the handoff ends. Defaults to false, which closes the Kustomer conversation when the handoff ends.

Find the Kustomer queue ID

Routing a handoff to a specific queue requires the queue’s ID from Kustomer.

To find the Kustomer queue ID:

  1. In Kustomer, navigate to Settings → Platform → Routing → Queues.
  2. Click the queue you want handoffs routed to.
  3. Copy the ID from the URL — it is the UUID after /queues/.

Customer records in Kustomer

The handoff finds or creates a customer in Kustomer using user_email, or user_phone if no email is provided. When a new customer is created, user_first_name, user_last_name, and any contact attributes populate the new record. When the customer already exists, contact attributes are updated on the existing record.

Custom attributes

Kustomer conversation and contact attributes can also be sent on the handoff. These are configured per AI Agent by your Ada team, and Kustomer requires a type suffix on each attribute name. See Custom attributes for the full pattern.

Close the handoff

The handoff ends, and the end user can continue chatting with the AI Agent, when an agent changes the Kustomer conversation status.

  • Marking the conversation Done always ends the handoff.
  • Snoozing the conversation also ends the handoff by default. If your Ada team configured snooze as a hold, snoozing has no effect on the handoff and only Done ends it.

Sending a final message without changing the conversation status does not end the handoff. To change the snooze behavior after setup, contact your Ada representative.

Test the handoff

Test the integration in a separate handoff answer before placing it in any live handoff dialogue.

To test the handoff:

  1. Trigger a test handoff from the AI Agent, for example via a conversation that escalates to the new handoff answer.
  2. In Kustomer, confirm a new conversation appears, routed to the queue you specified (if any). The conversation includes the Ada transcript as the first message.
  3. As the agent, send a reply in Kustomer. The message appears in the conversation.
  4. Mark the conversation as Done in Kustomer (or snooze it, if snooze closes the conversation). The conversation resumes, allowing the end user to continue chatting with the AI Agent.