As of
Writing service management workflows in natural language: best practices
Natural language makes service management workflows faster to write and change, and moves the risk from syntax to precision. This guide covers how to write a workflow an AI agent can run safely, and what to watch for.
How service management workflows have been built
Most request workflows today were built in a workflow designer or flow designer: a canvas of steps, branches and approval nodes, with scripts wherever the canvas couldn't express a step. Many were written by an implementation partner during rollout, and the platform team has owned them since.
Changing one follows the change process. A process owner raises a change request. It waits in the platform team's backlog, gets edited in a development instance, tested, sent to the change advisory board if it touches access, and promoted to production in a release window. A change someone could describe in one sentence often takes weeks, and a script nobody on staff wrote often brings the consultant back.
That process had good reasons behind it. Workflows grant access and move money, and keeping edits with a few trained people was a control. The designer also forced a kind of precision: it wouldn't save an approval node with nobody in it.
Natural language removes the scripting. It doesn't remove the need for precision. When a workflow is written as a sentence, the sentence is the specification, and every gap in it gets filled by whatever the agent knows about your organization. Writing well and giving the agent accurate context turn out to be the same job.
What changes when an AI agent writes the workflow from your description?
The description becomes the specification, and review moves from reading code to checking that what was built matches what you meant.
"Give new sales hires Salesforce" is a complete sentence and an incomplete workflow. Which license? Decided by what role? Approved by whom? What if the start date moves? A designer would have refused to save it. A sentence has no such guard.
The gaps get filled somewhere. A good builder asks. A weaker one fills them with assumptions about your data: that the job title in HR is current, that "manager" means the one in HR and not the org chart someone exported last spring. An AI agent is only as good as its context, so "the requester's manager" is safe to write only if the system reads that relationship from HR today, not from a copy.
Best practices for writing workflows an AI agent can run
These hold for any builder. Most are habits a good change request already had, written into the sentence itself.
State the trigger, the inputs and the person
"When someone leaves" has at least three readings: the resignation is accepted, HR enters a termination date, or the last day passes. Name the event and the system it comes from. Name each input the workflow needs and where it lives. Say whose request it is: the person asking, the person it acts on, or both.
Name each system and the exact action
"Remove their access" isn't an action. "Deactivate the user in Okta, remove the Salesforce license, transfer their Google Drive to their manager" is three. Each verb should map to one thing one connected system can do. If you can't name the system, the agent will either guess or stop, and you want it to stop.
Write approvals and exceptions explicitly
Say who approves by role or relationship, such as the requester's manager or the app's owner, rather than typing a name that a reorg will make wrong. Say what happens if they don't answer. Write exceptions as rules: contractors, executives, anyone on legal hold. Better still, put the rule in a policy, so it applies to every workflow it covers instead of being copied into each one.
Say what happens on failure
Every step that calls another system will fail one day: an expired credential, a renamed field, a locked account. Say whether the workflow stops, retries or hands the request to a person with what it has done so far, and whether completed steps should be undone.
Grant the least access the job needs
Give each step only the permission it requires. Grant people access for a period rather than for good where you can. Limit who can run, and who can edit, the workflows that change access or money.
Review the generated steps before anything runs
Read what was built, not your description of it. Ask the builder to explain each step back in its own words and compare. Check the order, the targets and what the workflow will touch. For anything that changes access, read the underlying code as well.
Test on one, then widen
Run it first on a test account, or on one person who has agreed, or against past requests. Widen in stages, and watch the first real runs.
Version it, control changes, and give it an owner
A workflow change is a production change. Keep versions, record who changed what and why, and keep a way back. Low-risk edits, such as adding an approver, can be pre-approved as standard changes; the change advisory board guide covers how. Name an owner who reviews the workflow when the business or the apps change, and who answers when it misfires.
What to be aware of with natural language workflows
Ambiguity. "Access", "manager", "team" and "soon" each have several readings. The ones you didn't notice are the ones the agent resolves for you.
Hidden assumptions about data. A workflow is only as right as the data it reads. A job title that lags a promotion, one person with two identities across Okta and Workday, or an approver who left last month will each send a correct workflow somewhere wrong.
Permissions. The workflow's own credentials can usually do more than any single requester should. Who can trigger it matters as much as what it does.
Rollbacks. Restoring an earlier version of a workflow doesn't undo what it already did. A deleted mailbox, a sent message or a wiped laptop stays that way. Mark the steps that can't be reversed and put an approval in front of them.
Drift. Apps change their fields and license tiers, and the organization changes its shape. A workflow that was right in March can be wrong in June without anyone editing it.
Audit. Sooner or later someone asks why an account got access. You need the rule that applied, who approved, when, and which version of the workflow ran.
How STLabs supports workflows written in plain language
In STLabs, workflows are written in Workflow Builder. An admin types what should happen, for example "When someone leaves, revoke their apps and archive their Drive." The agent builds the steps across the connected tools, preflights them and replies that the steps are built and ready to review. The admin refines the workflow in conversation, asks the agent to explain the steps and reviews it before publishing. The underlying code is there to inspect and keep under version control, and an earlier version can be restored as a draft.
The agent fills the gaps from Axiom™, the live model of your organization. Axiom™ syncs with HR, identity and the other connected systems as people join, change roles and leave, and keeps track of who owns what and who reports to whom. Before every workflow runs, the agent checks Axiom™ for what the change will affect, and risky changes are flagged before they break something.
The rules sit in Policies & Approvals. A policy can allow a request, block it or require approval, and the workflow waits for the decision before it acts. Policies apply to every workflow they cover, so nobody maps rules to steps. Permissions control who can run workflows, and access granted by policy can be set to expire, such as staging access for seven days.
On the workflow itself, the team sees that it was checked before it runs, a dry run on past tickets, the policy it falls under, who approved it and a rollback ready. After it goes live, run history shows what completed, where a run failed and the error, with guidance such as reconnecting a tool whose credentials expired. Every AI decision, workflow run and configuration change is logged and searchable, and policy decisions carry the rule applied, the approver and the time.
That's what we mean by AI-native: the sentence, the rules and the facts about your organization live in one system, so the agent resolves the request instead of routing it. For choosing which requests to turn into workflows, see how AI can spot repetitive IT requests and build the workflow; for approval and audit controls in depth, see how to approve and audit every action an AI agent takes.
How to test an AI agent's workflow builder
Take a workflow you already run, such as offboarding, and write it as one sentence, the way a process owner would say it. Give it to the builder and note what it asks. Every gap it fills without asking is a risk you now own.
Read what it built. Does each step name a system and an action? Is the approver read from HR, or typed in? What happens when the second step fails?
Then change a manager in the HR test data and run it again. Ask to see the version history, roll back one change, and find the record of the run an auditor would ask for.
Start with one workflow
STLabs runs alongside your current platform. Start with one workflow your team understands well, write it precisely, and move the next one once it has proved itself. Retire the old scripts as each workflow moves over.
Plain language makes a workflow easy to write; precision and live context make it safe to run.
Frequently asked questions
Can you build ITSM workflows in natural language?
Yes. You describe the trigger, the actions and the approvals in plain English, and a workflow builder turns that into steps across your connected tools. Review the generated steps before the workflow runs.
What should a natural language ITSM workflow description include?
The trigger and the system it comes from, the inputs, the person it acts for, each system and action, who approves, the exceptions, and what happens if a step fails.
Are natural language ITSM workflows safe for access changes?
They can be, with policies that require approval for sensitive actions, least-privilege permissions, a review of the generated steps, versioning, and a logged record of every run.
How do you roll back a natural language ITSM workflow?
Restore the earlier version. In STLabs, workflows are versioned code and an earlier version can be restored as a draft. Actions the workflow already took may need reversing separately.