Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Download Conversation (Button) #133

Open
alexteusz opened this issue Nov 12, 2020 · 6 comments
Open

Feature Request: Download Conversation (Button) #133

alexteusz opened this issue Nov 12, 2020 · 6 comments

Comments

@alexteusz
Copy link
Member

Hey @pedily and @kwinto ,

On another webchat I saw this Download Conversation button:

Maybe this could be interesting for us as well. What do you think?

@pedily
Copy link
Member

pedily commented Nov 12, 2020

What does it do? What kind of format / content does the downloaded file have?

@kwinto
Copy link
Contributor

kwinto commented Nov 12, 2020

What would be the use case for this?

@alexteusz
Copy link
Member Author

Hey dudes,

It would use our API to get the conversation and put this into a document. This could be a PDF file for business users. The use case could be the following:
Someone is chatting with their insurance or bank via the webchat. Since all included messages from the conversation could be important for the further process in the insurance or bank, the user might download this conversation. Then he/she could use this in order to tell the bank or insurance that he already did something with the bot.

@pedily
Copy link
Member

pedily commented Nov 20, 2020

I'm still not quite sure what process you are describing.
As an end-user, i want to be able to have a download button on the webchat widget so i can save my conversation as a pdf-file?

From what you are describing, it is not clear to me who will see this button, the end-user in the webchat or the admin in the UI panel / livechat panel.

In case it is for the end-user, we cannot offer authentication credentials for the conversation api to end-users, that would have to be done in a different way.

@antonxt
Copy link

antonxt commented Apr 15, 2021

I agree with @alexteusz that this feature is nice to have.

@pedily, if PDF requires API authentication and we can't disclose API keys in the JS, can we generate some other file format on the fly? The user story can be the following:

As a webchat user, I want to be able to download my conversation with the bot, so I can refer to it in my future contacts with the company.

  • The downloaded file can be in any format supported by the popular office programs, e.g. text, HTML, CSV.
  • If possible, the format should prevent easy editing to somewhat guarantee authenticity (PDF).

@pedily
Copy link
Member

pedily commented Apr 17, 2021

@antonxt it is possible to access the client-side conversation history of the webchat (using internal APIs, but we could build an official one!). From there, we could apply a "serialize this message" function to each message, merge that to one text string and "download" it locally using an anchor link.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants