Choose a workspace and discover actions#
Flow stores automation graphs and execution history in a granted canonical Auth workspace. Session reads need read access, graph/run/approval mutations need read_write or admin, and workspace archival plus connection creation, disconnect and OAuth initiation need admin. API keys use Auth-introspected workspace bindings and workspace:read or workspace:write scopes; archival additionally requires workspace:delete. Published application permissions remain required. Bootstrap reads identity and workspace context without creating the local mirror. Discover exact callable cross-application actions and their schemas before adding an app-action node. Discovery follows service and action cursors; unavailable dependencies refuse the request rather than yielding a successful empty catalog.
Build and activate a graph#
Create a draft and retain flow.id. The schema declares fourteen node kinds, including manual, webhook, schedule and event triggers, app actions, Nexus actions and core HTTP/logic operations. The current shape validator refuses trigger.event with event_triggers_not_available; platform event triggers are unavailable. Shape validation checks ids, edges and cycles; activation additionally requires a runnable trigger and step. Creation initially stores manual trigger metadata; updating a supported graph derives webhook or interval-schedule metadata. Webhook URLs are bearer secrets and require careful handling. A draft or paused flow can still be run manually by a caller authorized for its effects.
Run and inspect the actual result#
A configured durable Workflow returns HTTP 202 with status running before its retained run record necessarily exists. Poll runs.get using the accepted runId and inspect retained steps. An inline local execution can return a terminal result immediately. Acceptance, stored step results, provider invocation and actual downstream delivery are separate states. The local examples prove a manual trigger and transform against real databases, not live app-action execution or durable Workflow completion.
Handle approvals as recorded decisions#
Request an approval for an existing workspace flow and the actual named user. Creation stores a pending approval and notification outbox entry; only that approver can decide it once. This source does not publish an approval node or automatically resume, activate or run a flow when approval is recorded. There is no approval cancellation action. Approval records, notification acceptance and recipient delivery are distinct outcomes.
Connect providers with the correct scope#
API-token connections are stored and governed by Nexus for the authenticated organization and Flow application, across Flow workspaces. Flow returns metadata rather than credentials; Nexus owns lifecycle status. Repeated connection creation generates another id. Disconnect removes Nexus connection metadata and does not establish provider-side token revocation. Use connections.oauth.start to obtain a provider consent URL for the configured environment. This GET creates no connection, but requires workspace:write and a session admin workspace grant; API keys instead need an authorized workspace binding and workspace:write scope. The same admin grant boundary applies to connection creation and disconnect. Browser consent and a successful signed callback are separate; inspect connections.list afterward. Missing configuration or credential resolution is refused.
Interpret bounded history and counts#
Run collections return the latest fifty records and approval discovery the latest two hundred; no cursor input is published. Statistics named runsToday and failedToday cover the preceding twenty-four hours, with error and partial counted as failures, and return eight recent runs. Unknown flow-run collections can be empty. Retain exact creation and run ids instead of guessing targets from bounded lists or counts.
Plan deletion, archival and privacy work#
Deleting a flow removes its run steps, runs and graph across separate stores; approval and notification rows remain and no Workflow cancellation is performed. Workspace archival requires workspace:delete, a session admin workspace grant or an Auth-introspected key with workspace:write and workspace:delete, its local mirror and no retained workspace flows, runs, approvals, outbox entries or connection alerts, then asks canonical Auth to archive before removing that mirror. Organization export includes redacted retained records and delegated metadata, not backups or credentials. Erasure requires literal ERASE, refuses active flows, running runs, pending approvals or retained Workflow instances, disconnects Nexus connections, then deletes and verifies local rows. This is not one cross-service transaction; identity, delivered notifications under Notify policy and retained encrypted backups remain.
Use the reviewed execution guides#
Each action guide provides prerequisites, exact request and schemas, granted identifier discovery, captured responses, CLI and MCP examples, effects, errors, verification and recovery. Fixture ids and credentials authorize no live operation. Human Markdown and typed agent guidance are stored separately in the same reviewed immutable Docs version and follow the same audience and access boundary.
Action reference#
Evidence#
Captured from the actual exported Flow Worker with both local SQLite D1 stores and all committed migrations, synthetic Auth identity/grants and simulated Nexus, archive and Workflow-acceptance transports. Fixture credentials and identifiers authorize no live operation. No live provider invocation, credential storage, notification delivery, metering acceptance, durable Workflow execution, deployment, backup erasure or production completion is established by these captures.