Loading...
Loading...
Loading...
Many organizations configure and assign customer segments in a third-party system, such as a CRM or customer data platform. A flow can capture that segment membership and assign a matching customer segment in Genesys Cloud. The segment persists on the external contact until it expires, so personalization, routing, and analytics across Genesys Cloud can use it. The third-party system remains the source of truth, and the flow records the outcome of its decision.
POST /api/v2/journey/segments endpoint. Depending on how Genesys Cloud is set up in your organization to handle third-party segments, you can use one of the following methods:
Use this method when the third-party system passes segment membership into the conversation as participant data.
FindCustomerSegments() function to look up the segment by name.Use this path to retrieve segment membership from the third-party system during the interaction.
FindCustomerSegments() function to look up the segment by name.Use this path when the third-party segment is stored as a custom conversation attribute. For more information, see Assign customer segments using custom conversation attributes.
A customer can belong to many segments at the same time. If a customer moves between segments that are mutually exclusive in the third-party system, such as loyalty tiers, the previous Genesys Cloud segment stays assigned until it expires.
To keep membership accurate, do either of the following:
POST /api/v2/externalcontacts/contacts/{contactId}/journey/segments.If the contact is already assigned to the segment, the Assign Customer Segment action renews the assignment and resets its expiry.
Get user feedback about articles.