The tabs
Every tool tab in the editor: Test, Connectors, Contract, Diagram, Test cases, Executions, Sync reports, API and Docs.
Test

Two JSON editors, ctx.input and ctx.headers. Use contract fills the input from the declared contract. The mode select beside the run button chooses what the run actually calls:
Live
Real calls to the connected systems.
Partial Mock
A mix of real calls and stubs.
Fully Mock
Stubs only.
Then Run Live (or Run).
Connectors

This list is auto-extracted from the fastn.connectors.X.Y(…) calls in your code every time you save. It is a readout of the code, not a separate configuration. Add exists for anything you need to wire manually. Each row shows a Per customer badge where it applies, plus the connector slug, the owning org, the action and its version.
Pinned action versions are what stop an upstream change breaking you silently. When fastn proposes a newer action, it arrives through Pending updates for you to accept.
Contract

Input contract and Output contract, each viewable as JSON or Schema. Write an example payload in the JSON view and the schema is generated live. The schema is the contract, and is also hand-editable.
Diagram
Three sub-tabs.
Flow: a read-only React Flow rendering, generated from your code. Node kinds are TRIGGER, DECISION, READ and DONE; the controls are Zoom In, Zoom Out and Fit View. You cannot edit the graph. Edit the code and the graph follows.
Sequence: the same logic as an ordered list of phases.
Docs: generated documentation, with an End user / Technical toggle, an Out of date badge when the code has moved on, and Regenerate / Generate.
The end-user document has eight sections: What this integration does, Before you start, Connected apps, How it works, Field mapping, Smart features, When it runs, Troubleshooting.
Test cases
Scenarios generated during the build, organised into groups: happy-path, pagination, fields, edge-cases, error-handling. The header carries pass, fail and untested counters. Each row is an id such as TC-01, a LIVE or MOCK badge, and the expectation.
Executions
This workflow's run history, filtered by status pills: All, 200, 201, 400, 404, 422, 500. The workspace-wide view is Activity → Executions.
Sync reports
A report appears the first time a workflow runs fastn.diff.compare.
See Sync reports.
API

How to call this workflow over HTTP, with a copyable curl:
Two headers steer it (X-fastn-Test-Mode and x-fastn-env) and you authenticate with an API key in the fsk_live_… format. Covered in full in the HTTP API reference.
Docs
The runtime reference for the code you are writing:
ctx.input
The request body, shaped by the input contract.
ctx.headers
The request headers.
ctx.connectors
The connectors wired to this workflow.
fastn.envConfig
Per-environment values. See Configs.
fastn.unified
The unified API surface.
fastn.connector
A connector call.
fastn.db
The workspace Postgres schema. See Database.
fastn.state
Key/value state, with scopes ORG and INVOCATION.
fastn.secrets
Encrypted values. See Secrets.
Multi-tenant calls are addressed with headers: x-end-org-id, x-end-org-ref, x-installation-id, x-fastn-connections, x-fastn-installation-config.
Fuller treatment in Workflow runtime API.
Last updated
Was this helpful?

