Contact block: Check contact attributes - Amazon Connect

Contact block: Check contact attributes


  • 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?







Contact flow types

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

  • All flows


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.


When this block is configured, it looks similar to the following image:

Sample flows

See these sample flows for scenarios that use this block:


See these topics for scenarios that use this block: