Test external gamification metrics

Prerequisites
  • Genesys Cloud CX 3, Genesys Cloud CX 1 WEM Add-on II, Genesys Cloud CX 2 WEM Add-on I, Genesys Cloud CX 3 Digital, or Genesys Cloud EX license
  • Employee Performance > External Metric Definition > Add, Delete, Edit, View
  • External metrics data supplied with an API connection. For more information, see the Genesys Cloud Gamification API.
  • Performance Management Admin role

    Note: The Performance Management Admin role is enabled for all new organizations. However, anyone with an existing org must add this new role by using the Authorization API to restore all default roles.

    To test the external metrics feature before you build the integration with the Genesys Cloud External Metrics Data Upload API, follow the procedures in this article.

    Test the external metrics feature

    1. Configure the external metric definition in Genesys Cloud. For more information, see the External metric definition configurations section in the Configure external metrics article.
    2. Add and enable the external metric in one or more relevant gamification profiles. For more information, see Configure gamification profile metrics.
    3. Upload test data for the external metric using the API explorer interface. For more information, see the Using API explorer for testing external metrics section below.

    Using API explorer for testing External Metrics

    1. Go to the Gamification APIs developers page and log in.
    2. In the upper right corner of the screen click Account Selection, select a privacy setting and click Add Account.



    3. Select the organization region and sign in to your account with your login credentials.



    4. From the list of available Gamification APIs, navigate to and click POST /api/v2/employeeperformance/externalmetrics/data.
    5. Disable Reading Mode.
    6. Click API Request and under Request Body click ExternalMetricDataWriteRequest.
    7. Under Items click Add. A list of external metric data items appears.

    8. Enter details in the fields provided. Only enter a user ID or email, but not both.
    9. To locate the metricid, follow these steps:
      1. Navigate to Admin Performance & EngagementExternal Metric Definitions.
      2. From the list provided, find the external metric definition for which you want to upload data.
      3. Copy the unique ID from the External ID column.
    10. Return to the Request Body page mentioned in step #6 and enter the external ID in the metricid field.
    11. Under the Execute Request section, click Execute Request.
    12. Verify that the request was successful.
      A successful response is indicated by the 200 – successful operation message.
    13. Navigate to Admin Performance & EngagementGamification Profiles and click the profile for which you want to test the external metric.
    14. In the upper right corner of the screen, ensure that the Enabled option is turned on.
    15. Navigate to the agent’s daily scorecard. 
    16. From the attendance bar, click the date for which you uploaded the external metric test data. 
    17. Verify that the data is available for the external metric.

    Note:
    • Upload external metrics for the current workday: Gamification reflects the update in a few seconds.
    • Upload external metrics for workdays for the previous workday and up to seven days in the past: Gamification reflects the update in a few seconds.
    • Upload external metrics for future dates: Gamification reflects the update on the specified future date, during the nightly job. This behavior means that the update will be available on the selected future day, early in the morning.
    • Upload external metrics for workdays more than seven days in the past: Gamification does not reflect the update.
    • Genesys Cloud does not generate gamification points for external metrics that you upload for dates before an agent is added to a gamification profile.
    • Group average value is not supported for external metrics, either for the current day or for the weekly trend views.