Skip to main content

Getting Started with Pipelines in wxrks

How Account Admins set up wxrks Pipelines to automate workflow, task, and project-status changes triggered by account events, including Pipeline Secrets and auto-refreshing OAuth tokens.

Pipelines automate what happens in your account when something occurs in wxrks: a project is created, its costs are calculated, a task changes status. You build a pipeline on a visual canvas, test it on a sample event without changing anything, publish it, and then follow every run in a readable history. This guide covers the whole cycle, from your first pipeline to versions, retries, connections and secrets that renew their own tokens.

Audience and Prerequisites

  • Role & permission: Requires Account Admin access. Tools > Pipelines is open only to Account Admins and applies to the whole account. Project Managers, Clients and Vendors don't see it.

  • Extra permissions for some actions (shown in the permission matrix at People > Users > [User] > Permissions, all on by default for Account Admins):

  • Project Cost Calculate to save, publish or switch on a pipeline that uses the Add project cost block.

  • Retry pipeline runs to retry a failed run.

  • Pipeline connections to see and manage the Connections tab.

  • Dependencies: A pipeline that calls Slack, QuickBooks or another service needs that service's token stored as a secret (see Connections and Secrets).

Table of Contents

What Are Pipelines?

A pipeline connects a trigger (an event in wxrks, such as Project created or Task status changed) to one or more blocks (things wxrks does in response, such as posting to Slack, changing a project's status or assigning a task). wxrks runs the pipeline every time the trigger's event happens, so nobody has to remember the manual step.

With pipelines you can, for example:

  • Skip or advance a workflow step when a condition is met, such as no manual edits in a review.

  • Assign the tasks of a workflow step to a person as soon as a project is created.

  • Send different projects down different paths depending on the time they arrive.

  • Add a cost line to a project's budget, such as extra words for text expansion in one language.

  • Post to Slack or call an external system over HTTP.

Term

What it means

Trigger

The event, or events, that start the pipeline. It can also have a condition (Only when), so events that don't meet it start nothing.

Block

One step of the pipeline. Blocks run from the trigger down, in the order the canvas shows.

Path

A branch after a logic block (Only continue if, Split into paths, Split by time). Only the blocks on the path that matches run.

Draft

Saved changes that are not live yet. Events keep running the live version until you publish.

Version

Each publish creates a numbered version (v1, v2…). Events run the live one.

Test run

Runs the pipeline on a sample event from your account. Blocks that would change something only say what they would do.

Run

One execution of the live pipeline, caused by a real event. Every run is listed in Run history.

ℹ️ Note: Pipelines are a separate feature from Sous Chef Agents. Sous Chef Agents shape the tone and style of AI translation; pipelines automate process events such as status changes, task routing, costs and notifications.

Where to Find Pipelines

Go to Tools > Pipelines. The page has:

  • An Account summary with Active pipelines, Runs, last 7 days and Needs attention (runs that failed in the last 7 days and were not retried successfully, with the latest reason).

  • Pause all pipelines and Add pipeline at the top right.

  • Four tabs: Pipelines (your pipelines, with their flow, version, last run and Active switch), Run history, Connections and Secrets.

In the image: (1) Pipelines under Tools, (2) the Account summary, (3) the four tabs.

Tools > Pipelines page with red boxes on Pipelines in the Tools menu (step 1), the Account summary with Active pipelines, Runs last 7 days and Needs attention (step 2), and the Pipelines, Run history, Connections and Secrets tabs (step 3)

ℹ️ Note: Pipelines used to live in Settings. Old Settings links and the Settings search now open Tools > Pipelines.

Each pipeline's row shows which other pipelines it can start (Starts) or be started by (Started by), and a Calls the wxrks API badge when a block calls the wxrks API, which can cause any event. The row's More actions menu has Open canvas, Edit as YAML, Preview, Duplicate and Delete pipeline. A duplicate starts switched off. Deleting a pipeline also deletes its run history and can't be undone.

Creating Your First Pipeline

  1. In Tools > Pipelines, click Add pipeline.

  2. Choose how to start: * Start blank: an empty canvas where you choose the events and add blocks. * A template, such as Slack message when a project is approved, Webhook when translated files are ready or Alert when the account nears its limit. It opens in the editor; nothing is saved until you save it. * Write YAML: paste or write a pipeline in YAML (a plain-text, indentation-based configuration format); it opens as blocks.

Add pipeline dialog with Start blank, three templates (Slack message when a project is approved, Webhook when translated files are ready, Alert when the account nears its limit) and Write YAML

  1. Type a name at the top left of the editor.

  2. Pick the event that starts the pipeline: click it under Triggers in the left panel, or click the trigger card and tick it in the Events list.

  3. Add blocks: click one in the left panel, drag it onto the canvas, or click the + on any link between two blocks.

  4. Click a block to set it up in the right panel. Setup holds the step name and the condition for that step; Configure holds the block's own settings; Test runs the pipeline up to that block on a sample event.

  5. Click Save.

In the editor: (1) the block list, (2) the trigger card, (3) the + on a link, (4) the settings panel of the selected block, (5) zoom, Fit to the screen and Tidy up.

Pipeline editor with red boxes on the block list (step 1), the trigger card (step 2), the plus button on the link below the trigger (step 3), the settings panel of the selected Split by time block (step 4) and the zoom, Fit and Tidy up controls (step 5)

The first save creates version 1. A new pipeline starts switched off: no event runs it until you switch it on (see Switching Pipelines On and Off).

💡 Tip: Blocks stay where you drag them. Use the zoom buttons, Fit to the screen and Tidy up to rearrange the canvas, and Ctrl+Z to undo. Moving blocks only changes the drawing, never the order in which the pipeline runs. A pipeline written in YAML or created through the API opens top to bottom, in the order it runs.

Building on the Canvas: Triggers, Blocks and Conditions

The trigger

The trigger card lists the events that start the pipeline. A pipeline can start on more than one event; it runs whenever any of them happens. Events marked Not sent today exist in the list but nothing sends them yet, so they never start a pipeline.

Under Only when, click Add condition to start the pipeline only for some events, for example only when the project's new status is Approved. An event that doesn't meet the condition starts no run at all.

Blocks

The left panel groups the blocks by what they do:

Group

Block

What it does

Logic

Only continue if

Continues only when a condition is met. Blocks can also hang from Otherwise.

Logic

Split into paths

Takes the first path whose condition matches, or Otherwise.

Logic

Split by time

Takes the first path whose days and hours cover the time of the event, in the time zone you choose, or Otherwise.

Integrations

HTTP request

Calls a URL and keeps the status code and response for the next blocks. Redirects are not followed.

Integrations

Slack message

Posts a message to a Slack channel with a bot token kept as a secret.

wxrks records

Match files to workflows

Lists the project's files whose names end with the file endings you give, per workflow to add. It does not change the project.

wxrks records

Update workflows

Sets the status of the project's work units (one file in one target language) in the chosen workflows and, optionally, of their tasks.

wxrks records

Change project status

Moves the event's project to another status.

wxrks records

Add workflows

Adds workflows to every file and language of the project. The project must be in Draft or Continuous.

wxrks records

Update a record

Writes allowed fields on a user or Org Unit (a division of your account that groups users, projects and settings), such as a QuickBooks ID.

wxrks records

Finish task

Finishes the event's task: Deliver closes it like the deliver button; Skip marks it skipped and nothing is paid.

wxrks records

Add project cost

Adds a cost line to the project's budget while it is Draft or Pending. See the example below.

wxrks records

Assign a task

Assigns the tasks of one workflow step to a person, language by language.

Checks

Check manual edits

Checks whether a work unit has manual edits in the chosen workflows.

Checks

Check comments

Checks whether the project, or the event's work unit, has comments.

Checks

Check project work units

Checks whether every work unit of the project is closed.

Developer

Debug message

Writes a message to the run's log. Changes nothing.

People, projects, Org Units and workflow steps are chosen by name from a search, and cards, Explain and Run history show them by name. The search only returns items from your own account.

Conditions on a step

In a block's Setup tab, Only run this step when limits that one block. Build the condition from rows (field, comparison, value), or click Advanced > Edit as expression and write it as one expression, such as event.details.new_status == 'DELIVERED'. A step whose condition reads a value that isn't there is skipped; the rest of the pipeline continues.

Paths and Then

Only continue if, Split into paths and Split by time branch the pipeline. Each path is drawn as its own column with a header (A, B…) that shows its condition or, for Split by time, its days and hours. Blocks placed in a column run only on that path. A Then link below the logic block runs the next step whatever path was taken.

To route by time of day, add Split by time, open Configure, and then:

  1. Choose the Time zone. Daylight saving time follows the zone.

  2. Under Paths, give each path a Path name, tick its Days and set From and Until (24-hour clock; the path ends just before Until). Tick Until the end of the day (24:00) for a path that runs to midnight.

  3. Click Add a path for each extra window. The first path that matches wins; an event outside every path takes Otherwise.

  4. Check the canvas: each path gets its own column, headed by its name, days and hours, plus an Otherwise column. Add the blocks for each path under its header.

Split by time block with red boxes on the Time zone field (step 1), the Business hours path with Monday to Friday and 09:00 to 18:00 (step 2), the Add a path button (step 3) and the path headers A Business hours and B Otherwise on the canvas (step 4)

A path without a day, or that starts after it ends, is shown in red on the path itself. Run history and Explain say which path a run took.

Assign a task

Assign a task gives the tasks of one workflow step to a person as soon as the event happens, without a manual assignment:

  • Person: someone your account can assign.

  • Languages: all of the project's target languages, or the ones you choose. A language the project doesn't have is skipped.

  • Step: the workflow step whose tasks are assigned.

  • If the task already has someone: Leave it keeps that person; Replace swaps them, only while the task has not started.

The assignment follows the same rules as a manual one, and the task's history shows Pipeline as its origin. Each language is handled on its own: one that fails (for example, because the person has no price for that language pair) doesn't stop the others, and Run history lists who got each language and why any was not assigned. A pipeline whose person or step your account can't use can't be switched on, and the message says why.

Check your work before saving

  • Problems (right panel, with no block selected) lists errors and warnings. A block with a problem is flagged on its card.

  • Explain describes the pipeline in plain words: what starts it, which steps run, in which order and on which path.

  • YAML shows the YAML built from the canvas; Edit as YAML lets you change it directly and Apply it back to the canvas.

  • Replay a run shows on the canvas what a recorded run did, block by block. Nothing runs again.

Example: Add 25% to French Translation Costs

French translations typically run longer than their English source, and some teams charge for that text expansion. Add project cost adds that charge to the budget automatically, so no PM has to remember it on every French project.

Why it works this way: the block runs only on the Project costs calculated event, which wxrks sends every time a project's cost total is ready. The line it adds is a separate cost line, so the original language lines stay untouched and the extra charge is visible on its own in the budget, with the description you gave it and Added by pipeline followed by the pipeline's name.

Create a pipeline, name it, and choose Project costs calculated as the trigger. Then:

  1. Click Add project cost in the left panel and open its Configure tab.

  2. Fill in Description (for example, Text expansion (French)), then set Mode to Add % to language costs.

  3. Set Languages to Listed languages and type fr-FR in Language list.

  4. Set Percent of words to 25 and, optionally, Cost type to Translation so only translation lines count.

Add project cost block settings with red boxes on Add project cost in the block list (step 1), Mode set to Add % to language costs (step 2), Languages set to Listed languages (step 3) and Percent of words set to 25 (step 4)

Worked example: a project translates 100 words from English into French, and its French translation lines average 0.1012 per word. With Percent of words at 25, the block adds 25 words at that average rate: 25 × 0.1012 = $2.53, on its own line for fr-FR. A test run shows exactly this calculation before anything is saved (see the next section).

The two modes:

Mode

What it adds

Main settings

Add % to language costs

A line charging a percentage more of the selected language lines, at their average rate. Lines without words use their own unit.

Percent of words or Units, and optional filters: Cost type (Translation, File engineering, QA), Match from / Match to (match range), Description contains.

New line

A line with the unit, quantity and rate you set, such as a rush fee.

Unit (Word, Page, Minute, Hour, Day, Fee), Units or Percent of words (Word unit only), and Rate: Fixed rate (with Rate per unit and Currency) or Price list rate (Word unit only).

Languages decides how many lines are added: Each target language (one line per target language), Listed languages (only the ones you list), or Whole project (one line for the project).

Rules to keep in mind:

  • Draft or Pending only. A project that is already approved can't change its costs: the step fails with the project is already approved, so its costs can't change.

  • Manual costs are left alone. If the project's costs are set manually, nothing is added and the run says so.

  • Once per analysis. The pipeline adds its cost once. A line the PM edits or removes stays that way until the project is analyzed again. Pipelines don't start on the cost change a pipeline makes, so the cost can't add itself again.

  • Same currency. A Fixed rate must be in the project's currency; otherwise the step fails and says which currencies differ.

  • Limit. A cost line above 1,000,000,000 is not added.

  • Permission. Saving, publishing or switching on a pipeline with this block needs the Project Cost Calculate permission. Without it you can still switch the pipeline off.

⚠️ Warning: Common misconfigurations: * Using a trigger other than Project costs calculated. The block only works on that event, and the pipeline is refused with any other. * Writing the language as a name (French) instead of its code (fr-FR). Languages not in the list are ignored, so nothing is added. * Choosing Fixed rate with a currency different from the project's. The step fails on every project in another currency.

Testing a Pipeline Without Changing Anything

A test run executes the pipeline on a real sample event from your account. Blocks that only read data run for real; blocks that would change something (assign, add a cost, post to Slack, call a URL) only say what they would do. Secrets are masked.

  1. In the editor, click Test run.

  2. Choose a Sample event: a recent event of your account, or one built from your latest matching record. Then click Run test.

  3. Read the result on each block card and in the Test log at the bottom, for example Would add Text expansion (French) for fr-FR: 25 words × 0.1012 = $2.53.

  4. Check the summary: the number of blocks that succeeded, were skipped, failed or did not run, followed by Nothing was changed.

Test run panel with red boxes on the Test run button (step 1), the Sample event selector (step 2), the Would add result in the Test log (step 3) and the Nothing was changed summary (step 4)

  • Click Run again after a change to test the new configuration. You don't need to save first.

  • The test also runs on a pipeline that is switched off, and while all pipelines are paused.

  • A test stops after 20 seconds; the steps after that point don't run.

  • The Test tab of a block runs the pipeline up to that block.

  • Preview, in a pipeline's More actions menu, runs the live version on the latest event, also without changing anything.

If no sample is offered, make the event happen once in wxrks (for example, create a project), then test again.

Saving, Publishing and Restoring Versions

Once a pipeline exists, changes don't go live when you save them:

  1. Click Save. Your changes become a draft and the header shows Unpublished draft. Events keep running the live version.

  2. Click Publish. In What changed, describe the change (up to 200 characters); wxrks suggests a summary. Click Publish to make the draft the new live version.

In the Publish the draft dialog: (1) What changed, (2) Publish.

Publish the draft dialog with red boxes on the What changed field (step 1) and the Publish button (step 2)

To undo a published change:

  1. Open the pipeline and click Versions. Each version lists its state (Live or Previous), what changed, who published it and when.

  2. Click Restore on an earlier version. It goes live again as a new version; your unpublished draft, if any, stays as it is.

Versions tab with red boxes on the Versions button (step 1) and the Restore button of version v1, below the live version v2 (step 2)

ℹ️ Note: Runs already in progress finish on the version they started with; a restored version applies to new runs right away. Discard draft throws your draft away and returns the canvas to the live version.

Switching Pipelines On and Off

  • One pipeline: use the Active switch in the list, or Switch on in the editor. Publish your changes first: switching on checks the live version. A pipeline with errors stays off until you fix them in Problems.

  • All pipelines: click Pause all pipelines and confirm. No pipeline runs while they are paused, and events that happen during the pause are not run later. Each pipeline keeps its own switch, and Resume all brings them back as they were.

wxrks switches a pipeline off by itself in two cases, and the list shows why:

  • Stopped: loop: its runs kept causing the event that starts it, on the same record. Add a condition to the trigger or to the step that causes the event, publish, then switch it on.

  • Off: YAML error: its YAML can't be read. Fix the YAML, publish, then switch it on.

Monitoring Runs and Retrying Failures

The Run history tab lists the runs of the last 7 days across all pipelines; the Runs tab of the editor shows one pipeline's runs. Each run shows:

  • Status: Succeeded, Running, Skipped (no step's condition was met), Failed or Needs attention (a step failed and the run was not retried successfully), or Stopped.

  • Event: what the run was about, such as the project's title and language pair, or the task's file and language.

  • Version: the pipeline version that ran.

  • What happened: each step's outcome in words, such as Posted to #channel, Got HTTP 200, Moved the project to Approved or Took the Business hours path. A failed step names itself and the reason, such as the URL answered HTTP 404.

Click Log to see the step-by-step log of a run.

In the image: (1) a run's Needs attention status, (2) its What happened reason, (3) Retry.

Run history with red boxes on the Needs attention status of a failed run (step 1), its What happened reason naming the step that failed (step 2) and its Retry button (step 3)

Retry a failed run

Click Retry on a run with Needs attention and confirm. The step that failed runs again, and so do the steps after it that did not succeed. Steps that already worked keep their result and don't run again, unless they use the result of a step that runs again. The retry runs the live version and shows in Run history as a new run.

A retry is refused when:

  • The run is older than 7 days, or was already retried.

  • The pipeline is switched off, has problems, was deleted, or has an unpublished draft (publish your changes first).

  • Pipelines are paused for the whole account.

  • The step that failed is no longer in the pipeline.

ℹ️ Note: An HTTP request that gets a 4xx or 5xx answer, a redirect or no connection counts as a failed step: the run needs attention and can be retried. The following steps still run and can read the status code.

Example in YAML: Skip a Review Step When There Are No Manual Edits

If a work unit was never manually edited in your Review step, there is nothing new for a second reviewer to check, so the pipeline skips Review 2. You can paste this in Add pipeline > Write YAML:

name: skip-review-2-if-no-edits
on: [WORK_UNIT_STATUS_CHANGE]
if: event.details.new_status == 'DELIVERED'
run:
  - name: check-manual-edits
    action: bw_check_manual_edits
    id: job1
    with:
      workflows:
        - reviewWorkflowUUID # Review
  - name: skip-review-2
    action: bw_update_workflow
    id: job2
    condition: '!job1.has_manual_edits'
    with:
      workflows: []
      update_workflows:
        - review2WorkflowUUID # Review 2
      update_task_status: SKIPPED
      update_work_unit_status: SKIPPED
      update_tasks: true
      same_language_workflows: true
      same_file_workflows: true

  • on is the trigger's event and if its condition: only work units that move to Delivered start a run.

  • Each item under run is a block. condition limits one block; here, Review 2 is skipped only when the first block found no manual edits.

  • Replace reviewWorkflowUUID and review2WorkflowUUID with the IDs of your workflow steps from Managing Your Custom Workflows. On the canvas you can pick the steps by name instead.

💡 Tip: Add a Debug message block while you build, then use Test run to confirm the values you expect are there before you publish.

Connections and Secrets

Secrets keep sensitive values, such as API keys and tokens, out of the pipeline itself. Blocks pick a secret by name (for example, the Bot token of Slack message), or reference it in a field that accepts secrets as ${{ secrets.NAME }}, where NAME is the secret's name. Secrets are encrypted, belong to your account only, and their values are never shown again after saving.

Connections

The Connections tab lists the app accounts your pipelines use (Slack, QuickBooks or HTTP), each with its secret and the pipelines that use it (Used by). Click Test to check that a connection works (Connected, Token expired, Failed or Not tested) and Reconnect to fix one. Add connection creates the secret for a new app account: choose the App, a Label, a Secret name and the Token.

Secrets

The Secrets tab lists every secret with its Key and Type:

Type

How it works

Static

A fixed value you paste once and update yourself when it changes or expires.

Refreshable

A value backed by an OAuth (Open Authorization) token endpoint. Before each run that uses it, wxrks checks whether the token is expired or about to expire and, if so, fetches a new one.

⚠️ Warning: Deleting a secret stops every pipeline that uses it.

Set up an auto-refreshing secret

Use this when a pipeline calls a service with a short-lived token, so it never fails because the stored token went stale.

In Tools > Pipelines, open the Secrets tab and click Add secret (or click an existing secret's key to edit it). Then:

  1. Enter the Name: capital letters, digits and underscores. It can't be changed later.

  2. Enter the Value. For a refreshable secret, it can be an initial token or a placeholder: the first refresh replaces it.

  3. Turn on Refresh the value with OAuth.

  4. Enter the Token URL that wxrks calls for a new token, and choose the Method (POST, GET or PUT). Add the Client ID if the provider needs one.

  5. Enter the Client secret used to request the token. Optionally add a Request body template; it can use ${{ refresh.clientId }} and ${{ refresh.clientSecret }}, for example:

{"client_id": "${{ refresh.clientId }}", "client_secret": "${{ refresh.clientSecret }}"}

  1. Under Token location, choose Response body or Response header, and enter the Token path: the JSON path to the token (such as access_token or data.token) or the header name (such as X-Auth-Token).

  2. Optionally set Expiry location and Expiry path so wxrks knows when the token expires, in seconds. Leave the path empty if the provider doesn't return an expiry.

  3. Set Refresh this many seconds early (60 by default), then click Save.

Add secret dialog with red boxes on Name (step 1), Value (step 2), the Refresh the value with OAuth switch (step 3), Token URL (step 4), Client secret (step 5) and Token path (step 6)

ℹ️ Note: Values and client secrets are write-only. When you edit a secret, the Value and Client secret fields are empty: leave them empty to keep what is stored, or type a new one to replace it.

Reopen a refreshable secret to see its refresh status and when it was last refreshed. If a refresh fails, the secret shows the error, and Account Admins are notified by email the first time it happens. Later failures on a secret that is already failing don't send another email, so reopen the secret to check its status.

💡 Tip: If the provider's token lifetime is short or unpredictable, raise Refresh this many seconds early so a pipeline never uses a token that expires seconds after it was fetched.

Troubleshooting

Issue

Cause

Solution

A pipeline never runs

It is switched off, all pipelines are paused, or the trigger's Only when condition excludes the event.

Check the Active switch and the pause banner, then run a Test run on a sample event: it says when the trigger's condition doesn't hold.

A pipeline stays off when you switch it on

It has errors, has unpublished changes, or adds costs and you lack Project Cost Calculate.

Fix the errors in Problems, publish, or ask a user with the permission.

Stopped: loop in the list

The pipeline's own steps kept causing the event that starts it.

Add a condition to the trigger or to that step, publish, then switch it on.

Add project cost adds nothing

The project is approved, its costs are manual, the pipeline already added its cost, or no line matches the languages and filters.

Read the run's What happened, or run a test: it gives the exact reason.

Retry is refused

The run is older than 7 days, the pipeline is off or has a draft, or the failed step was removed.

Switch it on or publish, then retry, or trigger the event again.

No sample event in Test run

Your account has no recent event of that type and no record to build one from.

Make the event happen once in wxrks, then test again.

A refreshable secret is failing

Unreachable Token URL, wrong Client secret, or a Token path that doesn't match the provider's response.

Open the secret, read the error, correct the field and save. The next run that uses it tries again.

Quick Reference

Item

Value

Where

Tools > Pipelines (Account Admins)

New pipeline

Starts switched off; the first save creates version 1

Run history

Last 7 days

Retry window

Runs from the last 7 days

Test run time limit

20 seconds

What changed on publish

Up to 200 characters

Add project cost trigger

Project costs calculated only

Cost line limit

1,000,000,000

Secret name format

Capital letters, digits and underscores; can't be changed later

Secret reference

${{ secrets.NAME }}

Token refresh methods

POST, GET, PUT

Default early refresh

60 seconds

Related Articles

Did this answer your question?