Triggers

The six ways an automation workflow can start — status changes, new tickets, chat messages, packages linked after creation, a command your team runs by hand, and a ticket nobody answered — and the data each one publishes.

Every workflow starts with a trigger node, which publishes the ticket's data to the nodes after it. Most triggers have no settings: conditions do the filtering.

The six triggers

Each trigger publishes the ticket's data (status, priority, tags, packages, assignees, form button), plus the fields below. Every trigger but No activity also publishes the Actor and Actor role. The field reference lists every field.

Add a trigger from the Triggers menu.

TriggerFires whenPublishes
Status changedA ticket moves from one status to anotherPrevious status, New status
Ticket creationA new ticket is openedTicket source
On chat messageThe customer, the team, the AI or a workflow posts a chat messageMessage author type, Message content, Message author (team member), Message ID
Package selectedA package is linked to a ticket after it was createdSelected package (shop, category or script), Selected package names
CommandA team member runs the workflow's command from the ticket composerCommand name, one field per argument
No activityNobody wrote on a ticket for the delay you set (1 hour to 30 days)Inactive since, Last author

Status changed

It fires on every transition, so a condition can test where the ticket came from, where it went, or both.

A customer requesting closure from the portal does not fire it. The same status reached through a staff status change does.

Ticket creation

It fires when a ticket is opened from the portal, the dashboard or the API, with the package it was opened about. The ticket's first message belongs to this trigger, not to On chat message.

On chat message

  • The ticket's first message counts as Ticket creation.
  • System event lines (status, assignment, package…) and internal notes never fire it, even when a workflow wrote them.
  • An AI reply has the author type AI assistant, and a workflow's message has Automation. Neither is Team member, so a "team member replied" filter ignores both.
  • An AI reply that needs approval fires it once approved, when the customer receives it.
  • To tell a workflow's message from a person's reply, test Message author (team member) is empty.

Package selected

It fires when a package is linked after creation: the customer answers the AI package picker, a team member sets it, or a Set package action runs.

A package chosen at creation belongs to Ticket creation, so the two never fire for the same choice. Unlinking a package fires neither. The trigger publishes the packages just linked, next to the ticket's full list.

Command

The only trigger a person starts: a team member types /escalate in the reply box, and the workflow runs on that ticket. Running it needs Send messages.

The Command trigger panel.

The command lives on the trigger node. One Command trigger declares one command, with:

  • a name: lowercase letters, digits and dashes, 2 to 50 characters;
  • a description of up to 100 characters, shown in the composer's autocomplete;
  • up to 5 arguments.

Each argument:

  • is text or a number, and required or optional;
  • can carry a description of up to 100 characters, shown in the autocomplete and in the condition field picker;
  • is matched by position, so required arguments come before optional ones;
  • takes the rest of the line when it is the last argument and is text;
  • needs double quotes when it holds spaces and is not that last text argument;
  • is limited to 500 characters when it is text;
  • can set a minimum and a maximum when it is a number. A value outside them is refused before the workflow runs.

Extra values past the last argument are refused. With code then reason declared as text, /escalate billing the customer was charged twice gives code = billing and reason = the customer was charged twice.

An argument named reason reads as {trigger.command.args.reason}. Argument values are personal data: they are never kept in the run history.

  • The command is never posted in the ticket. The customer only sees what the workflow publishes.
  • Command names are unique across the project. A workflow cannot use a built-in name (/close, /assign, /ai…) or a custom command's name: the save is refused. A custom command cannot take a name any workflow declares, drafts and disabled workflows included.
  • Only runnable workflows offer their command. A disabled, draft or locked workflow is missing from the composer. The Commands page still lists a disabled one, greyed out.

Typing / in the reply box lists the workflow commands with their arguments.

  • You see what the workflow did. After the run, a notification names any action that was skipped or failed, and why.
  • The workflow acts with its own authority. A member who can reply can run a shared workflow's command, even if it does things they could not do by hand.

On the Commands page, the switch next to a workflow command turns the whole workflow on or off. It needs Create, update, and delete automation workflows, plus Create and edit workflows shared with the whole project for a shared workflow. Create command → Run a workflow opens a new workflow with a Command trigger already placed (it needs Create, update, and delete automation workflows).

A workflow can be kept for you only: see Private command workflows.

No activity

The only trigger that waits for nothing to happen. Set a delay from 1 hour to 30 days, and the workflow runs on every ticket where nobody wrote for that long.

The No activity trigger panel.

Counts as activity (restarts the clock)Does not count
A message from the customer, a team member or the AI assistantA message posted by a workflow
A reply from an Ask AI action: it is an AI replyInternal notes and system lines (status, assignment, priority, package, closure)
An AI reply that needed approval, once approvedAI drafts awaiting approval
The ticket leaving Closed, Pending closure or Closure scheduledEdits and deletions
A status change between two open statuses

A workflow's own follow-up never restarts the clock, so it never fires twice on the same silence. A No activity → Ask AI workflow is the exception: it answers again after each new silence. Add Schedule closure after it if it should stop.

When it fires:

  • Once per silence. It fires again on that ticket only after new activity, then the full delay again.
  • Never on Closed, Pending closure or Closure scheduled tickets, nor on a ticket scheduled for deletion. Resolved tickets are included: add a Status condition to leave them out.
  • No catch-up. Tickets already silent longer than the delay when you turn the workflow on are ignored. Turning it off and on, or changing the delay, starts over the same way.
  • Within about 5 minutes of the delay being reached.
  • Each run counts toward your monthly run quota. A silence that reaches the delay while the quota is used up is skipped and not retried.

Last author is who wrote the last message that counted: Customer, Team member (or Owner), or AI assistant. It is empty when nobody has written yet. There is no actor: time acted, not a person.

A workflow can hold several No activity triggers with different delays (3 days and 7 days). Each fires on its own.

Check in when a customer has not answered for 3 days, then close the ticket 3 days later unless they reply.

Trigger
No activity
No activity for 3 days
If
Field condition
TrueFalse
Last author is Team member
Action
Post message
Is your issue solved? Anything else we can help with?
Action
Schedule closure
Close ticket in 3 days, unless the customer replies

Several triggers in one workflow

A workflow can hold more than one trigger, each connected to the same chain. The chain then runs on either event, and you maintain it in one place.

Routing by package usually needs this: a package can be known at creation or linked later.

Send each ticket to the maintainer of its package category, whether the package is known at creation or linked later.

Trigger
Ticket creation
Every new ticket
Trigger
Package selected
Runs the flow when a package is linked to an existing ticket
If
Field condition
TrueFalse
Not configured yet
Action
Assign to a user
No user selected

Needs configuration: Field condition, Assign to a user

A node connected to several triggers only reads the fields all of them publish. A field only one trigger publishes, like Previous status or Selected package names, is not offered there. Connect that node to the one trigger that publishes it, and the field comes back.

Order versus the AI auto-reply

For Ticket creation, On chat message and Package selected, workflow actions run before the AI auto-reply is scheduled. An automation can adjust the ticket before the AI answers. If an Ask AI action already answered the customer's message, the auto-reply is skipped for it.

Examples

Move a ticket out of Awaiting customer as soon as the customer answers, and tell the assigned staff.

Trigger
On chat message
Runs the flow when a chat message is posted
If
Field condition
TrueFalse
Message author type is Customer
If
Field condition
TrueFalse
Current status is Awaiting Customer
Action
Set status
Set status to In Progress
Action
Discord notification
DM Assigned team members

Assign an unassigned ticket to the team member who answers it first.

Trigger
On chat message
Runs the flow when a chat message is posted
If
Field condition
TrueFalse
Message author type is Team member
If
Field condition
TrueFalse
Assignees is empty
Action
Assign to a user
Assign to whoever triggered this