0
votes

I'm trying to gather data from the caller like their email address.

In twilio autopilot \collect\ there is a fieldtype TWILIO.EMAIL where it will automatically detect email address in the speech and it really do well (also the other fieldtypes)

But in twilio voice \gather\ there's no fieldtype to do that job and it returns [email protected] to john carlo at gmail com

Is there any way in the docs to apply fieldtype in \gather\? btw, I'm using \gather\ because some questions are dynamic (depends on the answer on the previous question)

Thanks

1

1 Answers

2
votes

Twilio Developer Evangelist here. 👋

I don't think that's possible with gather (will double-check though).

Is there any way in the docs to apply fieldtype in \gather\? btw, I'm using \gather\ because some questions are dynamic (depends on the answer on the previous question)

Autopilot may do the job just fine though. Did you discover the redirect property? Using redirect you can dynamically route to different tasks depending on an answer. :)

Hope that helps. Let me know how it goes. 😊