web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Answered

Omnichannel Bulk Upload Agent Scripts

(0) ShareShare
ReportReport
Posted on by 677

Good Morning,

Please can you let me know if there is a way of bulk importing agent scripts if so what is the process / template to do this?

Also, what level of config is needed if we pass a field as context to these scripts so that the most relevant script is loaded dependant on the profile of the agent?

Thanks,

I have the same question (0)
  • Verified answer
    Community Member Profile Picture
    on at

    Hi abutler1986,

    Unfortunately, there is no way to bulk import agent scripts.

    As an administrator, you can set different default agent scripts for agents who handle different services, customers, or products.

    With the agent script expression builder, you can define the conditions that define which script an agent is shown by default in Omnichannel for Customer Service.

    Based on these conditions, when an agent accepts an incoming conversation, the agent script control selects a script from the different scripts that were made available for that particular session type and shows the script to the agent.

    https://docs.microsoft.com/en-us/dynamics365/app-profile-manager/agent-scripts#set-the-default-agent-script-for-agents

    As an administrator, you need to configure the condition by using the automation dictionary based on the evaluation of the condition. A script is set as default, and this script is displayed to the agent at runtime.

    https://docs.microsoft.com/en-us/dynamics365/app-profile-manager/agent-scripts#use-the-automation-dictionary-to-pass-context-data-parameters

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

  • abutler1986 Profile Picture
    677 on at

    Thanks for the response Leah much appreciated. I did find a way of importing them via the standard Import process which worked for scripts and script steps, just a case of including the right fields on the import, importantly the unique name which on the default view it does not show you this

  • Verified answer
    Community Member Profile Picture
    on at

    Hi abutler1986,

    The Agent script and Agent script steps are two entities, so you can go Settings > Data management > Template for Data Import to download template.

    pastedimage1625560926348v1.png

    Opening excel after downloading template for them, you can view 'unique name' column is included.

    pastedimage1625561009140v2.png

    pastedimage1625561063051v3.png

    Note:

    The import template will only show fields that are in the CRM Entity Form, not view, not all of the fields.

    So, we know that to include the fields to the Import Template, you need to add them into the Form.

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

  • Community Member Profile Picture
    on at

    Hi Partner,

    Please click Yes under "Did this answer your question?" to close this thread if the answer is helpful.

     pastedimage1625561875607v1.png

    Thanks. 

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 53 Super User 2025 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 27 Most Valuable Professional

#3
Soundari Profile Picture

Soundari 15

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans