Check setup
check_setupChecks whether Cloudflare is connected and reports which services a workflow's nodes still need, so users can fix setup early or poll connection request progress.
Instructions
Check whether the user can deploy right now and what is missing: whether Cloudflare is connected (including the one-time workers.dev subdomain step, which otherwise only fails after a deploy) and, given a workflowId, which services its nodes need that are not connected yet (missingProviders). Call it early, while building, so the user can fix setup in parallel. After request_connections, call it again with that sessionId to poll the user's progress: connectionRequest.complete turns true once they are done. Never returns a secret.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | No | A sessionId from request_connections, to poll that request's progress. | |
| workflowId | No | Also report which services this workflow still needs connected. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ready | Yes | ||
| providers | Yes | ||
| cloudflare | Yes | ||
| missingProviders | Yes | ||
| connectionRequest | No |