Skip to main content
About the Resource Center

Set Participant Data action

This action is available in the Data category of the task editor’s Toolbox. Architect can assign attributes, or participant data, to voice or digital participants. An attribute is a piece of information about a participant that travels with it throughout the interaction. In Architect, a participant is the caller on an inbound voice or digital flow, or the recipient on an outbound flow.

About attributes

In contrast to flow variables, participant data attributes persist between transfers from one flow to another. For example, the participant’s telephone number (Call.Ani) does not persist if the interaction transfers to another flow. But if you store the information into participant data, other flows can access that data.

Each participant attribute is a name and value string that the flow author configures. To set an attribute, specify its name and a string value to assign to the attribute. Participant data attributes are most useful to store information that you want to persist beyond the current flow. For example, information that you want to access from a different flow or information that leaves the current flow altogether. With participant data, a third-party integration such as Genesys Cloud for Salesforce can receive screen pop URL information that you set via participant data.

You can also add custom interaction attributes to the customer participant data. For more information, see Attach custom conversation attributes to participant data in Architect.

Notes:
  • Attributes are case-sensitive. If you use an existing attribute in another part of the flow, ensure you match the case of the original attribute.
  • For bot flows, these limitations apply. If you reach the limit, the session closes and the flow follows the configured error handling path.
    • The number of Set Participant Data action executions per bot session is 50.
    • The number of attributes that the flow sets during a bot session is 50.
    • The maximum length of an attribute value is 500 characters.
  • Because Set Participant Data requires an actual conversation with a conversation ID, the action does not work with the Architect Test option.
  • Genesys Cloud does not save attributes analytics after the conversation completes. If the conversation and segments are complete, analytics cannot reopen the conversation to save the changes. For example: 
    1. The incoming interaction and the inbound flow are active and some participant data is written in the flow, synchronized in Conversation Services and Analytics Services.
    2. The system transfers the interaction to a queue and it waits. The in-queue flow is active and some participant data is written in the flow, synchronized in Conversation Services and Analytics Services.
    3. The interaction routes to a queue and an agent accepts it. The agent script contains some participant data, synchronized in Conversation Services and Analytics Services.
    4. The customer disconnects and the agent reaches the wrap-up state. The agent script, triggered by the output variable in the script, includes more participant data, synchronized in Conversation Services, but not Analytics Services.
    5. The agent completes the wrap-up and the interaction view closes for that agent. Over API, another participant data for that interaction and that agent participant is set and synchronized in Conversation Services, but not Analytics Services.

Reserved keywords

Architect voice flows contain a list of reserved keywords that you cannot use as an attribute name in participant data. Click the section below to view restricted terms.

Work with participant data in a flow

    Notes:
    • In voice flows, sometimes the attribute value of a participant changes while the participant proceeds through a flow that also changes the attribute value. The updates made via the Set Participant Data action are queued in memory until just before flow termination. However, bot flows send attributes immediately.
    • Updates go to the cloud in one batch. If multiple Set Participant Data action interactions occur by a flow against the same attribute, the value set in the last interaction wins.