Skip to main content

Conversation schemas overview

Conversation schemas in Genesys Cloud enable administrators to define properties of custom conversation attributes and associate these attributes to conversations through the unique conversation ID of each conversation.

Similar to how custom field types allow organizations to define business-specific schemas for external contacts—enabling capturing of persistent customer profile context, conversation attributes provide a flexible mechanism to capture dynamic interaction level context that varies from one interaction to another. For example, in an insurance use case, an external contact record stores long-term profile information like policy number, coverage tier, or risk classification. In contrast, a specific claim-related interaction requires capturing temporary context such as incident type, property damage estimate, or a claim reference number—all of which are best classified as conversation attributes. This approach maintains a clear distinction between persistent customer identity and conversation-level context, while supporting schema-based consistency across both.

Genesys Cloud provides a JSON-based schema framework that allows administrators to define and manage custom data models tailored to their business needs across supported Genesys Cloud features. A schema acts as a blueprint for the types of business-specific data that can be attached to a conversation such as incident type, booking reference, product category, or claim priority. Administrators can create and manage schema definitions by either using the Conversation Schemas UI in Genesys Cloud or through the .

Conversation schema management interface

The Conversation Schema Management interface in Genesys Cloud offers administrators a simpler and more accessible way to define and manage custom conversation data. With the user-friendly UI, administrators can create, edit, and organize these schemas easily. This feature provides an admin-friendly schema management tool, reduces reliance on technical resources, and helps ensure data consistency across the platform. By making schema management easier and more intuitive, Genesys Cloud is helping organizations better align their custom data structures with their business needs, while minimizing manual effort and reducing the chance of error.

Conversation attributes and records

A conversation attribute is a piece of information about an interaction. In contrast to participant data, which is linked to individual participants, conversation attributes are created and stored at the conversation level. Administrators can define such custom attributes within a conversation schema and store structured, interaction-specific metadata that is not part of the default conversation model.

Conversation attribute records hold the actual values about the specific conversation for the attributes defined in a schema. For example, in an insurance claim related interaction, a record based on the “InsuranceClaim” schema contains:

{ 
...
	incidentType: "Water Damage" 
	claimReferenceNumber: "CLM-56789" 
	propertyDamageEstimate: 
	{ 
		"amount": "9500", 
		"currencyType": "USD" 
	} 
}

Get started with conversation schemas

Methods to update field data

These methods enable you to update conversation attribute records:

MethodNatively or data actions?Additional information
Conversation attribute APIsShown in contact sidebar during interactions.
Architect flowsData actionsIn a future release, Architect will include native actions to read, write, and update data in conversation attributes.
Agent scriptsNativelyIn a future release, Scripter will include native actions to read, write, and update data in conversation attributes.
Notes:
  • You can update and store conversation attribute records associated with conversations with a rolling 365-day retention period. Whenever the system updates a record, it extends the record’s expiration date to 365 days from the time of that update.
  • You can associate multiple conversation attribute records with a single conversation. These records can come from one or more different schemas.

Conversation attributes and GDPR compliance

For important considerations on privacy and GDPR compliance pertaining to conversation attributes, see .