I am working in developing an Einstein Bot where after some discussion with the customer the bot would ask customer to upload an image or a document and then finally create a case along with with the uploaded file.
What I understood till now is we can render a LWC within Bot using lightningsnapin-base-chat-message. So I started by creating a lightning-file-upload LWC for uploading files and at embedded service deployments --> chat settings --> customize with lightning components , on Chat Messages used the file upload custom LWC.
On previewing the chat bot in community, I do see the file upload icon and it also uploads the chosen file.
Question is how do I render the LWC after some conversation , now the file upload component comes at the start of conversation on top of menu options.
It would be great if anyone has worked on a similar use case and might point out something which I may be missing here.