samsoley.
08/12/2025, 7:19 PMAI Evy
08/12/2025, 7:19 PMAI Evy
08/12/2025, 7:19 PMcall_analyzed webhook returns, store it somewhere associated with the phone number, and then use the inbound dynamic variables webhook to supply it as a variable into the agent .
2. **Retrieve call recordings**: The call_ended / call_analyzed hooks will deliver the same call info as the get call API call, and you can grab the recording URL from those .
3. **Pass conversation history through dynamic variables**: The recommended approach is to pass some summarized or key pointed version of the conversation history as part of the prompt by using dynamic variables [(2) ]() . The quality depends on how well you extract the important points in the summary and pass it to the LLM prompt .
4. **Storage solutions**: For storing past conversations, you can use tools like Getzep, which has user memory through knowledge graphs, or build your own solution with tools like Weaviate or Haystack .
The key is that Retell AI doesn't automatically maintain conversation history across calls - you need to implement this functionality in your backend by capturing call data, storing it associated with phone numbers, and injecting relevant context back into new calls through dynamic variables [(1) ]() [(2) ]() .AI Evy
08/12/2025, 7:19 PMAI Evy
08/12/2025, 7:19 PM