Skip to main content

General

How to Automatically Update Workflow Status Based on Document Events

Auto-update workflow status on document events in Invoice Office: which events an automation can react to, how to set it up, and what to do for sent and paid.

Updated 4 min read

To auto-update the workflow status on document events in Invoice Office, you build an automation: a document event as the trigger, and the Set workflow status action that fills in one of your own statuses. This guide shows which document events an automation can react to today, how to set one up step by step, and what to do for the events it can’t react to yet, such as an invoice being sent or paid.

Which document events can update a workflow status

Open Settings → Company → Automations, click Create and click the trigger card. The Trigger list shows every event an automation can start from:

The Invoice Office automation editor with the Trigger list open and outlined, offering Invoice created from quote, Order confirmation created from quote, Document created, Contact birthday, Status and Product stock alert

For workflow statuses on documents, three of them matter:

TriggerRuns when…Status is set on…
Document createda document of the type under Applies to is createdthe new document
Invoice created from quotea quote is turned into an invoicethe quote, not the new invoice
Order confirmation created from quotea quote is turned into an order confirmationthe quote

Status isn’t an event: it’s where you define the list of workflow statuses for a document type. See how to use workflow statuses.

There is no trigger for an invoice being sent, emailed, paid or overdue. So an automation can’t switch a workflow status to Sent or Paid at that moment. See Sent and paid below for what to do instead.

Before you start

  • Your workflow statuses exist. Set workflow status only offers statuses from an active Status automation for the same document type (or for Any document).
  • Automations are managed by company administrators, and their actions only run with an active Pro license.

Step 1: Choose the document event

  1. Give the automation a name, such as New invoices: In progress.
  2. Under Trigger, choose Document created.
  3. Under Applies to, choose the document type, for example Invoices.
  4. Under Re-enrollment, choose Only once per subject, so each invoice is only handled once.
The automation New invoices: In progress with the Trigger set to Document created, Applies to set to Invoices and Re-enrollment set to Only once per subject, all three outlined

Step 2: Set the workflow status

  1. Click the + under the trigger and choose Action.
  2. Under Action, choose Set workflow status.
  3. Under Workflow status, choose the status the documents should get, for example In progress.
A Set workflow status action under the trigger Document created, with the Action field outlined and the Workflow status list open, offering the statuses In progress, Waiting for customer and Done, with In progress selected

Set workflow status only fills in a status on a document that doesn’t have one yet. It never overwrites a status that you or a colleague already chose. That’s why it works for a starting status, but not to move a document on to a next status.

Step 3: Activate the automation

  1. Switch the automation on with the switch next to its name. The label changes from Draft to Active.
  2. Click Save.
The finished automation New invoices: In progress with the status switch set to Active and the Save button outlined, above the steps Document created and Set workflow status In progress

From now on, every new invoice gets the workflow status In progress. You can check the runs under History in the automation’s menu on the Automations page.

Sent and paid: what to do instead

Use the statuses Invoice Office already keeps. You don’t need a workflow status to see whether an invoice was emailed or paid:

  • The Status column in Sales → Invoices shows Email sent as soon as you email an invoice.
  • The payment status shows Open or Paid, and Expired once an unpaid invoice is past its due date.

Set the workflow status by hand for the rest. To move several invoices on at once, tick them in Sales → Invoices, open the menu with the selection button at the top left and choose Workflow status (Pro licence). For one invoice, use Workflow status in its Action menu in the list (Pro licence too).

The Invoices list with three ticked invoices whose Status is Email sent and Workflow status In progress; the selection button at the top left is outlined and its menu is open with Workflow status outlined

Was this article helpful?

If something is missing or did not work as described, tell us and we will fix the article.

Try it in Invoice Office

Create a free account to follow these steps yourself, or log in if you already have one.