attribute-viewer
This feature displays task attributes in the task info tab, and displays worker attributes in the teams view worker panel.
flex-user-experience
setup and dependencies
There are no additional dependencies for setup beyond ensuring the feature is enabled within the flex-config
attributes.
To enable the attribute viewer feature, under your flex-config
attributes set the attribute_viewer
enabled
flag to true
:
"attribute_viewer": {
"enabled": true,
"enabled_for_agents": false
}
If you would like to also allow agents to view task attributes, set enabled_for_agents
to true
as well.
how does it work?
This feature uses a Twilio Paste code block component to display task and worker attributes passed via component props.