Is it possible to save the cognigy conversation as pdf for users to download in form of a report?
Didn't find what you were looking for?
Unfortunately, this is not available out of the box. I see the following options:
1. Build a preview with JS in your HTML that hosts the webchat.
You can get all messages from webchat.store.getState().messages. Then build an HTML preview and trigger browser printing. Then the user can "Save as PDF". More info on webchat embedding and API is available in our GitHub repo.
2. Use extension: Send Email with Attachment, Get Conversation node
Maybe it will satisfy your needs if the user receives the conversation via email and prints it as PDF. You can also try converting the HTML with the history to PDF using a NodeJS package.
Would one of these options work for you?
Please sign in to leave a comment.