A Workflow Studio playbook is a cross-enterprise process built from triggers, stages and activities, then activated for agents and fulfillers. You create it from the Playbooks list, pick a record-driven or standalone execution type, build and test the stages, and activate. Editing an active playbook saves your changes but deactivates it until you activate again.
What a playbook is made of
A playbook has three working parts. A trigger states when a run should begin. Stages group related work into a sequence. Activities hold the individual steps, and each one runs Workflow Studio content such as a flow, subflow or action. Because activities call existing automation, you reuse what you have already built. For the wider concept behind flows, see what Flow Designer is.
Two reusable definitions sit behind those parts. A trigger definition sets the record operation and table conditions that must be met before a run starts. An admin, playbook.admin or pd_trigger_author user usually creates it, and a playbook owner selects it as a template, which produces a trigger instance. An activity definition maps a subflow or action’s inputs and outputs to an activity instance. It holds an automation plan that maps triggering record data into the action’s inputs, and an activity experience that maps the outputs into a view the end user sees.
A well-designed playbook starts for the record types its users care about, reuses existing activities, and shows users which step comes next. Settle the stage structure before adding activities. For the wider picture, see ServiceNow workflow automation explained.
Before you build: prerequisites and roles
Activate the Playbook application for your instance first. Then study the tables and relationships it uses for the process you want to model, since the parent table and trigger settings depend on them. Get familiar with flows, subflows and actions as well, because activities run that content. For the action side of that, see the Action concept in Flow Designer.
| Task | Role named in the topics |
|---|---|
| Create a playbook | admin, playbook.admin or playbook.write |
| Create a trigger definition | admin, playbook.admin or pd_trigger_author |
| Create an activity definition | admin, playbook.admin or pd_content_author |
| Customize a Playbook Experience page in UI Builder | ui_builder_admin or admin |
Creating the playbook and setting its start node
Open Workflow Studio, then Playbooks. The landing page opens to the Playbooks list. Under New in the upper-right corner, choose Playbook. Enter a name, which must be unique and is shown to agents and fulfillers at runtime. Set the application scope, where Global lets the playbook run in any scope.
Select Build playbook. The builder opens in Diagram view, and you can switch to Board view at any time. Select the Start node to open the Playbook properties panel. On the Details tab you set a limit on runs per parent record, the execution type, the parent table, and whether runtime users may restart the playbook during a run.
The execution type shapes the rest of the build. A record-driven playbook is tied to a record. It starts on demand or automatically from record operations, and its data is stored on that record. A standalone playbook runs in a single session and stores no data on a record, so someone must start it manually or another playbook must call it. The parent table supplies trigger records and is required for Knowledge and Email activities.
The Inputs tab defines values the playbook launches with. You read them with dot notation, such as inputs.inputName, in activity fields, conditions and UI elements. The Runtime permissions tab sets which users, groups, user criteria and roles can take part in a run.
Adding triggers, stages and activities
A playbook can have no trigger, one trigger or several. If a run must begin from code rather than a trigger record, the triggerPlaybook API takes a scoped name and a parent GlideRecord.
Stages group activities, and each stage’s start rule controls when it begins. Inside a stage, each activity is one step. It can create or update records, display record information, or run automated actions in the background. Add decision nodes and parallel branches where the process needs them. For another page on decisions in automation, see Decision Builder.
Preview each activity to see how it appears to end users, test the playbook, then select Activate in the header. For a general checklist, see the Flow Designer testing and acceptance checklist. The playbook runs whenever its trigger conditions are met.
Working in the builder: views, header and side panel
The main header shows the activation state and holds the Diagram and Board toggle, undo and redo, an error tray, the Optional activities switch, and the test and activate controls. The More actions menu deactivates or duplicates the playbook and opens its properties.
The design space is where steps are arranged. Many functions work in both views, but decision activities are not available in Board view, and optional activities are not available in Diagram view. If your process needs decisions, build in Diagram view. If it needs optional steps, build those in Board view.
The side panel configures the selected stage or activity. You can edit its name and description, set its start rule and restart behaviour, add or edit its inputs, and set how it renders at runtime. The side panel can also define whether and how an AI agent performs the activity.
Controlling when stages and activities start
Start rules decide the order of work. Each one specifies when a stage or activity begins, which makes it the tool for choosing which parts run at the same time and which run in series.
When you add an activity, it receives an activity instance that copies the data mappings from its activity definition. Those mappings are defaults. If they do not fit your playbook, change them on the instance without touching the shared definition.
After activation, each run leaves a trail. When the trigger conditions are met, the system creates a Process Execution record for the run. Start there when a run does not behave as you expected.
Using variants for related processes
Many processes differ by a few factors. Variants let one base playbook serve those cases without copying and editing it, and without workarounds built on complex run conditions and branching. Examples include regional processes, card disputes that vary by network, and hiring flows that vary by department.
By default, variants are evaluated at the start of the playbook, from the top down at every level, and the first variant whose trigger conditions match runs. If the choice depends on what happened during the run, set an evaluation point after certain activities complete, so their output decides which variant runs.
Two limits apply. Some properties, such as start rules and display order, are inherited from the parent. When you change one on a variant, an overridden link and label appear beside it, and it stops syncing, so re-sync it if it should match the parent again. Stage overrides are not supported in variants, so a difference that lives in stage properties needs another approach.
Generating a summary of an existing playbook
Playbook summarisation uses AI to describe a playbook’s stages, activities, triggers and inputs from the Workflow Studio canvas. Choose Standard for a brief overview (the default), Short for a condensed version, or Elaborate for a detailed, stage-by-stage account.
A generated summary is stored and reused across sessions, and you can copy it or save it as the playbook description. If the playbook has changed since the last summary, a warning says the summary may be outdated, and Refresh regenerates it. The text is AI-generated and may not always be accurate, so review it before you save it as the description.
Presenting the playbook to agents and fulfillers
The Playbook Experience is the separate runtime application that agents and fulfillers use. In the Zurich release, Playbook Experience is a separate application that is not accessible from within Workflow Studio yet. Agents see the playbook after Playbook Experience administrators configure how and where it appears.
Layout bundles in UI Builder are pre-wired component sets, with a controller and styling, that determine how a playbook renders. For the wider UI Builder context, see UI Builder and workspaces. Some bundles let people jump between activities and stages; others run in a fixed sequence.
The Guided Layout bundle removes the pickers, moves through steps in order, and gathers earlier responses into an accordion beneath the active activity. The Horizontal Wizard shows numbered steps across the top for linear work. Focused bundles show one activity at a time, and Stacked bundles show several together.
To customise a page, install the latest Playbook Experience and Playbook Experience Component apps from the ServiceNow Store. A user with the ui_builder_admin or admin role can then create a page from the Playbook Experience template, which includes the Playbook Custom Layout UI Controller. For testing, a sys_id of -1 stands for a record that does not exist yet, which lets you check that the record generator form creates new records.
Frequently asked questions
Can a playbook have more than one trigger?
Yes. A playbook can have no trigger, one trigger or several.
What happens if I edit a playbook that is already active?
The changes are saved, but the playbook is deactivated. Activate it again to publish the new version.
Should I build a decision-heavy process in Diagram or Board view?
Use Diagram view, because decision activities are not available in Board view. Optional activities need Board view.
Does a standalone playbook store data on a record?
No. A standalone playbook runs in a single session and does not store data on a record. It must be started manually or called from another playbook.