Data retrieval at call start
With data retrieval at call start, your agent retrieves a URL you have stored as soon as an incoming call starts. The response is then available to them during the conversation.
When is this useful?
Data retrieval is suitable for content that changes frequently or differs per call:
query current availability: for example, available appointments or stock levels
load CRM data or customer history
day-specific instructions: for example special opening hours or promotions
past interactions with the calling person make available
Requirements
a URL reachable via HTTP or HTTPS, HTTPS recommended
an endpoint that responds quickly, because retrieval takes place when the call starts
compact, well-structured content, because the response is embedded as text in the conversation context
How to set up data retrieval
Where do I find data retrieval?
sipgate sona: Open the agent overview and drag and drop data retrieval at call start from the library in the sidebar onto your agent.
AI Agents: Open your agent's configuration → Integrations menu item → Data retrieval at call start section → gear icon.
Enter in the dialog Configure data retrieval the desired URL.
Optionally enable Force retrieval, so that retrieval must succeed before the call takes place.
Click Save.
The configured URL then appears in the interface. On the next incoming call, the content is retrieved automatically.
Which return formats does the agent support?
Your agent processes information from third-party applications only if it is returned in a readable text format. It cannot directly read PDF files, websites, or other file formats.
Supported are Plain Text, Markdown, and JSON. The desired format must be specified in the request, and the connected server must set the appropriate Content-Type-header:
Examples:
Plain Text:
Content-Type: text/plainMarkdown:
Content-Type: text/markdownJSON:
Content-Type: application/json
Which parameters are passed to the server?
When retrieving data, your agent passes information to the connected server so that suitable data for the current call can be found there:
callerNumber
The phone number of the calling person.
destinationNumber
The phone number that the agent was called on. If multiple numbers are assigned to the agent, only the phone number of the current call is passed.
sessionId
The unique ID of the current call. This ID can be used by the server to uniquely assign the data retrieval to a specific conversation. It sessionId can also be used for live integrations. This allows the server to recognize the same call across multiple queries, for example between the initial data retrieval and later live queries during the conversation.
assistantId
The internal ID of the agent. This ID is uniquely assigned to an agent and helps the server distinguish between multiple agents.
The connected server must be able to process these parameters and provide the appropriate information in the supported return format.
Option: "Force retrieval"
With this checkbox, you determine how strictly your agent handles errors:
Disabled (default): If the URL is not reachable, the call is still connected, just without the additional context.
Enabled: If the URL is not reachable, the call is rejected. Only choose this if the context is indispensable, for example if no meaningful conversation is possible without CRM data.
Remove data retrieval again
Open the configuration dialog again.
Click Delete data retrieval.
Confirm with Delete permanently.
No data retrieval will then take place for future calls.
Frequently asked questions
Last updated

