import_cloudflow_flow
Import a CloudFlow bundle to create draft flows in the target tenant, bind required resources, and optionally create missing Datastore tables. Use dry-run to preview the import plan and validation issues.
Instructions
Manage CloudFlow. Creates every flow of a previously exported bundle in the authenticated tenant. Imports are create-only: each call creates new draft flows with new IDs — nothing is published and no schedule is activated until the target tenant publishes.
Requirements declared by the bundle are resolved through bindings (requirement key →
target-tenant resource ID). Unbound connections and Datastore tables leave the
referencing nodes flagged incomplete; unbound global variables are auto-created. Pass
options.createMissingTables: true to create missing Datastore tables from the schemas
embedded in the bundle (structure only, never row data).
Dry-run: pass ?dryRun=true to validate without writing. The response is an import
plan: per-requirement resolutions with candidate bindings in the target tenant, the
flows that would be created, and every validation issue at once.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bundle | Yes | Portable, tenant-neutral export of one or more flows. Contains no credentials, tenant identifiers, schedules, or execution state; tenant-scoped references are declared under `requirements` and appear inside node parameters as `$req:<section>/<key>` tokens (subflow references as `$bundle:flows/<flowKey>`). | |
| dryRun | No | ||
| options | No | ||
| bindings | No | Requirement key → target-tenant resource ID. Keys must be declared in the bundle's requirements. Run with `?dryRun=true` first to list required keys and candidate IDs. | |
| Idempotency-Key | Yes | ||
| customerContext | No | Scope the request to a specific customer by ID. Required for DoiT employees (whose token isn't tied to a single customer); omit for direct customer users. |