﻿<?xml version="1.0" encoding="utf-8"?>
<ScriptContainer xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" noNamespaceSchemaLocation="http://lab-iniws01/scriptcontainer.xsd" BusNo="4605741" UserID="34735748">
  <Actions>
    <ActionStruct>
      <ActionID>19</ActionID>
      <Action>SNIPPET</Action>
      <Caption>Script Param Payload</Caption>
      <Parameters>
        <string>ASSIGN assistLaunchConfigName="romanovTestNew"

DYNAMIC customPayload
ASSIGN customPayload.Ani="{ANI}"
customPayload.callIdAsSessionToken="true" 

// example of prefilling the bio-key named 'SSN' to the Agent VB widget
//ASSIGN customPayload.SSN="2342"

customPayloadJSON="{customPayload.asJSON()}"</string>
        <string>Limit2K</string>
      </Parameters>
      <DefaultNextAction>
        <Text />
        <ActionID>18</ActionID>
        <Index>0</Index>
        <LabelDistance xsi:nil="true" />
        <Segments />
      </DefaultNextAction>
      <Branches />
      <Cases />
      <X>208</X>
      <Y>304</Y>
      <DependencyOrder>1</DependencyOrder>
      <Impl_Type>0</Impl_Type>
      <LibraryID>b333da63-33c8-4297-a58a-e9546cf7f0f2</LibraryID>
      <ExtraInfo>
        <DefaultBranch>
          <ActionId>18</ActionId>
          <Segments />
        </DefaultBranch>
        <Branches />
        <CaseBranches />
      </ExtraInfo>
      <xws>0</xws>
      <yws>0</yws>
    </ActionStruct>
    <ActionStruct>
      <ActionID>18</ActionID>
      <Action>POPURL</Action>
      <Caption>vb-widget</Caption>
      <Parameters>
        <string>{AGENTID}</string>
        <string>https://us1-m.ocp.ai/agent-vb-mw/frame?token={masterid}</string>
        <string>Omilia Voice Biometrics</string>
        <string>ContactPanel</string>
        <string>300</string>
        <string>300</string>
        <string>False</string>
        <string>False</string>
      </Parameters>
      <DefaultNextAction>
        <Text />
        <ActionID>2</ActionID>
        <Index>0</Index>
        <LabelDistance xsi:nil="true" />
        <Segments />
      </DefaultNextAction>
      <Branches />
      <Cases />
      <X>304</X>
      <Y>304</Y>
      <DependencyOrder>6</DependencyOrder>
      <Impl_Type>0</Impl_Type>
      <LibraryID>ff08b4cd-1ac1-d8f4-b52a-85fb86e7a824</LibraryID>
      <ExtraInfo>
        <DefaultBranch>
          <ActionId>2</ActionId>
          <Segments />
        </DefaultBranch>
        <Branches />
        <CaseBranches />
      </ExtraInfo>
      <xws>0</xws>
      <yws>0</yws>
    </ActionStruct>
    <ActionStruct>
      <ActionID>12</ActionID>
      <Action>ONANSWER</Action>
      <Caption>Onanswer</Caption>
      <Parameters>
        <string>SKLNAME</string>
        <string>FIRST</string>
        <string>LAST</string>
        <string>AGENTID</string>
      </Parameters>
      <DefaultNextAction>
        <Text />
        <ActionID>19</ActionID>
        <Index>0</Index>
        <LabelDistance xsi:nil="true" />
        <Segments />
      </DefaultNextAction>
      <Branches />
      <Cases />
      <X>96</X>
      <Y>304</Y>
      <DependencyOrder>5</DependencyOrder>
      <Impl_Type>0</Impl_Type>
      <LibraryID>4b611ba4-8e81-45a6-9fcc-97c24f43ccbc</LibraryID>
      <ExtraInfo>
        <DefaultBranch>
          <ActionId>19</ActionId>
          <Segments />
        </DefaultBranch>
        <Branches />
        <CaseBranches />
      </ExtraInfo>
      <xws>0</xws>
      <yws>0</yws>
    </ActionStruct>
    <ActionStruct>
      <ActionID>8</ActionID>
      <Action>SNIPPET</Action>
      <Caption>Build Email</Caption>
      <Parameters>
        <string>//build email
EmailSubject = "Omilia VB Agent Assist - {busno}"
EmailBody = "Master ID: {MasterID} &lt;br&gt; Contact ID:{contactid}&lt;br&gt;ANI={e164ANI}&lt;br&gt;&lt;br&gt;Assist Launch ConfigName={assistLaunchConfigName}&lt;br&gt;tenant-id={busno}&lt;br&gt;UTC Timestamp - {utc}&lt;br&gt; Error - {_err}"

</string>
        <string>Limit2K</string>
      </Parameters>
      <DefaultNextAction>
        <Text />
        <ActionID>7</ActionID>
        <Index>0</Index>
        <LabelDistance xsi:nil="true" />
        <Segments />
      </DefaultNextAction>
      <Branches />
      <Cases />
      <X>576</X>
      <Y>400</Y>
      <DependencyOrder>3</DependencyOrder>
      <Impl_Type>0</Impl_Type>
      <LibraryID>b333da63-33c8-4297-a58a-e9546cf7f0f2</LibraryID>
      <ExtraInfo>
        <DefaultBranch>
          <ActionId>7</ActionId>
          <Segments />
        </DefaultBranch>
        <Branches />
        <CaseBranches />
      </ExtraInfo>
      <xws>0</xws>
      <yws>0</yws>
    </ActionStruct>
    <ActionStruct>
      <ActionID>7</ActionID>
      <Action>EMAIL</Action>
      <Caption>Email</Caption>
      <Parameters>
        <string>Automatic</string>
        <string>inContact Support</string>
        <string>incontactsupport@incontact.com</string>
        <string />
        <string>{errorEmail}</string>
        <string />
        <string>{EmailSubject}</string>
        <string />
        <string>{EmailBody}</string>
        <string />
        <string>ERRMSG</string>
      </Parameters>
      <Branches />
      <Cases />
      <X>704</X>
      <Y>400</Y>
      <DependencyOrder>4</DependencyOrder>
      <Impl_Type>0</Impl_Type>
      <LibraryID>933f7543-0cd4-4bb3-a403-fbfe14f4d34c</LibraryID>
      <ExtraInfo>
        <DefaultBranch>
          <ActionId>-1</ActionId>
          <Segments />
        </DefaultBranch>
        <Branches />
        <CaseBranches />
      </ExtraInfo>
      <xws>0</xws>
      <yws>0</yws>
    </ActionStruct>
    <ActionStruct>
      <ActionID>6</ActionID>
      <Action>REQAGENT</Action>
      <Caption>Reqagent</Caption>
      <Parameters>
        <string>{testTargetSkill}</string>
        <string>{testTargetAgent}</string>
        <string>DefaultfromSkill</string>
        <string />
        <string />
        <string />
        <string />
        <string />
        <string>AfterSequence</string>
        <string>DefaultFromSkill</string>
        <string />
        <string>1</string>
        <string>20</string>
        <string />
      </Parameters>
      <Branches />
      <Cases />
      <X>304</X>
      <Y>176</Y>
      <DependencyOrder>10</DependencyOrder>
      <Impl_Type>0</Impl_Type>
      <LibraryID>689a4a1b-fa0d-47b3-9a02-cbeb4735f08f</LibraryID>
      <ExtraInfo>
        <DefaultBranch>
          <ActionId>-1</ActionId>
          <Segments />
        </DefaultBranch>
        <Branches />
        <CaseBranches />
      </ExtraInfo>
      <xws>0</xws>
      <yws>0</yws>
    </ActionStruct>
    <ActionStruct>
      <ActionID>5</ActionID>
      <Action>SNIPPET</Action>
      <Caption>Assign Skill/Agent to Test</Caption>
      <Parameters>
        <string>ASSIGN testTargetAgent = "39647449 - Spiros Meliopoulos"
ASSIGN testTargetSkill = "18645244 - IB Call"</string>
        <string>Limit2K</string>
      </Parameters>
      <DefaultNextAction>
        <Text />
        <ActionID>6</ActionID>
        <Index>0</Index>
        <LabelDistance xsi:nil="true" />
        <Segments />
      </DefaultNextAction>
      <Branches />
      <Cases />
      <X>176</X>
      <Y>176</Y>
      <DependencyOrder>9</DependencyOrder>
      <Impl_Type>0</Impl_Type>
      <LibraryID>b333da63-33c8-4297-a58a-e9546cf7f0f2</LibraryID>
      <ExtraInfo>
        <DefaultBranch>
          <ActionId>6</ActionId>
          <Segments />
        </DefaultBranch>
        <Branches />
        <CaseBranches />
      </ExtraInfo>
      <xws>0</xws>
      <yws>0</yws>
    </ActionStruct>
    <ActionStruct>
      <ActionID>4</ActionID>
      <Action>BEGIN</Action>
      <Caption>Begin</Caption>
      <Parameters>
        <string />
        <string />
        <string />
      </Parameters>
      <DefaultNextAction>
        <Text />
        <ActionID>5</ActionID>
        <Index>0</Index>
        <LabelDistance xsi:nil="true" />
        <Segments />
      </DefaultNextAction>
      <Branches />
      <Cases />
      <X>96</X>
      <Y>176</Y>
      <DependencyOrder>7</DependencyOrder>
      <Impl_Type>0</Impl_Type>
      <LibraryID>b2f794c5-0232-40e7-9830-76d573bf57d7</LibraryID>
      <ExtraInfo>
        <DefaultBranch>
          <ActionId>5</ActionId>
          <Segments />
        </DefaultBranch>
        <Branches />
        <CaseBranches />
      </ExtraInfo>
      <xws>0</xws>
      <yws>0</yws>
    </ActionStruct>
    <ActionStruct>
      <ActionID>3</ActionID>
      <Action>ANNOTATION</Action>
      <Caption>Get an Agent</Caption>
      <Parameters>
        <string>Requesting an Agent operation can be part of another CXone Studio script that implements the routing using the appropriate queue logic. The reqAgent CXone action is here only for testing e2e purposes.  </string>
        <string>265</string>
        <string>73</string>
      </Parameters>
      <DefaultNextAction>
        <Text />
        <ActionID>6</ActionID>
        <Index>0</Index>
        <LabelDistance xsi:nil="true" />
        <Segments />
      </DefaultNextAction>
      <Branches />
      <Cases />
      <X>208</X>
      <Y>80</Y>
      <DependencyOrder>2</DependencyOrder>
      <Impl_Type>0</Impl_Type>
      <LibraryID>d28d2b39-d4db-499a-9b8b-f3879e4c5b25</LibraryID>
      <ExtraInfo>
        <DefaultBranch>
          <ActionId>6</ActionId>
          <Segments />
        </DefaultBranch>
        <Branches />
        <CaseBranches />
      </ExtraInfo>
      <xws>0</xws>
      <yws>0</yws>
    </ActionStruct>
    <ActionStruct>
      <ActionID>2</ActionID>
      <Action>AgentAssistV1_LIBID_b2aedee9-ab1e-4923-9d64-04cee8118482</Action>
      <Caption>Launch Agent Assist App</Caption>
      <Parameters>
        <string>{assistLaunchConfigName}</string>
        <string />
        <string />
        <string />
        <string />
        <string />
        <string>{customPayloadJSON}</string>
      </Parameters>
      <Branches>
        <BranchStruct>
          <Text>Error</Text>
          <ActionID>1</ActionID>
          <Index>0</Index>
          <LabelDistance xsi:nil="true" />
          <Segments />
        </BranchStruct>
      </Branches>
      <Cases />
      <X>384</X>
      <Y>304</Y>
      <DependencyOrder>8</DependencyOrder>
      <Impl_Type>1</Impl_Type>
      <LibraryID>b2aedee9-ab1e-4923-9d64-04cee8118482</LibraryID>
      <ExtraInfo>
        <DefaultBranch>
          <ActionId>-1</ActionId>
          <Segments />
        </DefaultBranch>
        <Branches>
          <BranchInfo>
            <KeyName>0</KeyName>
            <ActionId>1</ActionId>
            <Segments />
          </BranchInfo>
        </Branches>
        <CaseBranches />
      </ExtraInfo>
      <xws>0</xws>
      <yws>0</yws>
    </ActionStruct>
    <ActionStruct>
      <ActionID>1</ActionID>
      <Action>WHISPER</Action>
      <Caption>Whisper</Caption>
      <Parameters>
        <string>"%There was an error launching specified Agent Assist Application: {_ERR}"</string>
        <string />
        <string>Agent</string>
      </Parameters>
      <DefaultNextAction>
        <Text />
        <ActionID>8</ActionID>
        <Index>0</Index>
        <LabelDistance xsi:nil="true" />
        <Segments />
      </DefaultNextAction>
      <Branches />
      <Cases />
      <X>480</X>
      <Y>400</Y>
      <DependencyOrder>0</DependencyOrder>
      <Impl_Type>0</Impl_Type>
      <LibraryID>0494c6b4-0433-443d-8fdc-adcaf23cbf30</LibraryID>
      <ExtraInfo>
        <DefaultBranch>
          <ActionId>8</ActionId>
          <Segments />
        </DefaultBranch>
        <Branches />
        <CaseBranches />
      </ExtraInfo>
      <xws>0</xws>
      <yws>0</yws>
    </ActionStruct>
  </Actions>
  <LibraryItem LibraryID="510a6689-6485-4393-a3fc-9d0f8fa06da2" ApiClassificationId="0" BusNo="4605741" Name="AgentAssistCxOneAgent" Alias="AgentAssistCxOneAgent" MediaType="4" RoutingMode="" VariableRedaction="">
    <Icon>AAEAAAD/////AQAAAAAAAAAMAgAAAFFTeXN0ZW0uRHJhd2luZywgVmVyc2lvbj00LjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWIwM2Y1ZjdmMTFkNTBhM2EFAQAAABVTeXN0ZW0uRHJhd2luZy5CaXRtYXABAAAABERhdGEHAgIAAAAJAwAAAA8DAAAAiwUAAAKJUE5HDQoaCgAAAA1JSERSAAAAIAAAACAIAgAAAPwY7aMAAAABc1JHQgCuzhzpAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOwwAADsMBx2+oZAAABSBJREFUSEutVllsG1UUfZ9pm7ZRlSqL4yW2E8dZbCexkzqJ4ziOd3vs8b6vYxNKS9JSGqChhVSARJBQEZtYK0ACyhoKlCJElCKhQlk+4KNICAkiJCpaqcAHiK2cYSwnclMzH1jXo/ve3HfP3d+QK//+Ll68fPz4yZmZRYZZyOfvyOUOZzLzqdShROLWWGwuGr05HL4pGNzn98/6fHu93j0ez26Xa9rpLN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GXAAD9NNPx8w3BOq7EMMwvy6p5/gdq0CQIg4GriO7otQSrdndCFY2QTDH2DnTg3B3V0Vouj5HEdTj0cxG4bnApUdMJEvslUhquFKY6OK4MugKsmYxsjktcj9RqIqyTUAduzoI3Z7OV2VMo2dz/neT21IuL+M95fLlE8OGhp6iNVauLrRMOtRr1XkeavczGyj8fvA2b5dSSyW3IajAr1DvVPGAI/GRm7XRgU/gK1bu4jZnF1vDv9hx8eJ+vpOYjJt4O9/jms+2iGzebOcTEysNT3PY/zF6uqkmKY3SiTlRud/ko9kY6NBLh8jZ86c0+vD+Fblc4a/DLTX1cmWlk6zX9crKx97vdM6Ha3V+gYGKI3GrVY78c3U02NVKi0KhRl3t0xmxP0nkYyKRHqhcJdAoGtp0TY1DWAYoF3RUA0N3du2KevrFVu2dGzaJOvoGIN2KP8HVQ1aCsWAeQgAAAAASUVORK5CYIIL</Icon>
    <ImplPath>ccaas\romanov\AgentAssist-CxOneAgent</ImplPath>
    <CreateDate>2026-01-27T17:02:48.237</CreateDate>
    <ModifyDate>2026-02-04T12:20:56.96</ModifyDate>
    <ModifyUserID>34735748</ModifyUserID>
    <ModifiedBy>Alexey Romanov</ModifiedBy>
    <URI>agentassistcxoneagent</URI>
    <DefaultTimeZone>Mountain Standard Time</DefaultTimeZone>
    <Parameters />
    <Branches />
  </LibraryItem>
  <MediaType>4</MediaType>
  <ModifyDate>0001-01-01T00:00:00</ModifyDate>
</ScriptContainer>