Call Studio Script URL

Executes a Studio script. The page displays information about the placeholders you can include in the script you call to have certain data included in the script. For example, you can include the IDs for the case, post, channel, message, outbound author, or inbox assigneeClosed The agent whose inbox a case currently resides in. An agent remains the inbox assignee until they close the case's tab..

You can use this job to send information to a customer relationship management (CRMClosed Third-party systems that manage such things as contacts, sales information, support details, and case histories.) software such as Salesforce to save data or update a status.

Workflow Automation (WFA) can interact with interactions managed by scripts. However, digitalClosed Any channel, contact, or skill associated with Digital Experience (DX). actions do not run natively in scripts launched by WFA or via URL. This is because digital actions rely on system variables that only exist in scripts that start with a digital point of contact.

When WFA spawns a script—whether through an API call or a URL—it runs with minimal data and independently from the original contact script. As a result, many required system variables are missing. Digital actions cannot run in scripts launched with WFA or started via URL. Attempting to pull digital actions into a WFA script fail because the necessary context does not exist.

Example workflow:

  • WFA triggers an event.

  • The event sends an OnSignal to the original digital script.

  • The original script executes the required digital action using its existing system variables.

All inbound contacts should be managed by digital scripts. Studio actions aren't compatible with workflow automation, so call the script that is already running with the contact, configure actions natively in Studio instead of with workflow automation. You can also use Studio to spawn a script with an ACD scripts page URL, instead of using this WFA job. You cannot use this job to call a non-digital script for a digital interaction.

Contact center administrator Akela Wolf wants to automatically send her contact center's chat interaction transcripts to a CRMClosed Third-party systems that manage such things as contacts, sales information, support details, and case histories.. To accomplish this automated process, Akela creates a Before case closed trigger with Delayed execution of 7 seconds and the following conditions:

  • Included channels condition: Allows her to specify which channels this trigger should apply to.
  • Routing queues: Allows her to specify which routing queues or digital skills he wants this time limit to apply to. She adds this under Delayed conditions.

Then, she creates the Call Studio Script URL job and under Parameters, enters the script URL with variables for relevant placeholders.

Then, she creates the Call Studio Script URL and under Parameters, enters the script URL with variables for relevant placeholders.

With this configuration, a Studio script shares the chat interaction transcripts with the CRM.

Create This Job

If you want a script to run for multiple skills, you must create an automation job for each one.

  1. Click the app selector icon of app selector and select ACD.
  2. Go to Digital > Automation Jobs.

  3. Click Add.
  4. Enter a Name that describes what the job does.
  5. From the Action drop-down, select Call Studio script URL.
  6. Provide the Script URL. The script must have a default skill Id. You cannot use a placeholder, but you could pull a skill Id out of the contact inside the script. Make sure the URL contains the necessary elements to call the script, described in the table below.
    Learn more about fields in this step
    FieldDetails
    {{caseId}}ID number assigned to a contact.
    {{postId}}ID number assigned to a social media post.
    {{channelId}}ID assigned to the channel.
    {{inboxAssigneeIncontactId}}ID of the agent currently assigned to the contact.
    {{messageId}}ID assigned to an individual message.
    {{authorUserIncontactId}}ID of the user who wrote the message.
  7. Click Save.

Add The Job to a Trigger

  1. Go to Digital > Automation Triggers.

  2. Locate the trigger you want to assign this job to and open it.

  3. Click Add existing job.

  4. Use the drop-down to select this job. The drop-down displays the Name you gave the job, not the Action of the job.
  5. Click Add.