Launch Flex Template

dataflow.launch_flex_template
ActionGoogle Cloudconnection required

Calls Dataflow POST /locations/{l}/flexTemplates:launch.

Launch a Dataflow Flex template from a container spec.

Connection

Required
Yes — the node will not save without one
Auth type
OAuth 2.0
Providers
Google Cloud Dataflow
Secret shape
{"client_id", "client_secret", "refresh_token"}
Config it needs
project_id, location
Resolved by
config.connection_id, else node.connection_id

Configuration

6 fields, 2 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
project_id
GCP project id (overrides connection).
stringNo———
location
GCP location (overrides connection).
stringNo———
container_spec_gcs_path
gs:// path of the Flex template spec JSON.
stringYes———
job_name
Name for the new job.
stringYes———
parameters
Template parameters as JSON object.
objectNo———
environment
FlexTemplateRuntimeEnvironment JSON.
objectNo———

Output

One shape.

result

FieldTypeExample
job_id
string—
job_name
string—
state
string—
{
  "job_id": "",
  "job_name": "",
  "state": ""
}

See Launch Flex Template run in a workflow.

In a technical demo we add the Google Cloud Dataflow connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.