Workflows Screens
Our Commitment
MountDev Ops is built security first. Your business data belongs to you, and you can export all of it at any time. We never use analytics or tracking of any kind inside MountDev Ops.
What You See
Workflows is an app in your menu with five pages and its own Settings: Workflows, Run History, Approvals, Templates, and Simple Automations. Owners, admins, and anyone whose role or permission group allows it see them. The Workflows pages need the permission to add, change, and run workflows. Approvals needs the permission to confirm cards. Both are switches in Staff, Permissions, so a custom role can have either one. Everyone else does not see the app. A workflow's builder opens from the Workflows page and is not a menu item of its own.
The Workflows Page
The Workflows page lists every workflow with when it starts, how many steps it has, its last run, and when it starts next. Three tiles at the top show how many are turned on, how many are turned off, and how many cards are waiting for your OK. Press the waiting tile to open Approvals.
Under each workflow's name the list says what it used this month and its share of all your workflows' work, such as "Background work this month: 494 (83% of all)", or "none" when it has not run. Below the list, one line gives the total your workflows used this month (see Usage below).
- New Workflow opens the builder with nothing in it (action
workflows.save). - Run Now starts one run at once, whether the workflow is on or off (action
workflows.run). Watch it under Run History. - Turn On asks first, and the question says what the workflow will use ("About 3 per run, about 9,000 a month at this schedule"), then switches the workflow on so it starts by itself (action
workflows.turn_on). Turn Off switches it off and stops its next scheduled run at once (actionworkflows.turn_off). - Pressing a workflow's name opens it in the builder (action
workflows.get). - The list itself comes from action
workflows.overview.
With no workflows, the page says so and offers New Workflow and See Templates.
The Builder
The builder has two tabs, Build and Usage. Build has three cards, Name, What Starts It, and Steps, then What It Will Use (see Usage below). The Usage tab shows what the workflow used. The save bar at the top of the screen shows as soon as you change anything, with Discard and Save. Nothing is kept until you press Save, a failed save keeps your changes and says why, and leaving with unsaved changes asks first. What you typed is also kept in your own account for a few seconds after each change, so a reload does not lose it. A new workflow is always saved turned off.
What Starts It holds up to 5 starters. Add a Starter offers four kinds: on a schedule (every so many minutes, from every 15 minutes to every week, or once a day at a time in your Business Hours time zone), when something happens in one of your apps (the list is your own apps and modules), when a client asks for an action, or when you press Run. When something happens lists your apps' events by group. The group Subscriptions and Invoices lists Subscription Started, Invoice Paid, Invoice Past Due, and Subscription Canceled, each with one sentence of plain words under it and, for the one you pick, a Starts about line and a note that starters only react (Starting a Workflow From a Subscription or an Invoice). When a client asks for an action starts the workflow once for each request a client confirmed on a Subscriptions client action that names it (a workflow can have one), and hands the run the request, the action, the client's company, the price they confirmed in cents, what it is for, and the inputs the action declares. Use the step Report back to the client to tell the client how it went. See Client Actions in Subscriptions.
When an action finishes is a fifth kind of starter. It names a connection (or Any Connection), an action or a pattern such as create_*, and the outcomes to start on: Job Started, Done, or Failed. Under it the card shows "Matches 1 Action" (or "No action matches yet"), the Only When checks, and "This starts by itself when another workflow's step finishes. A run it starts does not start another one this way." With no connection that has actions, it says "Describe a service's calls first. Actions are in Settings, Connections, Connected Services." A save that would listen for an action the workflow itself uses is refused with "This workflow listens for an action it uses itself." In Run History, a run it started has a How It Started card with what finished, the run that finished it (Open Run), and What it was given. See Starting a Workflow When an Action Finishes.
Only When sits under every starter that hands over values (an event from an app, another service, a client's request, and an action that finished). It reads as one sentence, such as "Starts only when Category is one of Repair or Install, and Priority is not Low.", with Add a Check and, for each check, Edit and Remove. A pop up (Add a Check and Edit Check) takes a value from the list the starter hands over, a test (Is, Is Not, or Is One Of), and what to compare with, typed or picked from the field's own choices. A starter with no checks says "This starts for every matching event. Add a check to narrow it." Once a workflow is saved, a starter with checks shows "Skipped today" and "Started today", and Test the Starter says whether made-up values would start a run, without starting one. The Turn On question shows the checks as a sentence. See Only Start a Workflow When.
Steps run in order. Add a Step offers these kinds (more are in Working With Data in Workflows):
- Do something runs one action. You pick it from the actions your account has, fill in what it needs, and choose how many times to try again if it fails (0 to 4). An action that spends money, deletes data, or emails a client says so, and always waits for your OK in a card. It cannot run on its own. People are chosen by name, and a value that comes from the run (the record that started it, or the result of an earlier step) is chosen from a list in plain words, so nobody types codes. Keys and tokens are never put in a workflow.
- Check something compares a number, a yes or no, or a word from what started the run or from an earlier step, then goes on, skips ahead to a later step, or ends the run. A check only goes forward, so a workflow never loops.
- Wait for a Time holds the run from 1 second to 30 days, until a time of day, or until a date.
- Wait Until Something Is True reads something every so often and goes on when it is true. It has Read This (an action that only reads, with its inputs), Go On When (a value, a test, and what to compare with), Check Every (1 to 60 minutes), Give Up After (1 to 500 checks, and optionally a date from the run), and If It Never Happens (Go On or Fail the Run), and says "Up to 24 counted checks. Waiting itself is free." In the builder the step reads "Wait until status is ready", then "every 5 minutes | up to 24 checks | then go on".
- Wait for Something to Happen holds the run until an event arrives. It has Event (the same list as When Something Happens in One of Your Apps), Only When (up to 3 checks, each compared with a typed value or a value from the run), Wait At Most (1 minute to 30 days), Remind Every (off, or 1 to 30 days) with who to remind (up to 5 people on your team, by bell notice, never an email), and If It Never Happens. It says "Sees events from the moment this step starts."
Neither new step can go inside a Branch or a Repeat. In Run History, a run waiting in one of them says "Checked 3 of 24 | next check 2:35 PM | counted 3" or "Day 3 of 7", with Stop This Run. See Waiting Until Something Is True or Happens.
- Ask for an OK stops the run and asks an owner, an admin, or anyone whose role allows confirming cards, a question you write. Declining ends the run.
Each step has Move Up, Move Down, Edit, and Remove. Test Run (action workflows.test) shows what each step would do, marks each step Free or counted, and says what a real run of it would use, using what is on the screen, saved or not. It starts no run, makes no card, and changes nothing. An action that has a test mode runs in it and shows what it would answer. An action with no test mode is only described. A step that would stop for a card says so. If the workflow has a problem a save would refuse, Test Run lists it in plain words.
Turn On and Turn Off work from the builder too, after the workflow has been saved.
When you save, a workflow with no name or no steps is refused with a plain sentence, and a workflow that uses an action your account does not have is refused with a plain sentence, and nothing is kept (action workflows.save).
Which Actions You Are Offered
Only the actions your account has appear in the builder (action workflows.catalog). An action that is not part of your account is not shown, and a workflow that uses one is refused when it is saved, even if it was sent some other way.
Deleting a Workflow
Owners, admins, and anyone who may manage workflows can delete a workflow. Only a person can: your own AI assistant cannot delete or restore one, and its tools do not offer it. Each workflow on the Workflows page has a Delete button, the last one in its row (action workflows.delete).
Delete opens a pop up in two steps. Step 1 names the workflow and asks first what would stop it (action workflows.delete.check):
- Runs waiting or in progress. The pop up says how many, and offers Stop Waiting Runs (action
workflows.runs_stop_waiting), which stops that workflow's unfinished runs one at a time, the same way Stop This Run does. Delete never stops a run on its own. A card waiting for an answer counts here, and stopping the run answers it as stopped. - A client action that uses it. The pop up names the client action ("The client action Pause Site uses this workflow. Change or remove that action first."). Up to 5 are named, then how many more.
- Another workflow that uses it. No step runs another workflow today, so nothing blocks here yet.
Its own starters do not stop it: a schedule, an event, an action finishing, and its web address go away with it, and the pop up lists each one. For a web address it says how many times it received something in the last 7 days. If the workflow is turned on, the pop up says Delete turns it off first.
Step 2 asks you to type the workflow's name, then Delete Workflow turns on. Both steps are the same size, and the pop up lists what goes and what stays before you type anything.
What goes. The workflow leaves the list, nothing starts it any more, and its web address stops answering at once. It waits in Deleted at the bottom of the Workflows page for 30 days. After that your account clears its steps, versions, starters, and web address secret.
What stays. Every past run and its steps stay until your own Keep Workflow Logs For days remove them, tagged Deleted workflow in Run History. The log of what its web address received stays. Anything of it in Needs Attention stays until a person clears it. Its number, name, who deleted it, and when are kept for good.
Restore. For 30 days a deleted workflow can be restored from the Deleted group (action workflows.restore). It comes back turned off with its steps and starters, and a person turns it on again. Its web address, if it had one, stays off until a person turns it on. Restore is refused when another workflow now has the same name, and once the 30 days have passed and its steps are cleared. The Deleted group is read with action workflows.deleted.list.
Keep a Deleted Workflow For. A card on Workflows Settings sets the number of days, from 7 to 365 (action workflows.keep_deleted), 30 at first. A new number applies to workflows deleted from then on. A date you were already given never moves.
Every delete, restore, and clearing of old working parts is a line in the Activity Log. The clearing line holds only a count.
Run History
Run History starts with your queue live (see Your Workflow Queue): Your Queue, Needs Attention, In Progress, Waiting, and Recently Completed, then the Trigger Log. Then comes the Background Work card (see Usage below). Then it lists the newest runs, with the workflow, when each was queued, when it started and finished, how it started, what it counted, and its state: Starting, Running, Waiting, Waiting for You, Done, Failed, or Stopped (action workflows.runs). Two filters narrow the list by workflow and by state. Every run waits its turn in your own queue, then runs: a run that has not started yet says "Waiting its turn", and the others show when each was queued, started, and finished. Press a run to read it: the three times, then each step with its state, whether it counted or was Free, how many tries it took, when it started, what it returned, and a short plain reason when it failed. The run says how much it counted in all. What a step returned is kept as ids and counts only, and a reason has no key, token, or address in it.
A run that has not finished can be stopped with Stop This Run, after a question (action workflows.run_stop). Nothing after the current step happens.
Usage
Workflow work counts in your plan's Background work line, and every screen says what a workflow uses.
- What counts. Each step that runs an action counts 1, and every try counts, retries included. Checks, waits, and the ask for an OK are free.
- On the list, each workflow shows what it used this month and its share of all your workflows' work.
- On a workflow, the Usage tab shows this month, last month, the average per run, its share, and which steps use the most (action
workflows.get). A step that was taken out of the workflow is listed as "A step that was removed" so its work is not lost. - Before turning it on, the What It Will Use card on the Build tab shows what a run uses, what a month of it uses at its schedule, and how long a month of it takes with your runners and with more, for example "About 3 hours with 1 runner | About 20 minutes with 10" (action
workflows.will_use, which works on a workflow that is not saved yet). A workflow with checks says "Up to" because a check may skip a step. A workflow that starts when something happens says what 100 runs a month would use. - Runner time is an estimate until runners are measured: a simple step takes about a tenth of a second on 1 runner (the same figure the queue uses), and calls to outside services take longer. Add Extra Runners explains that every company has 1 runner included, each Extra Runner is $10 a month, and all runners share your company's one usage pool, so more runners finish work sooner without changing what it counts.
- In Run History, the Background Work card shows what your workflows used this month and what is using it, by workflow (action
workflows.usage), and each run shows what each step counted.
All of this is worked out from your own run log. It never reads a record.
Settings
The last item in the Workflows menu is Settings, with three cards. Keep a Deleted Workflow For is the third (see Deleting a Workflow above). Runners and Usage says your company has 1 runner included and offers Add Extra Runners and See What Workflows Use. The Add Extra Runners pop up names a price only when your provider has set one for Extra Runners; with none, it names no price. Who Can Use Workflows points to Staff, Permissions, where the two Workflows permissions are given, like every app.
Approvals
The Approvals page lists the cards waiting for you (action workflows.cards). Each card says what the step does, which workflow and run it belongs to, why it stopped (Spends Money, Deletes Data, Emails a Client, or Needs Your OK), and who may answer. Confirm asks first, then lets the run go on (action workflows.confirm). Decline asks first, then stops the run (action workflows.decline). Both are written in the Activity Log with your name. A card that spends money is for an owner. Any other card is for anyone allowed to confirm cards.
If a Step Fails
Under Steps on the Build tab, the If a Step Fails card holds the workflow's failure path: its own list of up to 10 steps, shown as "3 of 10 steps", with the sentence "Runs once, after a step fails, then the run is marked Failed." Add a Failure Step opens the same picker as Add a Step with only the kinds a failure path may hold: Do Something, Ask for an OK, Format, Look Up, Filter, If This Do That, and Undo Earlier Steps. Each failure step has Move Up, Move Down, Edit, and Remove, and a step that deletes, spends money, or emails a client shows that a card waits for a person every time. With no failure steps the card says "Nothing runs if a step fails. Add steps to undo or tell someone." Values such as why a step failed are picked from the same list as any step's values. Details are in On Failure, Run These Steps.
Undo Earlier Steps opens a pop up with Which Steps (All That Finished, or the steps you choose) and a list of what would be undone, newest first: "Will be undone by Cancel a Visit" with Asks First when the undo needs a person, or "Cannot be undone" with Passed Over. It stops at the first undo that fails.
Test a Failure is a card below it. Pick the step it would fail at, press Test the Failure Path, and read what each failure step would do. Nothing is sent, charged, deleted, or changed. If you turn on a workflow with failure steps, the confirmation lists them, and what Undo Earlier Steps would reverse.
In Run History, a run whose failure path ran shows Rolled Back or Rollback Stopped next to Failed, the failure steps under the steps with their states, and the sentence "This run was rolled back. Start a new run." in place of Run Again. In Approvals, a card from the path starts with "Rolling back after" the step that failed.
Templates
Templates lists the ready-made workflows your account was given (action workflows.templates). Use This Template makes a copy in your account that starts turned off (action workflows.template_use). The copy is yours to change and keeps no link to the template, so a later change to the template never changes it. With no templates, the page says so.
Keyboard and Phones
Every control works with the Tab key and Esc, and by touch. The screens fit every screen size from a large desktop to the smallest phone, and the lists, builder, and pop ups scroll inside themselves instead of running off the side.
Calling a Web Service (Added)
The builder's Add a Step pop up has Call a Web Service next to Do Something, Check Something, Wait, and Ask for an OK. It is described in Calling a Web Service. The step's connections come from the same list the builder already reads (action workflows.catalog), which now also lists your own connections by name and address, never a key.
Where to Find It
Workflows, then Workflows. The Run History, Approvals, Templates, and Simple Automations pages sit beside it in the same menu. Owners, admins, and anyone whose role or permission group allows it see it.