Create HTTP Task

cloud_tasks.create_http_task
ActionGoogle Cloudconnection required

Calls POST /projects/{project}/locations/{location}/queues/{queue}/tasks.

Enqueue an HTTP task on a Cloud Tasks queue, optionally scheduled.

Connection

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

Configuration

10 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/region (overrides connection).
stringNo———
queue
Queue id (short name).
stringYes———
url
Target URL the task will call.
stringYes———
http_method
HTTP method — Cloud Tasks accepts only the listed values.
stringNoPOSTone of "POST", "GET", "PUT", "PATCH", "DELETE"—
headers
Request headers (JSON object).
objectNo———
body
Request body (sent base64-encoded).
stringNo———
service_account_email
Service account for an OIDC token (optional).
stringNo—email format—
schedule_time
RFC3339 time to run the task (optional).
stringNo———
task_id
Explicit task id (optional; must be unique).
stringNo———

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "http_method": "POST"
}

Output

One shape.

result

FieldTypeExample
ok
boolean—
name
string—
schedule_time
string—
create_time
string—
{
  "create_time": "",
  "name": "",
  "ok": false,
  "schedule_time": ""
}

See Create HTTP Task run in a workflow.

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