Vyyy
04/10/2026, 3:52 PMAI Evy
04/10/2026, 3:52 PMAI Evy
04/10/2026, 3:52 PMjson
{
"event": "call_inbound",
"call_inbound": {
"agent_id": "agent_12345",
"agent_version": 1,
"from_number": "+12137771234",
"to_number": "+12137771235"
}
}
The key field you need is from_number - this is the caller's phone number that you'll use to look up their SharePoint data .
Your Power Automate flow should expect this JSON structure and extract the from_number value to search SharePoint.
Then, your Power Automate flow must return a JSON response with this structure :
json
{
"call_inbound": {
"dynamic_variables": {
"first_name": "John",
"expirationDate": "2025-12-31"
}
}
}
The dynamic_variables object is where you inject the SharePoint data (name, expiration date, etc.) that Retell will use in the conversation [(1) ]() [(2) ]() . These variables can then be referenced in your agent's prompts using the {{variable_name}} syntax [(2) ]() .AI Evy
04/10/2026, 3:52 PMAI Evy
04/10/2026, 3:52 PM