Generate a playbook
- UpdatedAug 1, 2024
- 5 minutes to read
- Xanadu
- Create Workflows
Provide an image, text, or both inputs to Now Assist to generate a playbook.
Before you begin
Learn how to write prompts to generate better playbooks. For more information, see General Guidelines for Building Playbooks with Now Assist.
- admin, playbook.admin, pd_author, or a delegated developer permission
- now.assist.creator
Procedure
-
Navigate to All > Workflow Studio.
The Workflow Studio landing page appears. Playbooks is shown by default, but you can toggle to flows, subflows, actions, and decisions.
-
Open the New drop-down menu and select Playbook.
The new playbook opens in a Workflow Studio tab. Build with Now Assist is the default method, but you can switch to Build from scratch.
-
On the Build with Now Assist tab, fill in the following fields.
Field Description Playbook name Unique, user-facing name for your playbook. This name also appears to agents and fulfillers during runtime. Now Assist input Describe the playbook using text, an image, or both. - Make sure your image is the right format and size.
-
- The image should be in JPG, JPEG, PNG, or WEBP format.
- By default, the image should be
5MB or less.Note: To change the max image size, change the com.glide.attachment.max_get_size system property. To earn more about changing the max image size, see Change the maximum image size.
- Make sure your image is clear and visible.
-
-
Upload an image that is clear and visible to the human eye. Make sure that any writing is legible. If you can't what's in an image, neither can Now Assist.
If the image is unclear in any way, Now Assist returns an error and cannot generate a preview. This error is also displayed if an image is not a business process.
- When uploading an image, it is the primary input by default. You can use the text description to add more context about the business process in your uploaded image.Note: Since an image is the primary input, you will receive an error for a unusable or unclear image even if you include a valid text input.
-
- Be precise and descriptive in any text input.
-
-
Describe each stage and activity in as much detail as you can.
-
Specify the order that stages and activities run in.
-
Specify if any stages or activities run at the same time.
-
Application Application scope that you want your playbook to run in. Selecting Global lets your playbook run in any application scope. For more information, see Application scope. Important: You can't change the application scope of a playbook after you've generated a preview for it. -
Select Generate playbook preview.
Workflow Studio uses your image and text inputs to build a playbook. If successful, Workflow Studio displays a preview of the playbook in diagramming view.
Now Assist does its best to guess which common activities to use in your generated playbook, and inserts placeholder activities when it is unable to guess.
- (Optional) Scroll horizontally in the preview, and zoom in and out as needed.
- Review the preview of the playbook for accuracy.
- (Optional) If the playbook doesn’t meet your requirements, try updating your image or text inputs according to General Guidelines for Building Playbooks with Now Assist, and select Regenerate preview.
-
If you're ready to generate your playbook, select Save and edit playbook.
Note: Generating or regenerating a playbook preview counts as 10 assists. To track your Now Assist usage, see Monitoring Now Assist usage in Subscription Management. Opening a playbook does not count as an assist.A playbook outline is generated, and common activities are inserted where possible.
- (Optional)
To view the prompt that was used to generate a playbook, navigate to More actions menu > Properties > General > Now Assist directions.
-
Configure your trigger.
For more information about triggers, see Configure your trigger.
-
Configure placeholder activities by manually selecting the placeholder activity.
Tip: To generate recommendations for activity definitions from Now Assist instead, see Generate playbook recommendations.
-
Select a placeholder activity that you want to configure (
).
You can also hover over the placeholder activity and select the replace activity icon (in the mini-picker to directly open the activity picker.
- (Optional) Update the Label and Description, if needed.
-
Under the Activity definition field, select the edit button (
).
The activity picker is displayed. -
In the activity picker, search for the activity, subflow, or action to add.
Note: Select the application first, and then the activity from the resulting list. For more information about subflows or actions, see subflow, or action.
-
Configure the activity inputs.
For more information about common activities and their inputs, see Playbooks reference.
-
Select a placeholder activity that you want to configure (
- (Optional)
If you don't see the activity that you want to add in the activity picker, create an activity definition.
For more information, see create an activity definition.
-
After you configure all your stages and activities, select Activate in the header.
Activating your playbook publishes it so that it runs when triggered.
- (Optional)
Note: When you change your playbook after activating it, the system saves your changes but deactivates your playbook.To publish any new changes to your playbook, select Activate again.For more information, see Playbook statuses and activation states.
Result
What to do next
Design the Playbook Experience for your agents and fulfillers in UI Builder. To learn how to design and customize the runtime playbook experience in UI Builder, see Customize the Playbook Experience.