# ElevenLabs

Attify reads ElevenLabs through its API, read-only, with a read-only API key, for customer support, sales meetings, and bookings. When the buyer's own account is connected the data is connected; when a vendor connects its own account it is witnessed, and counts toward a verification only after the customer consents and reconciles it each month.

## As a agent platform, for customer support, sales meetings, and bookings

| Attify event          | ElevenLabs                                                            |
|-----------------------|-----------------------------------------------------------------------|
| interaction           | `conversation_id` (`status` done); channel voice, or chat when        |
|                       | `metadata.text_only`                                                  |
| interaction.started   | `metadata.start_time_unix_secs`; the caller                           |
|                       | `metadata.phone_call.external_number`, else `user_id` (a keyed digest)|
| message               | `transcript[]`: role `agent` the agent, `user` the customer, at       |
|                       | start + `time_in_call_secs`                                           |
| action                | each `tool_calls[]` item (`tool_name`); its `tool_results[]`          |
|                       | `is_error` says failed                                                |
| handoff               | a tool result typed `transfer_to_number_*_success` (to a person) or   |
|                       | `transfer_to_agent_success` (to another agent)                        |
| outcome.claimed       | `analysis.call_successful` `success` or `failure` (`unknown` claims   |
|                       | nothing)                                                              |
| interaction.ended     | start + `metadata.call_duration_secs`                                 |
