How to make Rasa bot send .txt file to user?

Hi i wanted to know how to make rasa bot send .txt file to the user

1 Like

You would typically send a URL to the text file and not the file itself.

i want to generate a dynamic txt file and then send it to the user. how to do it?

Generate the file and write it someplace (S3/minio bucket, an open URL, etc). Send a message to the user like: “You can access the file here: https://url/to/my/file.txt