metropolitan-bronze•16mo ago
From function to KB?
Hello, so i have have function that fetches an API and gets the wanted data
was wondering if it possible to automatically move that data into the KB each time the function runs ?
5 Replies
Sure. You just need to use the KB API to write the data to the KB.
metropolitan-bronzeOP•16mo ago
Is it doable within voiceflow itself?
other-emerald•16mo ago
Ye you can make a custom function for it and make an API call to the knowledge base endpoints
metropolitan-bronzeOP•16mo ago
Awesome, can you point me to a documentation or a video ?
other-emerald•16mo ago
How to write a custom function: https://developer.voiceflow.com/docs/functions
The API endpoint: https://developer.voiceflow.com/reference/post_v3alpha-knowledge-base-docs-upload