Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

GetCase - Amazon Connect

GetCase

Searches all existing cases with the provided customer ID. Add request fields to filter by case fields. Specify the case fields to be returned in the response to persist in the context.

Parameter object

{ "LinkContactToCase": "true" or "false", If set to true, cases will open automatically when the agent accepts the contact. "GetLastUpdatedCase": "true" or "false", You can specify to get only the last updated case for any search criteria. "CustomerId": "Customer's Id", Search all cases for this customer Id. "CaseRequestFields": An optional map of cases request fields. Keys should be fields from Cases domain. Values can be static or dynamic. "CaseResponseFields": [ ] An optional list of field names that should be persisted in the case namespace. }

Results and conditions

None.

Errors

  • NoMatchingError - An error was encountered while trying to find the case. This may be due to a system error or how Get case is configured.

  • ContactNotLinked - If you specify to link the contact to case, then this error branch will appear. It might be that the contact was not linked after the case is retrieved (partial success/partial failure). If this happens, then the flow will follow this branch.

  • MultipleFound - Multiple cases are found with the search criteria.

  • NoneFound - No cases are found with the search criteria.

Restrictions

None. This can be used in any type of flow and any channel.

Corresponding block in the UI

Flow block: Cases

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.