sunny-green•2y ago
How to plug in an external website for VF to use
Hello, I've had a play with OpenAI in making a chatbot for a car sales service. One of the options you could choose is the get a valuation for your car to trade-in. I defined what website it uses (https://www.redbook.com.au/) in the system prompt. OpenAI takes this URL and asks the user for relevant information to feed into and spits out a valuation number.
I'm trying to replicate this in VF, so I can setup car recommendations with cards. Problem is when I do the same thing with a prompt, it only tells the user to go to the website. Is there a way I can build this out?
Thanks for any help
2 Replies
In Voiceflow, you can use the API step to interact with external websites or databases. However, it's important to note that the website you want to interact with must have an API that Voiceflow can use to send and receive data.
Here's a basic example of how you can use the API step:
1. First, you need to set a variable to a value that must be queried from an external database. You can use an API step to retrieve the piece of data and set the variable to the queried value.
2. In the API step, you can query a database URL with a search parameter of the user's email, and the query returns with the corresponding user profile's data, which is then captured into a new variable.
Unfortunately, if the website you're trying to interact with (https://www.redbook.com.au/ in your case) doesn't have an API, Voiceflow won't be able to directly interact with it to fetch data or perform actions. In such cases, you might need to look for alternative ways to achieve your goal, such as finding a different website with a suitable API, or using a web scraping service if the website's terms of service allow it.
Remember, it's crucial to respect the terms of service of any website you interact with, and not all websites allow for automated data collection or interaction.
For more detailed information on how to use the API step in Voiceflow, you can refer to this guide.
Please note that while Voiceflow is a powerful tool for creating voice and chat experiences, it does have its limitations and might not be able to fully replicate the functionality of other platforms like OpenAI.
sunny-greenOP•2y ago
What sort of limitations are you referring to?