carlo
carlo

Reputation: 107

Twilio voice <gather> with fieldtype

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

Upvotes: 0

Views: 131

Answers (1)

stefan judis
stefan judis

Reputation: 3870

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. 😊

Upvotes: 2

Related Questions