Flow block: Set contact attributes
Description
-
Stores key-value pairs as contact attributes.
-
Contact attributes are accessible by other areas of Amazon Connect, such as contact records.
For more information about how to use contact attributes, see Use Amazon Connect contact attributes.
Supported channels
The following table lists how this block routes a contact who is using the specified channel.
Channel | Supported? |
---|---|
Voice |
Yes |
Chat |
Yes |
Task |
Yes |
Flow types
You can use this block in the following contact flow types:
-
All flows
Properties

Configuration tips
-
When using a user-defined destination key, you can name it anything you want but don't include the $ and . (period) characters. They are not allowed because they are both used in defining the attribute paths in JSONPath.
-
You can use the Set contact attribute block to set the language attribute required for an Amazon Lex V2 bot. (Your language attribute in Amazon Connect must match the language model used to build your Amazon Lex V2 bot.)
Or, you can use the Set voice block to set the language required for an Amazon Lex V2 bot.
Configured block
When this block is configured, it looks similar to the following image:

Sample flows
See these sample flows for scenarios that use this block:
Scenarios
See these topics for scenarios that use this block: