Skip to content
Docs
Download Markdown
In this article

Configure a workflow

Connect entry, human work, checks, acceptance, and delivery.

Download Markdown

Open an existing CampaignA developer's data-production project and its settings and choose Open builder. Select a node on the canvas to open its configuration panel, then set its inputs and outgoing path. Select Save in the panel to save the workflow, including pending canvas changes. If you then change nodes or connections on the canvas, use its toolbar Save for those later changes. Reopen the node to confirm its values and connections.

In a live or paused Campaign, saving changed workflow steps from either control asks you to confirm before publishing. Read what the confirmation changes before saving.

For a small illustrative labeling taskA specific item a contributor claims or enters, trace one record through Entry Gate → Supply (label) → Accept → Sink. The Gate checks who may join; Supply shows the record and collects a label; Accept decides whether the result is accepted; Sink ends the accepted path. Add validate, Consensus, Dedup, ETL, or an Agent Task only when the work needs that check or transformation. A connected path still needs a form, acceptance rule, and launch checks before it can run.

Entry Gate

In the grouped Builder, open Entry Gate and choose Agreements, Qualification, Training & assessment, Invitation code, or Team access. You can switch groups before selecting Save requirements. Advanced parameters shows the saved entry rules.

Set any applicable agreement, required course, profile condition, and Campaign invitation code. Platform System required agreements follow the Contributor's applicable subject and are not author-removable; optional agreements must have a published version in the directory. If a selected agreement cannot be resolved, correct its directory binding instead of clearing a necessary term.

A required course points to a published organizationThe Developer-side unit that holds Campaigns, data access, and funds course and version. Has finished the course accepts a passed or mastered result; Has mastered the course requires mastered. Completing a course records a passed result and nothing in the course editor produces a mastered one, so a Gate set to Has mastered the course currently admits no one; select Has finished the course. Bind the course to a Campaign covers the three course fields. No courses published yet, a missing version, or a failed course load calls for publishing or restoring the right course/version first. The course guide explains historical results.

A Campaign code is distinct from a registration referral code or organization invitation. Generate, Copy, Regenerate, and Revoke take effect immediately without waiting for a workflow save. Changing the code does not independently remove access already redeemed; someone who leaves and rejoins must meet the entry conditions again.

Supply: human work and capacity

Choose a Task type, configure the work interface, pay, and quotas. A normal human step can pay a base amount per accepted submissionThe record created when work is submitted. A person's quota can be No limit, Per day, or In total; the daily limit resets at 00:00 UTC. Items to collect caps the total supply: in-progress and under-review work occupies capacity, while rejected or duplicate outcomes release their places.

Do not rely on Concurrent tasks per user as an enforced limit; the platform does not enforce it yet.

Validate, Consensus, and Dedup

Ordinary validate reviews a selected earlier human step. Set one to five reviewers, with an agreement threshold no greater than the maximum. Reaching agreement can resolve the review, including agreement to reject. It does not require a second Consensus node. For ordinary validate, use Auto in Accept. A reward labeled per item, shared by whoever agreed is one pool distributed among eligible agreeing reviewers, not the full amount for each person.

Consensus compares multiple answers to the same object. Select the earlier step, maximum answers, agreement threshold, and fields that must match. With no fields selected, it compares the entire answer, including free text; choose fields deliberately when only a category must agree. It is different from checking one preceding submission.

A saved Consensus step using majority applies a threshold based on how many contributors actually submitted an answer. To stop offering the item once a specific number of contributors agree, choose Set a fixed threshold. If the earlier step already sets a threshold, you can see and edit it in Consensus.

If the node menu offers Match, open its Uniqueness settings. Select the fields and comparison scope, then use Routes to choose where kept records and duplicates go. You can still edit saved Dedup steps using their existing rules.

For Dedup, select Key fields and comparison scope for each rule. All fields in one rule must match; a match on any configured rule can mark a duplicate. Organization-wide comparison across Campaigns needs a consistent Canonical key. Where the deployed rule offers Send the duplicate to publisher review, enabling it keeps a match pending until a publisher decides. With the option off, a match can be marked Duplicate automatically. An automatic matching rule takes precedence if both apply.

An Agent Task requires an Agent already wired into the organization, Campaign-specific instructions, and the checks or score threshold you intend to use. A node name alone does not invoke an Agent. Agent access describes the separate data-access boundary; it is not a substitute for wiring a workflow Agent.

Accept and deliver

If the Accept panel shows Scoring mode and Acceptance and reward, choose how to score the work first, then set how the score affects acceptance and rewards.

Scoring modeWhat to configureScore
AutoPut any required review or consensus on the preceding pathEligible submissions receive 5 when they reach Accept
ManualArrange an authorized reviewerThe submission waits for a score from 1 to 5 in Reviews
Agent reviewSelect an Agent connected to the organization and enter review instructionsThe Agent scores from 1 to 5
ScriptedSelect an Acceptance check or use Write a checkThe script returns a whole-number rating from 1 through 5

Choose an Acceptance and reward rule:

  • Passing score. Set a whole-number threshold from 1 to 5. Submissions at or above it pass and earn the Supply reward. Scores below it are rejected.
  • Percentage by score. Enter a whole percentage from 0 to 100 for each score from 1 to 5. All five scores pass. A 0% score produces no reward. The percentage applies to the corresponding Supply reward with any applicable ReputationA 0–100 score built from a Contributor's recorded work; it sets their tier and pay factor boost. A 10 USDC Supply reward at 40% with a 1.4× Reputation boost yields 5.6 USDC.

In a Campaign File, set the scoring mode in params.acceptance. For a passing score of 4, set params.acceptanceReward to {"mode":"threshold","minRatingToAccept":4}. For a percentage schedule, use {"mode":"score_percentages","percentages":[0,25,50,75,100]}. The array is ordered by score from 1 to 5.

If the panel still shows Audit mode, use the existing mode and pass mark. Saved Automated checks can continue to run. After you publish a new workflow version, new work uses the new settings and existing submissions keep their original version.

Connect the accepted branch to Sink, optionally through ETL to map fields. Sink ends the workflow path. To set the default file format, open Output format in Sink, choose an Export format, and publish the workflow. Your subscription determines which records you can download.

If your node menu offers the new Transform, choose Map. Before Accept, Map can turn a form field such as answer into a category field that later steps can read. To map delivered fields, connect Map directly between Accept’s accepted branch and Sink. API delivery uses that mapping and the Review retains the original Submission. Saved workflows can continue to use ETL.

Deliver fields calculated by a review script

When Map offers Review output mapping, the Accept script can return calculated fields in outputs alongside its rating:

revenue = inputs["revenue"]
cost = 8
return {"rating": 5, "outputs": {"cost": cost, "profit": revenue - cost}}

Try the script in Accept with revenue set to 12. Then connect Map directly between that Accept’s accepted branch and Sink. In Review output mapping, add the script fields you want to deliver and give each a delivery name. With revenue kept by the regular mapping, selecting cost and profit delivers {"revenue":12,"cost":8,"profit":4} in the API’s data. Add only cost to leave profit out. The original submission still contains revenue alone.

If the script omits a mapped field, that record is delivered without it. Give review fields distinct delivery names.

To reshape a CSV row, connect Data Source directly to a Transform before Accept. In Map, enter the CSV header as the source field. For example, map qa_id to case_id. If the step has several upstream sources, set the input bindings explicitly in the Campaign File.

Save the workflow, then open 2 Test & Launch for the release checks.

Other nodes, and why some are greyed

NodeUse it to
Data SourceBring existing records into the workflow
CodeRun a custom Python transform on each item. Code is no longer in the palette; you see it only on a saved flow that already has a Code step
RoutesBranch, loop, or sample items
Agent TaskRun a platform agent check whose verdict routes downstream

Some palette entries are greyed with a lock, and each one states why and what unlocks it. Labeling and Validate have no runner of their own: use a Supply node and choose the label or validate task type instead. Evaluate has no runner yet and stays locked until one ships. De-identify and Policy Gate can run and stay locked pending internal acceptance. Check the node menu for access to the new Transform.

Import records into a Data Source

Save the Data Source step and open Data input. In the original panel, use Inputs. Choose CSV, select a UTF-8 file with column headers, and click Import. The private upload accepts up to 8 MiB and 1,000 data rows. Headers become field names, and each row starts at this Source step. The panel reports how many items it created.

Choose Marketplace to bring in a dataset managed by your organization. Builder imports up to 200 populated records at a time, oldest first, and skips empty records. File batch and Webhook display retained settings.

If the workflow changes during import, the panel reports how many rows were already imported. Check which rows remain before importing again to avoid duplicates.

If a check fails

SymptomReturn to
Contributor cannot joinEntry Gate: agreement, course/version and achievable result, profile rule, or Campaign code
Human step has no formSupply: Task type, template binding, and Preview; for ordinary validate, its earlier source step
Review cannot reach a decisionvalidate or Consensus: source, maximum reviewers, threshold, and comparison fields
Work stays in reviewAccept: mode, waiting reviewer, selected check, and failure result
Accepted work has no expected deliveryCheck the accepted branch, field mapping, and Sink, followed by delivery and access

For a draft, save the corrected node from its panel, reopen it to check the saved values, then repeat Dry-run. Save any later canvas changes with the toolbar Save. Saving a draft does not pass its tests or launch it.