TrustPager Docs

← Help Center

Automations

How to Build & Trigger Automations

Walk through the automation builder: set triggers, add actions, control which automation runs first when several listen to the same event, and let the platform handle your repetitive tasks.

Automations are the backbone of a well-run CRM. Instead of remembering to send follow-ups, create tasks, or update records manually, you define the rules once and TrustPager handles the rest every time, without fail.

The Automation Builder

Each automation has two parts: a trigger (what starts it) and one or more actions (what happens). The visual builder shows the flow clearly: trigger at the top, actions in sequence below.

Available Triggers

TrustPager supports a wide range of trigger types:

Tag Added Trigger

Tag Added runs an automation when a tag is added to an opportunity. It does not matter where the tag came from: the opportunity page, the board, the API, an import or another automation all count.

Set it up

  1. Open your automation at https://app.trustpager.com/auto/automations and click its CRM trigger. The Configure CRM Trigger window opens.
  2. Choose Tag Added. It sits after Opportunity Lost and before Contact Created.
  3. In the Tag (optional) box, type the tag. Your existing opportunity tags are offered as suggestions, and capitals do not matter. Leave it empty to run on any tag.
  4. If you want, narrow it to one pipeline and stage using the optional scope below.

The summary line tells you what you set: "Will trigger when the tag X is added to an opportunity" or "when any tag is added".

Good to know

Recipe: a tag that works as a button

Create a tag such as "Resend welcome email". Build an automation triggered by Tag Added with that tag. Make the first step remove the tag, then add the step that does the work (send the email). Anyone can now add the tag to an opportunity any time they want the email sent again, and the tag clears itself ready for next time.

Opportunity Updated is retired

The old Opportunity Updated trigger no longer runs and cannot be added to new automations. An automation that still uses it shows it as "Opportunity Updated (Retired)". It ran on every small edit to an opportunity, so automations woke up far more often than anyone intended. Use the moment that matters instead: a stage change, Opportunity Won or Lost, Tag Added, Custom Field Changed, or a manual Quick Action button on the opportunity. To run when a job status changes, use Custom Field Changed with a Status dropdown.

For the API and AI assistant tools (add_automation_trigger, update_automation_trigger, create_automation), the tag goes in the trigger config and the source is left empty. See the field names at https://docs.trustpager.com/reference#automations.

Custom Field Changed Trigger

Custom Field Changed runs an automation when one opportunity custom field changes to one value you choose. It is the precise way to "run when a job status changes": pick the Status field and the value Scheduled, and the automation runs only at that moment.

Set it up

  1. Open an automation at https://app.trustpager.com/auto/automations and go to its Trigger.
  2. Choose Custom Field Changed.
  3. Pick the Field. Only dropdown and checkbox custom fields are offered.
  4. Pick the value. For a dropdown it is Changes to and one of the dropdown options. For a checkbox it is When it is and Ticked or Unticked.
  5. Save. The Save button stays disabled until both the field and the value are picked.

The summary then reads like "Will trigger when Status changes to Scheduled on an opportunity". Like other opportunity triggers, you can limit it to a pipeline or stage.

If your workspace has no dropdown or checkbox custom fields yet, the screen links to https://app.trustpager.com/settings/crm so you can add one.

Why only dropdowns and checkboxes

Text, number, date and table fields are not offered. Those change on almost every edit, so an automation watching them would wake up far more often than anyone intends. A dropdown or checkbox changes to a known value, so the automation runs at the moment that matters.

When it fires

What you can use in conditions and actions

Recipe: send a confirmation when a job is scheduled

Add a dropdown custom field called Status with an option Scheduled. Build an automation with the Custom Field Changed trigger, field Status, Changes to Scheduled. Add a step that emails the contact their booking confirmation. It runs each time a job is set to Scheduled, and not on any other edit.

For the API and AI assistant tools, the field and value go in the trigger config and the source is left empty. The API checks that the field exists, is a dropdown or checkbox, and that the value is a real option (not case sensitive, saved with the exact spelling of the option). An automation of this type cannot be created with no trigger. See the field names at https://docs.trustpager.com/reference#automations.

Invoice Paid Trigger

Invoice Paid runs an automation once, at the moment an invoice becomes fully paid. Use it to move the opportunity to a Paid column, thank the customer, or start an after-the-job sequence.

Set it up

  1. Open an automation at https://app.trustpager.com/auto/automations and go to Trigger Source.
  2. Click Add a Trigger. In the grid, choose the Invoices card. It sits next to Store and Stock.
  3. Choose Invoice Paid. It is the card's only event, and there is no "pick one invoice" choice: it always means any invoice.
  4. Add your steps and save.

When it runs

What you can use in conditions and actions

Merge fields for your emails, messages and notes:

Conditions you can check: Invoice Total, Invoice Number, Reference, Paid in Instalments and Paid in Xero.

Recipe: thank the customer and move the card

Build an automation with the Invoice Paid trigger. Add a step that moves the opportunity to your Paid column, then a step that emails the contact: "Thanks, we have received your payment of {{trigger.amount_paid}} for invoice {{trigger.invoice_number}}." To treat big jobs differently, add a condition on Invoice Total first.

For the API and AI assistant tools, see the field names at https://docs.trustpager.com/reference#automations.

Call Missed Trigger

The Call Missed trigger fires when an inbound call to a TrustPager number that forwards to a mobile (or rings the app) goes unanswered. Use it to text the caller back straight away, so a missed call becomes a conversation instead of a lost lead.

Set it up

  1. Open https://app.trustpager.com/auto/automations and create or edit an automation.
  2. Click Add Trigger, choose the SMS card, then Call Missed. Pick a specific number, or leave it on any number.
  3. Add a Send SMS action to the contact. The caller's number is used even if they are not in your CRM yet.

Through the API or MCP, use trigger type call_missed with source type phone, and optionally the phone number id as the source. For the exact field names see https://docs.trustpager.com/reference#automations.

What you can use in actions

The caller's number, the number they called, the phone number record, the call reference, the dial result (no answer, busy, failed or cancelled) and what the no-answer setting did with the call. When the caller matches a contact, the contact and opportunity details are available too.

Get the most out of it

Task Completed Trigger

The Task Completed trigger fires when a person ticks a task off. Use it to react to finished work, for example moving a card to Done once its last task is complete.

To set it up, create an automation at https://app.trustpager.com/auto/automations and choose the Task card ("Ticked off by a person").

When it fires

Conditions you can use

Variables available in actions

Task: {{task_id}}, {{task_title}}, {{task_description}}, {{task_body}}, {{task_category}}, {{task_priority}}, {{task_due_date}}, {{assigned_to}}, {{completed_by}}, {{completed_at}}, {{open_tasks_remaining}}.

Opportunity and contact: {{deal_id}}, {{deal_name}}, {{pipeline_id}}, {{stage_id}}, {{pipeline_ids}}, {{contact_id}}, {{customer_id}}.

Recipe: move a card to Done when its task is ticked

Say you run a To Do board where each card carries one task. Create an automation with:

  1. Trigger: Task Completed
  2. Condition: Open Tasks Remaining on Opportunity equals 0
  3. Condition: Board equals your To Do board
  4. Action: Move Opportunity to your Done column

Watch the run count

Once a workspace has an enabled Task Completed automation, every task a person completes counts as one automation run, including tasks on other boards. Always add the Board condition so the automation only acts on the board you mean.

Open Tracking

TrustPager can tell you the moment a recipient opens something you sent them: a document, a form, or a work order portal. Three triggers cover these events:

Each trigger fires once per recipient: opening the same item again does not re-fire the automation.

Building an open-tracking automation

Open https://app.trustpager.com/auto/automations, create or edit an automation, and select the relevant trigger card: Signatures for document opens, Forms for form opens, or Work Order Portal for portal opens. Choose the Opened event within that card, then attach any action you like.

Common patterns:

Variables available in actions

When an open-tracking trigger fires, the following variables are available in any action:

Activity timeline

Every open is also recorded as an activity on the linked opportunity's timeline: you can see who opened what and when, even if you have not set up an automation for it.

Booking Event Triggers

The Scheduler trigger card (labelled "Booking events" in the trigger grid at https://app.trustpager.com/auto/automations) fires automations off activity on your TrustPager scheduling page. It covers three events:

Scoping by event type

After selecting the Scheduler card and choosing an event, you can scope the trigger to fire for Any event type (the default) or restrict it to a single specific event type. This is useful when you run multiple event types and want different automations for each one.

Fields available in actions

When a booking trigger fires, your actions have access to the booking details via the variable picker inside the action editor. The fields available depend on the event:

All three events: Name, Email, Phone, Event Type, Duration

Booking Created: Start Time, End Time, Meeting Link (for video bookings)

Booking Rescheduled: Old Start Time, New Start Time

Booking Cancelled: Cancellation Reason

Key use cases

Scheduler vs Cal.com: The Scheduler card handles bookings made through TrustPager built-in scheduling. If your workspace is connected to a Cal.com account, you will also see a separate Cal.com trigger card that handles bookings coming from Cal.com only. If you are using TrustPager native scheduling, use the Scheduler card.

Lead Magnet Answered Trigger

Starts when a reader answers on a Lead Magnet page: picking an option in a Pick one block (event "picked", including a pick made by tapping a picture card in an email blast), or pressing a Next step button (event "continued"). Ticks in a Tick all that apply block are saved but do not start it. Picking the same option again does not start it. Pick a Lead Magnet on the trigger to follow just that one.

In your actions you can use the reader's first name and email, the Lead Magnet's name, the event, answer (the name of what they picked), button (the Next step button they pressed) and answers_text (every answer so far, one per line, including ticks). Good uses: tell the team which design someone picked, text them about it, or move their opportunity on. Details of building the page are in https://trustpager.com/help-center/lead-magnets-private-pages.

Adding Multiple Triggers

A single automation can listen for more than one trigger at the same time. When any one of them matches, the automation fires: this is an OR relationship, not AND. You do not need separate automations for each entry point.

To add a trigger, open your automation in the builder at https://app.trustpager.com/auto/automations and click Add Trigger below the existing trigger card. You can mix trigger types freely: for example, a form submission trigger and an inbound webhook trigger can coexist on the same automation. When either fires, the full action sequence runs.

There is no enforced limit on how many triggers an automation can have, and no restrictions on which source types can be combined.

One exception: Stage Change - stage-change automations are tied to a single pipeline stage and are managed from the pipeline page, not the automation builder. They do not appear in the multi-trigger interface. All other trigger types support multiple triggers.

When Two Automations Listen to the Same Thing

Nothing stops several automations listening to the same trigger, and often that is what you want: one creates the opportunity, another tags it, a third alerts someone. But if two of them write to the same thing, the order matters, and you need to say what it is.

Open the automation at https://app.trustpager.com/auto/automations, click Settings on the Trigger Source card, and set Run order. The lowest number runs first. Everything sits on 0 by default, which is fine until two of them disagree.

The usual case: an intake automation creates the opportunity and puts it on a starting stage, and a second automation moves it somewhere else based on what the lead said. Put the intake on a lower number than the one that moves it, so the move happens second and its result is what sticks. Get that backwards and the card lands on the starting stage, which is the one you were trying to move it off.

Two automations on the same number fall back to oldest-first. That is stable, so it will not change between one run and the next, but it is not a choice you made. If the order matters, set the numbers.

Not the same as the order of actions inside one automation. Within a single automation, actions run top to bottom in the builder and you reorder them by dragging. Run order is only about which whole automation goes first when several of them answer the same trigger.

You can see what happened on any run: the run history lists each automation in the order it actually ran, with its run order beside it.

Checking Text in a Condition

Conditions decide whether an automation runs. On a text field, such as a lead's message, an opportunity type or a phone number, you can check:

Text checks ignore capital letters, so "perplexity" also matches "Perplexity".

The same checks work on a single step. On any action card, set Only runs if to skip just that step while the rest of the automation still runs.

Recipe: stop spam enquiries getting a reply

  1. Open your website lead automation at https://app.trustpager.com/auto/automations.
  2. Under Conditions, click Edit and add the field that holds the lead's message, Does not contain text, and a phrase the spam always uses.
  3. Save. Genuine leads carry on as normal, and messages with that phrase no longer create a task or get the auto-reply.

Running a Step Only for Certain Products

Any automation that runs with an opportunity knows which products are on it. A step's "run only if" condition can use the opportunity's product names, product ids or full product list. For example, run a step only if the product names contain any of "Zero Bookkeeping".

The fields are deal.product_names (a list of names), deal.product_ids (a list of product ids) and deal.products (each line with its name, sku, quantity and unit price). For example, the condition { "deal.product_names": { "contains_any": ["Zero Bookkeeping"] } } runs the step only when that product is on the opportunity.

Set conditions in the automation builder at https://app.trustpager.com/auto/automations.

Available Actions

Each trigger can fire multiple actions in sequence:

Stopping an Automation When a Step Fails

By default, if one action in an automation fails, the automation keeps going and runs the remaining steps anyway. Usually that is what you want. But sometimes a later step should only run if an earlier one succeeded. For example, you only want to enrol someone in a follow-up sequence if the step that generates their quote actually worked.

Every action has a Stop the automation if this step fails toggle on its card in the builder. It is off by default. When you switch it on, a failure on that step halts the automation and none of the steps after it run.

Order matters. Actions run from the top of the builder downwards, so the step you want to guard on must sit above the steps you want it to stop. To prevent a "send follow-up" step from running when a "get quote" step fails, put the "get quote" step first and turn its toggle on. If you turn the toggle on for the very last step there is nothing after it to stop, and the builder will tell you so.

When a run is halted this way, the run shows as Failed (if no earlier step had completed) or Partial (if some earlier steps completed), and the steps that did not run are marked as skipped in the run detail.

Run History

Every time an automation fires, TrustPager logs a complete audit trail: what triggered it, what data was used, which actions ran, and whether each step succeeded or failed. This makes debugging straightforward: you can see exactly what happened and why.

Tip: Start with simple automations (one trigger, one action) and add complexity once you see them working. The most impactful first automation for most businesses is a follow-up sequence that fires when an opportunity moves to a new stage.

Run a calculator step

Use the Run a calculator step to work out figures for an opportunity. Pick a live calculator, let each input start from the opportunity's last run or its fields (or set a fixed value), and choose whether to save the run. Later steps can use calculator.<key> (the number) and calculator.<key>_display (written out, for example "$4,316.76"), including in an Only run if condition such as calculator.lvr more than 80. The library has its own article: https://trustpager.com/help-center/calculators.

← Back to Help Center Open on trustpager.com ↗