Greetings
I have built a handful of playbooks for a Virtual Agent and the new update has classified them as Task playbooks.
I would like to elevate these to the new Routine playbook type because they have ~40 examples that I've written to customize behavior and invocations. I've tried to export and import, as well as looked for settings that would modify the classification but haven't been able to.
Is this a coming feature or does anyone have a method to accomplish this, like editing the .json directly?
Solved! Go to Solution.
Hi @anwhite - I was able to convert an existing task playbook into routine, and yes I did it by manually editing the exported JSON.
1. Export your task playbook as JSON - this will have the definition of your 40 plus examples.
2. Create a new empty routine playbook.
3. Copy and paste goal and instructions from your task playbook to the new routine playbook.
4. Export and download the new playbook also as JSON
5. Open both in an IDE that alllows you to do a visual file diff (e.g VS Code)
There is a single JSON property which defines the playbook as a routine
Hi @anwhite,
Welcome to the Google Cloud Community!
It looks like you are trying to convert your Task Playbooks into Routine Playbooks in ServiceNow to leverage your 40 examples of custom training data, but you’ve found no built-in method and want an efficient solution without starting over from scratch.
Here are the potential ways that might help with your use case:
You may refer to the documentation below, which covers understanding users, acting appropriately, and maintaining quality in your Dialogflow CX agent:
Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.
Hi, ServiceNow is unrelated to my inquiry.
Was this response produced by an LLM? Sorry, most of the answer is not applicable.
Hi @anwhite - I was able to convert an existing task playbook into routine, and yes I did it by manually editing the exported JSON.
1. Export your task playbook as JSON - this will have the definition of your 40 plus examples.
2. Create a new empty routine playbook.
3. Copy and paste goal and instructions from your task playbook to the new routine playbook.
4. Export and download the new playbook also as JSON
5. Open both in an IDE that alllows you to do a visual file diff (e.g VS Code)
There is a single JSON property which defines the playbook as a routine
A note for anyone else looking at this- the structure seems to indicate the playbookType object needs to be inserted directly above the first codeBlock object.
Edit: Some other considerations- After uploading this and working in the web interface, some of the examples had blanks in the dropdowns for the flows/playbooks they invoked. May have to review examples in your own project to see if they still are referenced properly.
Playbook behavior may differ markedly between a routine and task playbook- I found routine playbooks were more likely to hold someone on an instruction inside the playbook rather than move around the given rules to find a more applicable one.
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |