I want to have mail at the end of each day
I have deployed my voiceflow chatbot. Now, I want that I get the transcription at the end of each day. How can I do that?
3 Replies
How to receive a daily email with all of your agent’s transcripts
1. Make sure your conversations are being saved
• Web-chat widget → transcripts are stored automatically.
• Custom DM API deployment → call the Transcripts API’s PUT /transcripts endpoint after each session (or use the helper built into the web-widget template). 2. Fetch the day’s transcripts with the Transcripts API – or – export them as a CSV ready for attachments: 3. Send the email • Drop the above call into a small script (Node, Python, etc.).
• Use a mail service such as Resend, SendGrid, AWS SES, or Gmail API to send yourself an email.
• Attach the CSV or include the JSON in the body. 4. Schedule it once a day • GitHub Actions, AWS Lambda + EventBridge (cron), GCP Cloud Scheduler, or Zapier can trigger the script every 24 h. 📄 Need a full example? Follow the “Generate Automated Emails with User Transcripts” recipe (includes sample JavaScript + Resend code):
https://docs.voiceflow.com (search for the article title above). That’s it – once scheduled, you’ll receive an automated email every day that contains that day’s conversation transcripts from your Voiceflow agent.
• Custom DM API deployment → call the Transcripts API’s PUT /transcripts endpoint after each session (or use the helper built into the web-widget template). 2. Fetch the day’s transcripts with the Transcripts API – or – export them as a CSV ready for attachments: 3. Send the email • Drop the above call into a small script (Node, Python, etc.).
• Use a mail service such as Resend, SendGrid, AWS SES, or Gmail API to send yourself an email.
• Attach the CSV or include the JSON in the body. 4. Schedule it once a day • GitHub Actions, AWS Lambda + EventBridge (cron), GCP Cloud Scheduler, or Zapier can trigger the script every 24 h. 📄 Need a full example? Follow the “Generate Automated Emails with User Transcripts” recipe (includes sample JavaScript + Resend code):
https://docs.voiceflow.com (search for the article title above). That’s it – once scheduled, you’ll receive an automated email every day that contains that day’s conversation transcripts from your Voiceflow agent.
When I execute the above, I dont get the csv file.
Great idea! 🙂 @UmairPerwaiz we'll see what we can do
cc @Michael Hood (Head of Product)