hi, I’m trying to send files from the chatbot through another system from API. can anyone help with the configuration? especially storing files in what kind of variable and setting up the API .
thanks.
hi, I’m trying to send files from the chatbot through another system from API. can anyone help with the configuration? especially storing files in what kind of variable and setting up the API .
thanks.
Sure @jauhar!
You can store your files on your storage server or CDN server and then store the URL of that file in a string variable which can be passed to an API as a parameter. You can refer to this documentation for more info on passing data to the API: API Management | yellow.ai
Alternately, if you’re accepting a file from the user and then you want to pass it to the API you can use the file prompt node, save the response in a variable. Here the file will be uploaded on the yellow.ai CDN. Later, you can pass this variable to an API.
thank you @Pratik for the answer.
It was a helpful