Create Conversation Attribute action
Use the Create Conversation Attribute action to add custom data to a conversation, based on a schema that an administrator previously created in Genesys Cloud. When you create a conversation attribute, you capture data that is not normally found in the conversation data model and save it for later reference, whether in another Architect action, in analytics, or for improved customer personalization.
Once you select a schema, you can assign values to the custom-defined attributes from data available in the flow. For more information, see Custom Conversation Attributes.
Configure the Create Conversation Attribute action
| Field | Description |
|---|---|
| Name | Type a distinctive name for the Create Conversation Attribute action. The label you enter here becomes the action’s name displayed in the task sequence. |
| Conversation ID | Enter a valid UUID for the conversation. Note: This field is required only for Workflow type flows. |
| Schema | Click the arrow at the end of this list and select a previously created conversation schema. To narrow the selection, type the first few letters of the schema name. Conversation attributes appear in the Attribute field, based on the schema you select. |
| Record ID | Enter a unique ID for the conversation attribute record. |
| Divisions | Select one or more divisions to assign to the conversation attribute record. If your organization does not use divisions, leave this field unassigned. |
| Attribute | Enter values for the attributes specified in the selected schema. A validation warning indicates required fields. Enter at least one value, even if the schema has no required fields. Select Standard or JSON to toggle between the standard and JSON editing modes.
Both the standard and JSON editing modes allow literals and expressions as the input values. If you have not set a property and its value in JSON mode, the corresponding field in standard mode indicates that no value is specified. Notes:
|
| Result | Assign a variable name to the conversation attribute record for further use in the flow. |
Define failure outputs
| Field | Description |
|---|---|
| Failure Outputs | These outputs allow the flow author to map the results of any resulting errorType and errorMessage variables when the Create Conversation Attribute action takes the failure path. The failure outputs help you anticipate potential issues and manage them effectively, improving your flow’s resiliency.
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 Create Conversation Attribute action. You can use the following errorType values:
Note: Click the arrow next to Failure Outputs and expand or collapse the list of variables. |
Define success and failure paths
| Path | Description |
|---|---|
| Success | A completed Success path indicates that the system encounters no errors during the process. It is not a measure of whether the system receives data that is the intended result or functionality. |
| Failure | This path indicates that there was an error attempting to complete the action or a problem processing the results from the Create Conversation Attribute action. Drag the appropriate action below the Failure path. |
[NEXT] Was this article helpful?
Get user feedback about articles.