Generate Automated Emails with User Transcripts
Intro
In this recipe we will learn how to setup a "send to email" feature to send the last conversation to the user when requested. We will talk about Voiceflow Transcripts API, LLM and Resend API and the use of some Javascript to generate an HTML version of the transcript with an auto generated TLDR.
Important
To ensure this demo works correctly, you need to test your agent using either our Chat Widget or the DM API with a call to the Transcript API.
Chat Widget: Transcripts are automatically saved, so no additional action is required.
DM API + Transcript API: Make sure to manually save transcripts either after each turn or at the end of the conversation to retain the data.
Video
Follow along
Clone this template into your Voiceflow project to get started.
Updated about 1 month ago