Send File through API

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 .



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 |

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 CDN. Later, you can pass this variable to an API.

1 Like

thank you @Pratik for the answer.
It was a helpful

1 Like