Skip to content

Matching your records

Your agents, campaigns and teams will not have the same names as ours. Keep a mapping table on your side; never rename anything to match.

An agent’s identity in Esper QA is the dialer full name (display_name), usually <employee code> <Name>, for example 1042 Jane Doe. Dialer logins (dialer_agent_user) move between people, so they are not identities. Match in this order:

  1. The leading number in display_name against your employee code.
  2. The full name, normalised (trim, collapse spaces, ignore case).
  3. Login and date from GET /directory/dialer-mappings (effective_from/effective_to), for older names without a number.

Send what is left to a manual review screen. One person can match more than one Esper QA agent (an old name without the number, for instance); add their figures together.

Match on dialer_keys from GET /directory/campaigns: the pair of dialer host (from GET /directory/dialers) and dialer campaign key. Use short_id (C-000001) as the stable reference.

dialer_lead_id on a call is the dialer’s lead id, the same value your CRM receives from the dialer. Use GET /calls?dialer_lead_id=… to fetch every call on a lead.

Team names rarely line up. Map your teams to ours by hand using short_id (T-000001), or group by your own teams through the agent mapping and ignore ours.