What are you trying to achieve?
Hi there, I've been encountering this issue for a few days and require assistance.
I'm new to this and am starting to understand callin.io and Retell AI's inbound agent.
I've set up a Retell inbound agent that queries an Airtable base for properties. The results are filtered using parameters from the Retell call via a JSON Payload.
json
{
“additional_properties”: false,
“type”: “object”,
“properties”: {
“bedrooms”: {
“type”: “integer”,
“description”: “The number of bedrooms in the property.”
},
“location”: {
“type”: “string”,
“description”: “The location of the property.”
},
“price”: {
“type”: “number”,
“description”: “The price of the property.”
},
“status”: {
“type”: “string”,
“description”: “The status of the property.”
}
},
“required”: [
“location”,
“status”,
“price”,
“bedrooms”
]
}
Everything seems to be functioning correctly, and the output is as expected on callin.io.
However, the Retell LLM isn't receiving the output and therefore cannot provide the available property details.
What might I be doing wrong?
Any guidance would be greatly appreciated.
Warm regards,
Jan
Steps taken so far
I've connected callin.io and Retell AI via webhook, transmitting the JSON payload with requirements and filter values. I've configured the filter and Text aggregator, successfully retrieving all relevant information on callin.io.
Screenshots: scenario setup, module configuration, errors
I've set up a webhook response, and I successfully received a response from the LLM.
What are the field values in your Webhook Response module?
If I'm correct (I haven't verified this), it should be:
Status - 200
Body
{
"result": "{8.text}}"
}
Custom headers
Key: content-type
Value: application/json
Please provide the field values you are seeing in your Webhook Response module.
Also, define in the prompt that this webhook result is equivalent to {{variable}}
for AI to use in its response.
Hi DavidGurr,
Thank you very much for your assistance - it seems to have resolved my issue. I somehow completely overlooked including the ‘result’.
I've updated my webhook, and it's now functioning perfectly.
Hi Shah,
Thanks for your feedback. I've also incorporated the variable into my prompt.
I can now refine a few more aspects, but at least I'm getting a result.
Warm regards,
Jan