Is it possible for a customer to attach the files in Einstein Chat Bot?
For eg. If Bot asks for the customer's Resume/CV then the customer will able to attach a file in Chat Bot.
If it possible kindly share how it will be.
Thanks!!
Hey,
- there are multiple workarounds please check the links and implement that fulfill your req:
- https://developer.salesforce.com/docs/service/einstein-bot-api/guide/continue-send-a-file-v5.html
- https://salesforce.stackexchange.com/questions/326613/how-to-render-file-upload-lwc-in-the-middle-of-a-conversation-in-einstein-bot
- Workaround:
This can be achieved by custom code(low).
In short -
build an lwc for file upload
build another lwc for embedded services(lightningSnapin__ChatMessage) and specify the criteria at which lwc1 should be opened.
In the bot add dialogue by mentioning criteria on question asks.
There is app exchange app as well where there is a bundle of this feature is provided including geolocation, file upload, etc. by salesforce labs
https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3A00000FoirpUAB
and if you want to build your solution using this then you can edit the above package code as it's editable code enabled or follow the below blog:
https://debarunsengupta.medium.com/integrating-lwc-in-einstein-bot-1e5ffaeccc7c