AutoBridge

Route an Application for Review

When an application is submitted, move it to "Under Review", create a review task linked to it, assign a reviewer, and email the reviewer. This example routes a Commercial Building Permit to Plan Review.


Prerequisites

  • A Building Permit entity with a Status dropdown (including Submitted and Under Review) and a Permit Type dropdown.
  • A Plan Review entity with an association field to Building Permit, an Assigned Reviewer user field, a Review Status dropdown, and a Due Date field. See Add an Association Field.
  • A role with Automation Create and Edit permissions.

Steps

1

Create the automation

Click Add Automation and name it "Commercial Permit - Route to Plan Review".

2

Trigger on the submitted state

Choose When records matches condition, Entity selection Building Permit. Add the conditions Status is Submitted And Permit Type is Commercial. Name it "Commercial permit submitted" and save.

3

Move the status first (the guard)

Add Update Record named "Set Under Review". Record Id: the trigger's Record ID. Click Choose field, pick Status, and choose Static, Under Review. Because the permit no longer has Status Submitted, the trigger will not match again on later saves.

4

Create the review task

Add Create Records named "Create plan review", Entity selection Plan Review. Choose these fields: Building Permit (association) set to the trigger's Record ID; Review Status set to Static Not Started; Assigned Reviewer set to a reviewer; Due Date set to Due in 10 Days.

5

Email the reviewer

Add Send Email named "Notify reviewer". In To, click +, choose the "Create plan review" step, and pick Assigned Reviewer (Email). In the message, insert the permit number from the trigger.

6

Test and activate

In a test environment, submit a test commercial permit. Confirm in Run history that all steps succeeded, the permit shows Under Review, and the Plan Review is linked to it. Save the permit again and confirm no second Plan Review was created.


Example

StepSettingValue
TriggerWhen records matches conditionBuilding Permit: Status is Submitted And Permit Type is Commercial
Update RecordStatusUnder Review
Create RecordsEntityPlan Review
Building Permittrigger's Record ID
Review StatusNot Started
Due DateDue in 10 Days
Send EmailToAssigned Reviewer (Email) from the Create Records step

Variations

  • Different reviewers by type: add IF/ELSE Conditions after the status update, with a branch per Permit Type, and a Create Records step in each branch with a different reviewer.
  • Several reviews at once: add one Create Records step per discipline (for example Zoning, Fire, Structural), or use Reconcile Related Records with your implementation team.
  • Move on when reviews are done: a second automation on Plan Review checks that every review is complete. See the example in Branching and Loops.

One automation per stage

Build each workflow stage as its own automation: submitted to under review, review complete to ready to issue, and so on. Each one sets the status that starts the next. Small automations are easier to test and change.


Common mistakes

  • Putting Create Records before the guard Update Record. If anything saves the permit in between, a second review can be created.
  • Linking the new review to the wrong record. Set the association field to the trigger's Record ID.
  • Creating several review records at the same moment and then not checking that the parent's links survived. After testing a multi-review setup, open the parent and confirm every review is still linked.

Related guides