Upload File To Ongoing Dialogflow Chats
Last updated
Last updated
You may have a use case where you want to upload a file to the ongoing Bot conversation, like a product handbook or purchase invoice.
Have a Dialogflow intent with Fulfillment webhook enabled
A with a Live Chat agent role.
To upload a file to an ongoing Bot conversation,
Get the Dialogflow session-id
of the ongoing bot conversation where you want to upload this file. You can get it from the fulfillment webhook request, which Dialogflow will send upon detecting your target intent.
Use the endpoint with the session id
as the Room Id
on Rocket.Chat. The endpoint requires authentication, so you can use the to get authentication tokens for the bot user.