Skip to content

Creating Custom Automation Rules

While YardPilot's built-in automations cover common scenarios, you can create custom rules tailored to your specific business needs.

Creating a New Rule

  1. Go to Settings > Automations
  2. Click Add Rule
  3. Configure the trigger, timing, action, and template
  4. Click Save

Configuration Options

Trigger Types

Choose what event starts the automation:

Visit Events

TriggerDescription
Visit scheduledVisit is scheduled for a customer
Visit reminderScheduled visit is approaching
Visit on my wayTeam member marks as travelling
Visit startedTeam member starts a visit
Visit completedTeam member completes a visit
Visit cancelledVisit is cancelled
Visit rescheduledVisit is moved to a new time

Quote Events

TriggerDescription
Quote createdNew quote is created
Quote sentQuote is sent to customer
Quote viewedCustomer views the quote
Quote approvedCustomer approves a quote
Quote declinedCustomer declines a quote
Quote change requestedCustomer requests changes
Quote expiring soonQuote is about to expire
Quote expiredQuote has expired

Job Events

TriggerDescription
Job createdNew job is created
Job scheduledJob visits are scheduled
Job completedAll visits in job are complete
Job cancelledJob is cancelled

Work Request Events

TriggerDescription
Work request receivedNew work request submitted
Work request convertedRequest converted to quote/job
Work request declinedRequest is declined

Invoice & Payment Events

TriggerDescription
Invoice createdInvoice is created
Invoice sentInvoice is sent to customer
Invoice overdueInvoice passes due date
Payment receivedPayment is recorded
Payment failedPayment attempt fails

Review Events

TriggerDescription
Review receivedCustomer leaves any review
Positive review receivedCustomer leaves positive review
Negative review receivedCustomer leaves negative review

NPS Events

TriggerDescription
NPS survey dueTime to send NPS survey
NPS response receivedCustomer responds to survey
NPS promoter identifiedCustomer scores 9-10
NPS detractor identifiedCustomer scores 0-6

Meeting Events

TriggerDescription
Meeting scheduledMeeting is scheduled
Meeting reminderMeeting is approaching
Meeting cancelledMeeting is cancelled

Property Events

TriggerDescription
Property createdNew property is added
Property service dueProperty is due for service

Contact Events

TriggerDescription
Contact createdNew contact is added
Contact birthdayContact's birthday arrives
Contact inactiveContact has been inactive

Expense Events

TriggerDescription
Expense submittedEmployee submits expense
Expense approvedExpense is approved
Expense rejectedExpense is rejected
Expense reimbursedExpense is reimbursed

Timesheet Events

TriggerDescription
Timesheet submittedEmployee submits timesheet
Timesheet approvedTimesheet is approved
Timesheet rejectedTimesheet is rejected
Overtime alertEmployee logs overtime

Scheduling Events

TriggerDescription
Schedule conflictScheduling conflict detected
Unassigned visitVisit has no assignee

Inventory Events

TriggerDescription
Stock lowItem below minimum level
Reorder neededItem needs reordering

Tag Events

TriggerDescription
Tag addedTag is added to a record
Tag removedTag is removed from a record

Timing Options

Control when the action fires:

TimingDescriptionExample
InstantlyAs soon as the trigger firesSend confirmation immediately
Before eventA set time before the triggerReminder 1 day before visit
After eventA set time after the triggerFollow-up 3 days after completion
Day of at TimeAt a specific time on the event daySMS at 8:00am on visit day

For "before" and "after" timing, specify:

  • Value: Number (e.g., 1, 3, 7)
  • Unit: Minutes, hours, or days

For "day of at time" timing, specify:

  • Time: Choose from 6:00am to 8:00pm in 1-hour increments

Action Types

Choose what happens when the automation fires:

ActionDescription
Email customerSend email to the related customer
SMS customerSend SMS to the related customer
Email staffSend email to the assigned staff member
SMS staffSend SMS to the assigned staff member
Email company ownerSend internal alert to business owner
Email teamSend email to a team or group
WebhookSend data to an external URL

Templates

Every automation needs a template that defines what message to send. Templates support merge fields that automatically insert customer names, job details, and more.

Choosing a template:

  • Built-in automations come with pre-configured templates
  • You can select from system templates or create your own
  • Match the template channel (email/SMS) to your action type

Creating custom templates:

  1. Go to Settings > Communication Templates
  2. Click Add Template
  3. Choose the channel (email, SMS, or both)
  4. Write your content using merge fields like {contact.first_name}
  5. Save and then select it in your automation rule

See Built-in Rules - Templates for available merge fields.

Example: Custom Quote Follow-Up

Let's create a follow-up email that sends 2 days after a quote is sent (if not yet approved):

  1. Name: "Quote Follow-Up (2 Days)"
  2. Trigger: Quote sent
  3. Timing: After event, 2 days
  4. Action: Email customer
  5. Template: Select your follow-up template

Example: Morning-of Visit Reminder

Some businesses prefer same-day reminders:

  1. Name: "Same-Day Visit Reminder"
  2. Trigger: Visit reminder
  3. Timing: Before event, 4 hours
  4. Action: SMS customer
  5. Template: Select your reminder template

Managing Custom Rules

Editing Rules

  1. Find the rule in your automations list
  2. Click Edit
  3. Make your changes
  4. Click Save

Enabling/Disabling Rules

Toggle the switch next to any rule to enable or disable it. Disabled rules won't fire even when their trigger occurs.

Deleting Rules

Click the Delete button (trash icon) to remove a custom rule. You cannot delete system rules, only disable them.

Tips for Effective Automations

Don't Over-Communicate

  • 2-3 touchpoints per interaction is usually enough
  • Give customers options to adjust notification preferences
  • Respect quiet hours (automations respect Australian business hours)

Use Appropriate Channels

  • Email: Longer messages, quotes, invoices, confirmations
  • SMS: Short alerts, reminders, "on my way" notifications

Test Your Rules

Create a test customer and run through common scenarios to ensure your automations fire correctly and the messages look right.

Review Performance

Check your automation logs periodically to see:

  • Which automations are firing most
  • Any delivery failures
  • Customer engagement (opens, clicks)

Combining Multiple Automations

You can have multiple automations for the same trigger. Common combinations:

Visit Reminder Stack

  • 1 day before: Email reminder (detailed)
  • 4 hours before: SMS reminder (short)

Quote Sent Stack

  • Instantly: Email with quote link
  • 3 days later: Follow-up if not viewed
  • 7 days later: Final reminder before expiry

Payment Overdue Stack

  • 3 days overdue: Friendly reminder
  • 7 days overdue: Firmer reminder
  • 14 days overdue: Final notice

Avoid Conflicts

If you create a custom rule that duplicates a system rule, consider disabling the system version to avoid sending duplicate messages.

Field Service Management for Australian Businesses