Skip to main content

Project automations

A stage automation runs when a request enters a stage, leaves a stage, or moves from one stage to another. You attach it to a stage on the project board. The board itself, the columns, and Move to project are on Projects.

Some industries rename labels. The pictures on this page are from BrightSmile Dental. There a contact is a Patient, items are Services, and requests on the Treatment plan project are Planning of services. The placeholder group for that request reads Planning of service. This page uses the generic names. The pictures use the dental ones.

Open the editor​

On the board, open the gear and choose Manage statuses. The panel is Board Statuses. Each stage is a card, with Status Name, Status Category, and Start point. A finished stage also has Outcome Type. At the bottom of the card, Automations lists what already runs on that stage. A stage with nothing set says No automations configured.

+ Add opens New Automation. An automation already on the card opens in the same panel.

Board Statuses on the Treatment plan board. The In Progress card shows Status Name, Status Category, Start point, and Automations with + Add and No automations configured. The Done card also shows Outcome Type set to Success

Save on Board Statuses stores the stages. Save inside New Automation stores that automation. Close leaves the panel you have open.

Name, trigger, and settings​

FieldRequiredWhat it does
Automation NameYesThe name on the stage card
DescriptionNoA note for people editing the automation

Trigger Settings decide when it runs.

FieldRequiredWhat it does
Trigger TypeYesWhen entering status, When leaving status, or On specific transition
To Status—The stage the trigger uses

When entering status runs as a request arrives in To Status. When leaving status runs as a request leaves that stage. On specific transition runs when a request moves from one stage to another. You set the stage it leaves and To Status as the stage it arrives in.

Settings has two checkboxes, and both start ticked:

  • Requires Confirmation – Show popup before executing. The move waits until someone confirms or skips this automation. On a drag, cancel puts the card back.
  • Enabled – Automation will run when triggered. Clear it to keep the automation on the stage without running it.

The footer is Save and Close.

Conditions​

Conditions (Optional) limit which requests the automation accepts. Add Condition adds a row. Each row has Field Type, Field, Operation, and Value, and a remove control.

Field typeWhat it looks at
TicketFields on the request, such as Priority and ID
ContactFields on the request’s contact
Ticket custom fieldsCustom fields on the request
Contact custom fieldsCustom fields on the contact
ItemsLines on the request

Operations are Equals, Not Equals, Greater Than, Less Than, Greater or equal, Less or equal, Is Empty, and Is not empty.

The word between two conditions reads And until you click it. A click switches it to or. Conditions joined by And stay in one group. or starts the next group. The automation runs when every condition in any one group is true. Two pairs, with And inside each pair and or between the pairs, mean (A and B) or (C and D).

The value control follows the field:

FieldValue control
PriorityA dropdown: Highest, High, Low, Lowest
Is flaggedYes or No
BranchThe active branches
A select custom fieldThat field’s own options
A yes/no custom fieldYes or No

Other fields use a text box, a number, or a date, matching the field. For the dropdown fields above, Is Empty and Is not empty mean the field has no value set. Those two operations hide the value box.

Actions​

Actions is required. Add Action opens Select Action Type.

These actions can be used:

ActionWhat it does
Create Sales DocumentCreates a sales document from the request
Send EmailSends an email. See Email, SMS, and reminders
Send smsSends an SMS. See Email, SMS, and reminders
Create ticketCreates a linked request. Details below
Create ReminderCreates a reminder. See Email, SMS, and reminders
Change ResponsibleChanges the person responsible for the request
Move to StatusMoves the request to another stage. The destination stage’s automations then run. See when automations run
Update FieldWrites one or more values onto the request. Details below

On a project that allows manufacturing, Create manufacturing document is available as well. On other projects it is shown with the actions that are not available yet. Those cards read We will add this in a future update: Create Purchase Document, Create manufacturing document (when the project does not allow manufacturing), Create Appointment, Note, Webhook, and Create Notification.

Each action has a remove control. Project and status lists inside an action can be searched.

Create ticket​

Create ticket adds a new request in a project and stage you choose, and links it to the request that triggered the automation.

New Automation with the Create ticket action. Project, Status (the placeholder is Select project first), Name, and Deadline in days are on the form. Add placeholder is open on Name, on the request group BrightSmile calls Planning of service, showing Key, Name, Description, and Priority

FieldRequiredWhat it does
ProjectYesActive projects. The placeholder is Please select a project. The Leads project is left out. Saving a Leads project is refused with the message that the project is not available
StatusYesStages of the project you picked. Until a project is chosen the placeholder is Select project first. A stage from another project is refused
NameYesThe new request’s name, up to 100 characters. Add placeholder inserts a value from the source request
DescriptionNoThe new description. It has its own Add placeholder
AssigneeNoAn employee. The placeholder is Select employee…. Someone who is not an active employee is refused
Deadline in daysNoA number of 0 or more. The due date is that many days after today

Add placeholder opens a searchable list. Each entry is a label with a token in curly braces under it. Choosing the entry inserts that token at the cursor. A token with one pair of braces and the same token with two pairs are both filled in when the automation runs. A date is filled as DD/MM/YYYY. A date-and-time custom field is filled as DD/MM/YYYY HH:MM:SS, and a date range as DD/MM/YYYY - DD/MM/YYYY. A side of a date range that had a time keeps that time. An empty date is left blank. A time is filled as HH:MM.

GroupEntries
The request. On BrightSmile this group reads Planning of serviceKey, Name, Description, Priority, Status, Project Name, Project Key, Start date, End date, Create Date, Ticket amount, Lead Amount, Lead Source
The contact. On BrightSmile this group reads PatientName, Firstname, Lastname, Phone, Email
ResponsibleName, Phone, Email
GeneralDate, Time

When the request has custom fields, those fields are listed in their own group.

The same placeholder list, scrolled to Responsible (Name, Phone, and Email) and the start of General

When the automation runs it creates the request in the chosen project and stage, with the filled name and description, the assignee, and the due date. The new request has no contact. The reporter is the person whose action caused the automation to run. The two requests are linked. The link is listed on the activity tab described below.

The new request does not run the automations on its own starting stage. It still records that first stage in its history, so a Create ticket action does not create another request from itself.

Save is refused when the project, the status, or the name is missing.

Update field​

Update Field writes values onto the request that triggered the automation. One action can set several fields. Each row is a Field (placeholder Select field) and a Value. + Add Field adds a row. The remove control on the row deletes that row. The same field cannot be used twice. The message says the field is a duplicate. Every row needs a value, so this action cannot clear a field.

New Automation with Trigger Type set to When entering status and To Status set to In Progress. Two conditions are joined by or. The first field is Priority and its value is a dropdown. The second field is ID, the operation is Greater Than, and the value is a text box. Update Field below has Field set to Priority, a value dropdown, and + Add Field. Requires Confirmation and Enabled are ticked

FieldValue
NameText, up to 100 characters
PriorityHighest, High, Low, or Lowest
FlaggedYes or No
Start dateA date
Due dateA date
Custom fieldsText, number, select (that field’s options), yes/no, date, employee, or contact. Other custom-field types are not offered

The value control matches the field: a text box, a number, a dropdown, a date, or a search for an employee or a contact.

A due date that falls before the start date is refused. The check uses the dates already on the request together with the dates in this action. The message says the end date is before the start.

When the automation runs, the values are saved, the change is written to the request’s Audit logs, and open boards refresh. If Requires Confirmation is on, the popup lists each field and the value it will write.

Email, SMS, and reminders​

Send Email, Send sms, and Create Reminder each have a Content mode.

  • Template shows the template list only. Saving with no template chosen is refused with Select template.
  • Custom text shows the subject and the message only.

On Create Reminder, the template list follows Notification types. With only email ticked, the list is email templates. With only SMS ticked, the list is SMS templates. The After delay is one field: the number and the unit together.

When an automation runs​

These moves run the automations on the stage the request arrives in: the ones set to When entering status, and the ones set to On specific transition when the move matches.

  • Drag a card to another column.
  • Move to project, on the card or on the request.
  • A Move to Status action, which moves the request and then runs the destination stage.

A chain of moves stops after five levels. A move that already happened in that chain does not run again.

After Move to project, automations that ask for confirmation are skipped. There is no confirmation popup on that path. Automations that do not ask for confirmation still run. A drag still waits until you confirm or skip an automation that asks for confirmation.

Linked requests​

The request’s activity panel has a tab named after the project’s request type, with a count. On a project whose requests are called tickets, the tab reads Tickets. On the BrightSmile Treatment plan project the tab reads Planning of services.

The tab lists requests linked by Create ticket. On the request that ran the automation, each card is labelled Created ticket. On the new request, the card is labelled Created from. A card shows the project, the request key and name, the status, the start date, and who linked it and when. View details opens that request, including an archived one. The list includes only requests you are allowed to open. The links are created by the automation.

When the tab has nothing to show, it reads No activities available.

Activity tabs on a Treatment plan request. Planning of services (0) is selected, and the panel reads No activities available

Set up an automation​

  1. Open the project board, then the gear, then Manage statuses.
  2. On the stage card, choose + Add under Automations.
  3. Enter Automation Name. Set Trigger Type and To Status.
  4. Choose Add Condition when the automation should run only for some requests. Click And to switch a joiner to or.
  5. Choose Add Action. For Create ticket, pick the project, the status, and a name. For Update Field, pick a field and a value, and use + Add Field for another field.
  6. Leave Requires Confirmation on when a person should approve the action. Leave Enabled on when it should run.
  7. Save.

If a save is refused​

  • Status stays on Select project first until Project has a value.
  • Create ticket refuses a missing project, status, or name, the Leads project, a stage from another project, and an assignee who is not an active employee.
  • Update Field refuses a field chosen twice, an empty value, and a due date before the start date.
  • Template mode on an email, an SMS, or a reminder refuses a save until a template is chosen.