Legacy Dev Forum Posts

 View Only

Sign Up

Is it possible to get agent-input Script data and results via the API

  • 1.  Is it possible to get agent-input Script data and results via the API

    Posted 06-05-2025 19:19

    Rick_McGlinchey | 2018-09-05 00:01:59 UTC | #1

    Hi. We're getting some details currently for a conversation such as Campaign, Contact List and Wrap-up code. When it comes to Scripts, can we get the data that has been entered by the agent for a particular conversation? We see how to get the script, which shows all the fields, but not the script data that resulted from a particular conversation.

    Any assistance appreciated.

    thx, Rick


    anon28066628 | 2018-09-05 12:42:27 UTC | #2

    Hi Rick,

    To my knowledge that is not tracked in the API per-se. But you can use input / output variables to write to the conversation attributes (same as "Set Participant Data" in Architect). When an output variable is assigned to, it automatically updates the conversation participant attributes (no need for a 'save' button or 'onchange' handler on the form field).

    https://help.mypurecloud.com/articles/script-input-output-variables/


    Rick_McGlinchey | 2018-09-05 13:39:00 UTC | #3

    Hi RJ - that's perfect. Getting them along with the other conversation attributes is exactly what we need since we're already collecting them. Thanks much!

    Rick


    system | 2018-10-06 13:39:01 UTC | #4

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 3486