Skip to content
MyAppBuilder
StableGuide

Pipelines and stages

A pipeline is the journey a record goes through: New → Quoted → Approved → Done . In MyAppBuilder a pipeline is simply a select field on an entity whose options are the stages , plus a friendly place to manage those stages and the automations that fire when a record moves between

Pipelines and stages

A pipeline is the journey a record goes through: New → Quoted → Approved → Done. In MyAppBuilder a pipeline is simply a select field on an entity whose options are the stages, plus a friendly place to manage those stages and the automations that fire when a record moves between them.

Stages power Kanban boards and status badges across your app, and stage automations let you react when, say, a quote becomes Approved.

When to use

  • Jobs, quotes, orders, repairs, tickets or requests that move through steps.
  • You want a Kanban board (its columns are the stages).
  • You want "when status becomes X, do Y" automations without building the trigger by hand.

How to create a pipeline

  1. Open Logic → Pipelines and click New pipeline (or Create a pipeline if you have none). You need at least one entity in the Data section.
  2. Choose the Records (entity), for example Jobs.
  3. Choose the Stage field: an existing select field, or + Create a new "Status" field. For a new field, type the Stages comma-separated, in order (New, In progress, Done). The first stage becomes the default value.
  4. Give the pipeline a name and click Create pipeline.

Managing stages

In the pipeline editor, stages are shown as cards from left to right:

  • Rename a stage by editing its name. The stored value stays the same so existing records remain valid (the card shows value: … when it differs from the name).
  • Reorder by dragging the grip, or with the arrow buttons.
  • Add stage appends a new one (up to 200 options).
  • Delete stage removes the option. Records already in that stage keep their old value, which is no longer a valid option; the confirmation tells you how many automations use that stage.
  • Delete (pipeline) removes only the pipeline entry. The status field, its options and your records are untouched.

Stage automations

The Automations for this pipeline panel lists every workflow triggered by A record is updated on this entity's stage field.

  1. Click Add automation and pick When stage becomes… → Approved.
  2. A workflow named When job becomes Approved is created and opened. Its trigger is A record is updated, Only when Status changes, Only if Status is "Approved". It starts with a Notification step ("Job moved to Approved") that you can keep, edit or replace.
  3. Add the steps you need — send an email, create a record in another entity, call an API — and keep the workflow On.
Example
Pipeline:   Quote pipeline  (Quotes › Status)
Stages:     01 Draft · 02 Sent · 03 Approved · 04 Rejected
Automation: When quote becomes Approved → Create job → Send email

Common mistakes

  • Changing the stored value of a stage. You cannot: only the label changes. If you need different values, add a new stage and move records.
  • Deleting a stage that automations use. The workflow's Only if condition then compares against a value no record will have again. Update or delete the workflow too.
  • A read-only external entity. Pipelines cannot create a new Status field on an entity mapped read-only to an external data source; choose an existing select field instead.
  • Expecting a pipeline to change permissions. Stages are data; who may move a record is decided by entity permissions.

Advanced

A pipeline is { id, name, entityId, statusFieldId } in the project definition; stage edits are update_field commands on the select field's options. "Add automation" dispatches create_workflow with trigger { type: "record_updated", entityId, fieldId, condition: Status eq <value> }.

Related

Was this helpful?