Workflows 101
Workflows define the triggers, conditions, and actions required to achieve a specific goal or outcome. Workflows can range from processes like submitting a device report for approval to a user account provisioning workflow. Every team has its processes and methodology, so every Atomicwork workspace owner can configure their workflows to act on their requests. Workflows are executed in parallel, so multiple workflows can run at the same time on a request. Execution of workflows will not pause if one of them goes into a wait state when running on a request.
You build workflows with AI Assist. Every step after the trigger is written as code. See How a workflow works.
Setting up workflows
Workflows are organized by the object they run on. The Event-based library groups them under Request, Change, Webhooks, Users, Assets, and your custom objects. The Schedule-based library groups them under Request, Standalone, Users, Assets, and your custom objects. A workflow can’t be moved to another object once it’s created, so pick the right one before you start.
Create a workflow with AI Assist
-
Go to Automations > Workflow library > Event-based for a workflow that starts on an event, or Automations > Workflow library > Schedule-based for one that runs on a schedule.
-
Select a workspace for request, incident and change workflows, or select Organization for asset, user and directory object workflows.
-
Click the object the workflow should run on, such as Request.
-
Click New. AI Assist opens with that object already selected.
-
Describe what the workflow should do in plain English. For example: “When an incident is created with Urgent priority, post it to the #it-major-incidents Slack channel and assign it to the Network team.”
-
Review the plan AI Assist proposes and confirm it. AI Assist builds the workflow and shows you the draft, which opens in the Builder.
For tips on writing prompts and editing a workflow by chat, see Build workflows with AI Assist.
If a workflow in your library has the legacy workflow icon next to its name, see Legacy workflows overview.
Review the trigger
Triggers tell Atomicwork when to run a workflow. For example, a workflow that starts when a request’s priority changes, with a filter for Urgent, can let a supervisor know the moment a request escalates.
Click the trigger in the Builder to open its Configure panel. An event-based trigger has three parts:
-
Events: Click Add event and pick one or more events. Any one of them starts the workflow. For example, a request workflow can start on Request is created, Status is updated or Reply is sent. For every event available for requests, changes, assets, users and custom objects, see Workflow events.
-
Performed by: Choose whose action should start the workflow, such as the requester, an agent, an AI agent or the system. See Limiting who can trigger a workflow.
-
Filters: Add conditions on request or requester attributes, or on tags, so the workflow only runs on records that match. Use the Has attachment filter to run or skip an automation depending on whether the request has files attached. You can combine conditions and choose whether any or all of them must match. Leave filters empty to run on every record.
Publish the workflow
When the workflow is ready, click Publish so that Atomicwork can run it.
Each workflow has Overview, Builder and Versions tabs. Overview shows the current version and its runs, which you can narrow to All, Success, Failed or In progress. Versions holds the workflow’s version history.
User workflows
Workflows can also be triggered by users, not only by requests. A user workflow runs either:
- On user events: when a user is created or updated, or when a specific attribute such as their exit date or reporting manager changes. See Workflow events for the full list.
- On a schedule: against a filtered set of users, at a cadence you pick.
You build user workflows like any other workflow. Only the trigger differs.
When a user workflow starts because a user’s record was updated, the update event is passed in the payload. You can reference the previous and new values of any field that changed, for example the previous and new manager when the reporting manager changes. See Update event payload.
Some ways to use them:
- Start an onboarding checklist when a new joiner lands in Atomicwork.
- Send announcements to a slice of your organization.
- Send reminders that repeat until someone acts.
