AutoBridge

Automate the Permit Workflow

Automations move a permit through its lifecycle: when a record reaches a status, an automation sets the next status, creates the next review task, emails the applicant, or generates the permit document. This page covers the patterns a permit workflow uses. For building an automation step by step, see the Automation Builder guides.

Prerequisites

  • The permit entity, its Application Status options, and any review task entity exist.
  • For documents, a PDF template (see PDF templates).
  • A staff role that can configure automations.

Triggers for permit work

TriggerUse it for
When records matches conditionThe default for status gates. Runs when a record is created or updated and matches your conditions. Pair it with an "only run once" guard (below).
Form Submission TriggerWork that must start the moment an applicant submits.
When record is createdSetup that only depends on values present at creation. It does not run again if a later automation sets the field you care about.
When record is updatedReacting to a change in specific fields.
When record is deletedCleanup.
At a scheduled eventRecurring checks, such as expiration reminders.
On Appointment ChangeInspection scheduling, rescheduling, and results.
When Process Evaluation CompletesActing on an AI evaluation result from the Process Library.
When webhook receivedEvents from another system.

Actions for permit work

ActionTypical use
Update RecordSet Application Status or a review status.
Create RecordsCreate a review task, inspection, or child record.
Find RecordsLook up related records, for example all review tasks for a permit.
IF/ELSE ConditionsBranch, for example residential versus commercial routing.
Send EmailNotify the applicant, licensed professional, or reviewer.
Generate PDFProduce the permit, certificate, or letter from a template.
Wait ActionPause for a fixed time or until a date field, for example 30 days before expiration.
Formula BuilderCalculate a value such as a fee or due date.
Repeating GroupRun actions for each record in a list.
Evaluate Record SetCheck whether all or any related records meet a condition (All records match, Any record matches).
Autofill With AI, Extract From DocumentFill fields from application content or uploaded documents.
Delete RecordsRemove records that are no longer needed.

Generate PDF, On Appointment Change, and When Process Evaluation Completes are available in permitting applications.

The "only run once" guard

When records matches condition runs every time a matching record is saved. Without a guard, each later edit to the permit would create the same review task again. Build every status gate like this:

1

Condition 1: the routing condition

The record is at the stage you want, for example Application Status is Submitted and Trade Type is Electrical.

2

Condition 2: the guard field is empty

Pick a field this automation will fill, for example Electrical Review Status, and require it to be empty.

3

First action: fill the guard field

An Update Record that sets Electrical Review Status to Pending. Because the field is no longer empty, the automation does not match again.

4

Next actions: do the work

Create Records for the review task, Send Email to the applicant, and so on. Keep the guard update first in the flow.

Common permit patterns

PatternHow to build it
Status chainOne automation per gate. Each sets the status that starts the next one (Submitted, then Under Review, then Ready for Issuance, then Issued). See Status automations.
Fan out reviewsOne gate with several Create Records actions, one per department review. See Multi-department review.
Join reviewsA gate that runs when all reviews are complete, using Find Records with Evaluate Record Set (All records match), then moves the permit on.
Issue the permitGenerate PDF for the permit document, Update Record to Issued, Send Email with the document.
Expiration reminderWait Action until a set time before the expiration date, then Send Email. See Wait steps and Reminders.

Steps

1

Create and name it

In the Automation Builder, click Add Automation and enter an Automation Name and Automation Description that say which gate it is, for example Electrical: Submitted, create review.

2

Set the trigger and conditions

Choose the trigger and add the routing and guard conditions.

3

Add the actions

Click Add Action for each step, guard update first.

4

Save and activate

Click Save, then switch on Activate Automation.

5

Test with a real record

Submit a test application, then open History and check Run history (filter by Success, Failed, Skipped, Cancelled). Edit the record again and confirm the automation did not run a second time. Version history shows earlier saved versions.

Example

Electrical: Submitted, create review

PartSetting
TriggerWhen records matches condition on Electrical Permit
Condition 1Application Status is Submitted
Condition 2Electrical Review Status is empty
Action 1Update Record: Electrical Review Status = Pending, Application Status = Under Review
Action 2Create Records: Electrical Review task linked to the permit
Action 3Send Email: tell the applicant the review has started

Common mistakes

  • No guard condition, so every edit creates another review task.
  • Setting the guard field after creating the task instead of before.
  • Using When record is created for a step whose field is set by another automation later; it never runs.
  • Matching a status that is not exactly an option of Application Status.
  • Testing once and stopping. Always edit the test record again to prove the gate does not repeat.

Related guides