Voiceflow PartnersVPVoiceflow Partners
Powered by
verbal-limeV
Voiceflow Partners•9mo ago•
4 replies
verbal-lime

Voiceflow API Call help

I’m currently using an agent to make a voice call for lead qualification that is capturing all the information from the call in the { vf_history } variable.

I am then using the setter block to parallel-y prompt the conversation history to return variables like lead name, key insight etc

And then I’m running an API call to update voiceflow’s knowledge base to simulate almost a CRM kind of experience wherein the lead name gets captured along with a bunch of other information.

I’ve realised the API call is failing because the information captured from the conversation history has special characters in it like “ and / etc which is causing the RAW JSON request in the API to get escaped resulting in a bad parameter call and a 400 error.

No amount of prompting I’ve tried has been able to remove these characters or fix the variable values to plaintext.

Is there a better way to extract information from conversation history or to run API calls?

Thanks!
Voiceflow Partners banner
Voiceflow PartnersJoin
Exclusive community for Voiceflow Solutions Providers & Content Creators.
13,076Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
jacklyn

# Let your agents search the web 🔎 Hey everyone! We just released the web search tool for the agent step! Your agents can now automatically search the web for information, letting your agent supplement the LLM's knowledge and the data in its knowledge base with live, up-to-date information. Plus.... * You can restrict searches to specific domains, so your agent only searches sites that you own * This is a tool, so you remain in control of when the agent searches the web * Results are automatically summarized in a way that your agent can automatically understand Under the hood, we're using OpenAI's web search API. Give it a try, and let us know what you think! https://docs.voiceflow.com/changelog/native-web-search-tool

jacklyn · 4mo ago

jacklyn

jacklynbiggin's Thread

jacklyn · 4mo ago

hurt-tomato

connor_maclean's Thread

hurt-tomato · 4mo ago

Similar Threads

Voiceflow API parameters
living-lavenderLliving-lavender / ❓┃ask-a-question
3y ago
Help with API Response Handling in Voiceflow
skinny-azureSskinny-azure / ❓┃ask-a-question
2y ago
Voiceflow & Manychat API Link
forward-apricotFforward-apricot / ❓┃ask-a-question
2y ago
api call
CaioEliasCCaioElias / ❓┃ask-a-question
7mo ago