Writing details captured in form to csv

Hello, I have a rasa bot that captures details from potential interviewees such as Name, number, designation and location. I want to store slots values from a form to a csv file for which I have another code that will email the csv file to the required personnel So basically I need help in exporting the form slots to a csv file.

Hi @Nims007,

You can use a custom action to write the slot values into a csv file. Custom actions are written in python, so you can use a standard python library to export to csv.

You can find out more about custom actions here: docs and video tutorial

I hope this helps!


Thanks for responding @Aciel, got it working. Cheers!

1 Like