Skip to main content
Workspace triggers are workflows that will run when certain actions happen in the workspace. Workspace triggers have predefined inputs that can not be changed. These inputs are:
  • to_branch - The branch that is being merged into
{
    "id": 1,
    "label": "main"
}
  • from_branch - The branch that is being merged from
{
    "id": 2,
    "label": "dev"
}
  • action - The action that triggered the trigger (branch_live, branch_merge, branch_new)

Creating a Workspace Trigger

Click the⚙️ button in the top-right corner of your workspace dashboard and select Triggers.
workspace-20251014-121951

Accessing the Triggers menu on your workspace


Click Add Workspace Trigger.
  • Visually
  • XanoScript
Give your trigger a name, a description, and any tags you’d like.
Make sure to toggle your Active status to off if you don’t want the trigger to run as you build and test.workspace-20251014-122129
Select the action(s) that will execute this trigger.Branch Live
Any time a branch status is set to live
Branch Merge
When a branch is merged
Branch New
When a new branch is created
Click Save.Now, you can build your trigger logic.
I