Connectors
Overview
A connector is an external app your hotline can talk to: a booking calendar, an order system, a weather service, your own server. You add the app once, with its address and how to sign in, then add actions: the individual requests, each with named parameters and a rule for what to do with the answer.
Every action becomes two things at once: a tool an AI agent may call while talking with a caller, and a Fetch from app key you can put in your call flow with no AI at all.
Connectors live under Advanced → Connectors.
The request is always made by our server, with the key you saved, never by the AI. Every request and its answer is logged on the connector's Requests tab.
Ready-made connectors
Add from catalogue on the Connectors page lists apps that are set up for you. Pick one, paste what it asks for (an API key, an id, a town) and the connector arrives with its actions ready: tick them on an AI agent or pick them in a Fetch key. Everything can be edited afterwards like a connector you built yourself.
| Group | Apps |
|---|---|
| Appointments | Calendly, Cal.com, Acuity Scheduling, Square Appointments |
| Customers, orders and records | HubSpot, Shopify, Stripe, Airtable, Notion |
| Messages | Text message (Twilio), Email (SendGrid), Slack, Telegram, Mailchimp |
| Automation | Zapier, Make or n8n webhook, your own server |
| Jewish calendar and texts | Hebcal (Shabbos times, zmanim, Hebrew date), Sefaria (today's daf, any text) |
| Weather, places and shipping | Weather (Open-Meteo), Google Maps, package tracking (Shippo) |
Each one's help text says where in the app to find the key. Keys are stored encrypted, and where an app needs no key (Hebcal, Sefaria, the weather) the connector works at once. A Zapier or Make webhook reaches thousands of further apps with a single action: the hotline posts the caller's request, and the automation on the other side does the rest.
Creating a connector
The app
- Name and a short description, so you recognise it.
- Base URL: the common start of every request, for example
https://api.example.com/v1. Actions add their own path to it. Onlyhttps://addresses are accepted, and addresses inside private networks are refused. - Notes for the assistant: anything an AI agent should know whenever it uses this app. Time zone, units, what an id looks like, what never to read out loud. These notes are added to the agent's instructions when it has any action of this connector.
- Turned on: off refuses every request of this connector.
Signing in
Choose how requests prove they come from you: a bearer token, basic user and password, or an API key header with the header's name. The value is stored encrypted and never shown again; type a new one to replace it. Extra headers every request should carry go in the list below.
Actions
Open the connector and use Add an action on the Actions tab.
What it does
- Name is for you; the tool name (letters, digits, underscores) is what the AI calls it by.
- Description for the assistant: one or two sentences saying what it returns and when to use it. The AI decides from this sentence whether to call the action, so say it the way you would brief a person: "Returns the free appointment slots for a given day. Call it when the caller names a day."
- Parameters: each value the request needs, with a type, a description and an example. Use each one inside the request as
{{name}}. Adigitsparameter is cleaned to digits only, adateis expected asYYYY-MM-DD.
Always available without declaring them: {{caller_number}}, {{caller_name}}, {{contact_id}}, {{contact_email}}, {{contact_labels}}, {{today}}, {{now}}, {{hotline_name}}, and any call variable.
The request
Method, path (or a full https:// URL), query parameters, and for non-GET requests a body as fields (dots nest: customer.phone) or raw text. Placeholders inside the path and the query are URL-encoded, so a caller's words can never add parameters of their own. The timeout is three to twenty seconds; a slow app means silence on the call, so keep it short.
The answer
- Give the whole answer to the AI, trimmed: the simplest. The JSON or text comes back cut to a size limit and the AI reads it. Right for weather, FAQs, anything the AI should explain in its own words.
- Pick fields out of the JSON: name the fields you want with their path, such as
items.0.idordaily.temperature_2m_max.0. These become the action's outputs: a Fetch key stores them as variables, and the AI gets exactly these instead of the whole answer. - Spoken line: a sentence with
{{placeholders}}that a Fetch key can say with no AI, for example "Tomorrow in {{town}} expect a high of {{high}} degrees".
The outcome is one of answered, nothing found (a 404, an empty list, or every picked field empty) or failed. A Fetch key routes on it.
Testing
The Test button on an action asks for its parameters, sends the real request and shows the outcome, the time it took and what came back. The run is logged like any other.
Call variables
Steps of a call pass values to each other through variables. They live for the call and are kept on the call's log afterwards.
- An AI agent stores what later steps need with its
remembertool, for examplebooking.slot_id. - A Payment key stores
payment.result,payment.amount,payment.currencyandpayment.reference. - A Fetch key stores its outputs under the name you give it, plus
.status.
Write them as {{name}} in a Fetch key's values and spoken line, and the AI agent sees them listed in its instructions.
A booking flow
- AI agent key: checks free slots through a
find_free_slotsaction, lets the caller choose, remembersbooking.slot_idandbooking.time, asks for a key press to confirm, and ends with reason pay. - Payment key on the agent's "pay" route.
- Fetch from app key on the payment's "successful" route: runs
create_bookingwith{{booking.slot_id}}and{{caller_number}}, stores the answer asbooking, and says "Your appointment is booked for {{booking.time}}, reference {{booking.reference}}". - On the Fetch key's "nothing found" route, send the caller back to the agent to pick another slot; on "failed", to a message box.
See AI agents for the agent side.