Loading...
Loading...
Loading...
External contacts are direct customers or individuals, such as employees of companies that you do business with. For more information about External Contacts, see About External Contacts and About creating a repository of customer data.
Use the Assign Customer Segment action in Architect to assign a customer segment to an external contact, so you can use that segment membership in later interactions. For example, you can record that a customer:
The segment must already exist and be active before a flow can assign it. Create segments in Menu > Orchestration > Enrichments > Customer Segments. For more information, see Manage segments.
From a new or existing flow, open a task or state. From the toolbox, expand the Flow container and drag an Assign Customer Segment action into the task editor: Toolbox > Flow > Get Assigned Customer Segments.
| Field | Description |
|---|---|
Name | Type a name for the action. The label you enter here becomes the action’s name displayed in the task sequence. |
External Contact ID | Enter the ID of the external contact to whom you want to assign the selected segment. You can reference the built-in External Contact ID variable to target the contact already associated with the current conversation, or supply any valid literal value or expression. |
Customer Segment | Select the customer segment to assign. You can assign one segment per action.
|
| Field | Description |
|---|---|
| Failure Outputs | These outputs allow you to map the results of any resulting errorType and errorMessage variables when the action takes the failure path.
|
| Path | Description |
|---|---|
| Success | The action takes this path when it assigns the segment to the external contact. |
| Failure | The action takes this path when it cannot complete the request. For example, the external contact ID is empty or invalid, the segment cannot be resolved, or the flow reaches the action limit for a single execution. |
Each action assigns one segment. To assign several segments, add an action for each one. If the segment is already assigned to the contact, the action renews the assignment and resets its expiry.
Download the sample flow and import it into your Genesys Cloud organization. It shows how to read the conversation attribute and use it to assign a segment.
| Flow name | Description | Type | File |
|---|---|---|---|
| Assign Flyer Tier | A sample bot flow that reads the flying tier from a custom conversation attribute and assigns a “Gold” or “Silver” customer segment based on the value. Note: The sample flow references a conversation schema that does not exist in your organization, so Architect shows a validation error after you import it. | Bot | Assign Flyer Tier Segment Bot Flow |
For more information, see Import or export a flow and Download Architect flow examples.
For more information about how to use this action in a flow, see Assign customer segments using custom conversation attributes and Capture third-party customer segments in Architect.
Get user feedback about articles.