Notifications
Announcements
No record found.
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,
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.
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
The Agent script and Agent script steps are two entities, so you can go Settings > Data management > Template for Data Import to download template.
Opening excel after downloading template for them, you can view 'unique name' column is included.
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.
Hi Partner,
Please click Yes under "Did this answer your question?" to close this thread if the answer is helpful.
Thanks.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Tom_Gioielli 53 Super User 2025 Season 2
Daniyal Khaleel 27 Most Valuable Professional
Soundari 15