By phone
Give the agent a number you bought in the CRM, under Connect → Telephony. It answers while it’s on.- One number answers for one agent.
- A caller whose number belongs to a contact is filed under that contact.
- Numbers from a Twilio account you connected yourself can’t be used.
On your site
The call runs in the visitor’s browser. Your server starts it, so your API key stays private. On your server:- Upsert
- Look up
- Saved id
contact.id in your own database the first time, and skip the extra call.
On the page, from your own button’s click:
- Start it from a click. Browsers only allow audio after one.
- Credentials are good for one call. Get new ones on every click.
fullshows the conversation as it happens;compactshows just the orb.- Transcripts arrive word by word: the same
idagain with more text, untilfinalistrue.
Let the script draw the button
Your colours
Passcolors to open or init. Every one is optional and takes any CSS colour.
Build your own interface
gdcall.connect({ credentials, onEvent }) runs the call with nothing on screen. It returns mute(true), hangUp() and levels(), which gives { input, output } from 0 to 1 for drawing.