简体   繁体   中英

How to send emails by dialogflow

I'm looking for a way to send email through dialogflow with the information the bot gets from the user, for example: full name, email, etc.

I've already researched a lot and saw that there is a way using nodemailer, but I could not make it work.

You can send the mail in your fulfillment code at your backbend. You just need to "Enable webhook call for this intent" in the "Fulfillment" section of your Intent. Dialogflow itself has no support to send mails. You need to implement that yourself eg with the npm package you found.

I think Botonic could be useful in this case. It's an open-source framework to create bots with React and it has a Dialogflow plugin to manage NLU stuff.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM