Skip to main content

Get Conversation Attribute action

Use the Get Conversation Attribute action to retrieve an existing conversation attribute record. This action lets the flow reference previously captured custom data about the conversation and present it in alignment with the schema, creating further reuse opportunities.

Configure the Get Conversation Attribute action

FieldDescription
NameType a distinctive name for the Get Conversation Attribute action. The label you enter here becomes the action’s name displayed in the task sequence.
Conversation ID

Enter the valid UUID of the conversation that contains the record you want to retrieve.

Note: This field is applicable only for Workflow type flows.

Schema

Click the arrow at the end of this list and select a previously created that represents the record you want to retrieve. To narrow the selection, type the first few letters of the schema name.

Record ID

Enter the unique ID of the conversation attribute record that you want to retrieve.

Result

Assign a variable name to the retrieved conversation attribute record for further use in the flow.

Define failure outputs

FieldDescription
Failure Outputs

These outputs allow the flow author to map the results of any resulting errorType and errorMessage variables when the Get Conversation Attribute action takes the failure path. The failure outputs help you anticipate potential issues and manage them effectively, improving your flow’s resiliency.

  • errorType: A nonempty string that contains the type or category of the error.
  • errorMessage: A non-localized failure message. The string can be empty or NOT_SET.

Note: Hover over the information icon next to errorType to display the list of allowable errorType values.

Select the variables that you want to assign to the failure data values returned by the Get Conversation Attribute action.

You can use the following errorType values:

  • ActionInvocationLimitExceeded: If a flow has successfully run the Get Conversation Attribute action five times, any subsequent invocations of the action take the failure path.
  • ConversationCustomAttributeRecordNotFound: Occurs if you attempt to fetch a record that does not exist.
  • GeneralError: If there is a general error when retrieving the conversation attribute record, the action takes the failure path.

Note: Click the arrow next to Failure Outputs and expand or collapse the list of variables.

Configure found and not found paths

PathDescription
Found

A Found path indicates that Architect has located the conversation attribute record. Drag the appropriate action below this path.

Note: The Result field only populates when the flow follows the Found path.

Not Found

A Not Found path indicates that Architect did not find the matching conversation attribute record. Drag the appropriate action below this path.

Note: The Result field does not populate when the flow follows the Not Found path.