← Help center
Getting started
Using the help centerFinding your way: the side menuLight, dark or system theme
Reports
Reports: finding and running themProfit and LossBalance SheetCash Flow StatementStatement of Owner's EquityBudget vs. ActualAccounts Receivable AgingAccounts Payable AgingProfit by Sales ChannelCOGS & Gross MarginTrue Net Margin by SKU / LotPayout ReconciliationReturns, Refunds & ShrinkageInventory Valuation SummaryInventory Turnover & Sell-ThroughAged Inventory / Dead StockStockout & Reorder PointSales Tax Liability by Jurisdiction
Dashboards
Using dashboardsAdd and arrange widgetsCreate, share and personalize dashboards
AI product intake
How AI product intake worksStart a batch and capture itemsThe review queue and item statusesReview an item, and change it after approvalHow prices are suggestedPhotos, cleanup and AI picturesPicture stylesItems in several sizes or colorsApprove: create the product and its stockIntake settingsTroubleshooting intake
Sales orders and quotes
Sales orders and quotesReceive customer paymentsSales settings
Purchasing
Purchase orders
Banking
Connecting your bank and card accountsReviewing bank transactionsImporting a bank statement fileReconciling a bank or card accountBank rulesBanking settings: matching and AI
Selling on eBay
Connect your eBay accountAccount settings and marketplace feesPublish a product to eBayItem specifics eBay requiresList sizes and colors as one listingManage your eBay listingseBay orders become sales ordersTell eBay an order shippedKeep eBay quantities in syncRefresh older listings (end and relist)Fix eBay listing issues and relistImport your existing eBay listings
Product labels
Product labels at a glanceDesign a label templatePrint labelsPrinter setup: Brother, Zebra, Dymo, Rollo and sheets
Printing and document templates
Document templatesDesign a document templatePrint and email documentsChecks and preprinted formsWho gets which template
Team and users
Invite people to your companyRoles and permissionsAccept an invitation
Inventory
Find products: search, filters and sortingInventory transactions and postingWarehouse accounts
Logistics and shipping
The logistics overviewShipmentsFreight bookingsCustoms entries and the duty calculatorShipment problemsLogistics KPIs and reports
Projects and time
The projects overview and reportsCreate and run a projectPhases, tasks and task templatesLogging time and timesheets
Contracts
The contracts overview and analyticsCreate and manage contractsRenewals and amendments
Setup and accounting
Email: templates, sender and sent emailsCustom fieldsCompany time zoneBusiness calendarBranch managersAssortments: one item in several sizes or colorsUnits of measureSales tax (older guide)Example: Kansas sales taxApprovalsJournal entries
Taxes and 1099s
Sales tax setupTax on orders and invoicesTax summary report1099 contractors and year-end review
Automations
Automations: when, if, thenWorkflows: waits, approvals and conditionsMore workflow stepsAsking AI in a workflowOther systems starting and answering automationsAutomation usageBuilding a workflow by describing itTesting an automation before it goes liveApproval before an automation goes liveThe Automations panel on a recordSending records to another system
AI credits
How AI credits workWhat each AI action costs

More workflow steps

Wait for a condition or a date, run paths side by side, repeat for each line, reuse a workflow, stop.


What these steps are for

Besides waiting, asking for approval and checking a condition, a workflow can wait for something to happen on the record, wait for one of its dates, run paths at the same time, go through the record's lines one by one, run another workflow, and stop. You add them like any other step: Add a step… in the list, or a + on a line in the diagram.

The steps are grouped in the list: Do something, Wait and Control the path. A step that isn't allowed somewhere isn't offered there.

Two steps in the workflow editor. Step 1, Run side by side, carries on when all paths are done and has two paths, Credit check and Tax certificate, each with Add the first step. Step 2, Repeat for each line, only for lines where Quantity ordered is more than 100, with a For each line section for the steps to repeat.
Paths side by side, and steps repeated for each line.

Wait for a condition

Waits until something is true of the record, for example "until Balance is 0" or "until Status is Received", then goes on with Once it is true. It looks again every time the record changes, and every hour for conditions about dates.

  1. Add Wait for a condition and add the condition to wait for.
  2. To stop waiting after a while, tick Give up waiting after and choose how long. Add what should happen then under If it isn't true in time.
  3. After either path, the workflow carries on with the next step.
Start from the template"Remind them at 7 days, again at 14, stop as soon as they pay" is ready under Templates › Chase overdue invoices: a wait for the due date, then Wait for a condition steps for "Balance due is at most 0", each with a reminder under If it isn't true in time and Stop under Once it is true.

Without a deadline it waits as long as it takes, up to a year.

Wait for a date

Waits until a date on the record, or a number of days, business days or hours before or after it: "2 business days before Due date". Use 0 for the date itself. A date is counted from the start of your working day.

  • If the date changes while it waits, it waits for the new date.
  • If the date has already passed, or the record has none, it carries on at once and says so in the run.

Run side by side

Runs two or more paths at the same time (up to 10). Name each path, then add its steps. A path that waits, for an approval for example, doesn't hold up the others.

Carry onWhat happens
when all paths are doneThe workflow goes on once every path has finished. If a path fails, the workflow fails.
as soon as one path is doneThe first path to finish wins; the others are stopped.

For example: a credit check approval in one path and a request for the customer's tax certificate in the other, then "activate the customer" once both are done.

Repeat for each line

Runs its steps once for every line of the order, bill or invoice, or only for the lines that match its conditions, for example "Quantity ordered is more than 100". In a message, {{ line.field }} is the line's value, and Insert a field lists them under This line.

  • The steps for each line can notify, email, change a field, send, post in a chat, check a condition or stop. They can't wait.
  • At most 200 lines are gone through.

Conditions on lines

Under If and in Check a condition, the field list has a Lines group:

ConditionExample
Number of lines"Number of lines is more than 20"
Total of line …"Total of line quantity ordered is more than 500"
A line field, with any line, every line or no line"any line's Quantity still to receive is more than 0"

Lines are read as they are when the condition is checked. Look back on the test run page uses today's lines too, because lines aren't kept with each change.

Run another workflow

Runs another workflow on the same record. Build a multi-level approval once, in a workflow that starts with is passed on by another workflow, and run it from every workflow that needs it.

  1. Make the workflow to reuse. Under When, choose is passed on by another workflow. Turn it on: it never starts by itself.
  2. In the other workflow, add Run another workflow and choose it.
  3. Tick Wait for it to finish before carrying on to go on only once it has finished.

A workflow can't run itself, or run one that comes back to it. Workflows running workflows stop at 5 deep.

Stop

Ends the workflow there: nothing after it runs. Use it inside a path, for example after a rejection. In a path side by side, it ends the whole workflow and the other paths.

If something looks wrong

What you seeWhat to do
A wait for a condition never endsOpen the run: it says what it waits for and until when. Check the condition against the record, or add a deadline.
"The path “…” failed"Open the run: each path's steps are listed with the reason. Fix the step, then Try again.
"“…” is not on"The workflow it runs must be on. Turn it on first.
"The steps for each line can't include …"Move that step outside Repeat for each line.
Was this article helpful?
DJDT

History

Versions

Time

Settings from erp.config.settings

Headers

Request

SQL queries from 0 connections

Static files (445 found, 1 used)

Templates (6 rendered)

Alerts

Cache calls from 6 backends

Signals