capdragon
capdragon

Reputation: 14899

How to retrieve user phone number in Action for the Assistant

How do i get the phone number of a user, who uses my Dialogflow?

I see email, name and so on in these docs, but I don't see phone number. Is it even possible?

Upvotes: 0

Views: 725

Answers (1)

Abhinav Tyagi
Abhinav Tyagi

Reputation: 5256

You may need to capture it from the user itself by creating a parameter/entity. Once captured, validate it via webhook if needed for the number of digits.

This is how I am doing:

enter image description here

Upvotes: 1

Related Questions