GoogleCloudPlatform / dialogflow-integrations

Dialogflow integrations with multiple platforms including KIK, Skype, Spark, Twlio, Twitter and Viber
https://cloud.google.com/dialogflow/
Apache License 2.0
247 stars 499 forks source link

Pass Phone Info #191

Open andrewlearned opened 1 year ago

andrewlearned commented 1 year ago

Hey, not sure if this is possible in this code, but is there a way to pass the inbound phone number to Dialogflow? Ideally, I'd like to know who's texting so I can log the responses to the correct number.

I see it passes: const id = body.From;

But where would I access that in fulfillment since it hasn't been defined there?