Search code examples
twiliotwilio-flex

How to get attribute values and phone number from Twilio studio flow to twilio flex?


In my Twilio studio flow I am using send to flex widget in that I am passing values in attributes but how to use that attributes and phone number in Twilio flex panel 2?


Solution

  • When you pass a call into Flex from Studio, the attributes you set are set as the attributes property on the task object that wraps the call or message. You can then access that task and data in the Flex UI using the task Context.