Contact block: Check contact attributes - Amazon Connect

Contact block: Check contact attributes

Description

  • Branches based on a comparison to the value of a contact attribute.

  • Supported comparisons include: Equals, Is Greater Than, Is Less Than, Starts With, Contains.

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

Contact flow types

You can use this block in the following contact flow types:

  • All flows

Properties

Conditions to check can be dynamic

You can check conditions like the following:

  • $.Attributes.verificationCode

To check for a NULL value, you need to use a Lambda.

Configuration tips

  • If you have multiple conditions to compare, Amazon Connect checks them in the order they are listed.

    For example, in the following image Amazon Connect compares the greater than 60 condition first and compares greater than 2 last.

  • This block doesn't support case-insensitive pattern matching. For example, if you're trying to match against the word green and the customer types Green, it would fail. You would have to include every permutation of upper and lower-case letters.

Configured

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: