Call Studio Script URL

This WFA job requires a Call Studio Script URL to execute a script. These URLs are no longer supported and the option to generate them has been removed from the platform. If you have existing URLs, you can continue to use them for now.

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 cannot use this job to call a non-digital script for a digital interaction.

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.