Pull

pubsub.pull
ActionGoogle Cloudconnection required

Calls the Pub/Sub API POST subscriptions/{sub}:pull, then :acknowledge.

Pull messages from a Pub/Sub subscription and optionally acknowledge them.

Connection

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

Configuration

4 fields, 1 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———
subscription
Subscription id (short name).
stringYes———
max_messages
Max messages (1-1000).
numberNo10≥ 1—
ack
Acknowledge pulled messages immediately.
booleanNotrue——

Example configuration

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

{
  "ack": true,
  "max_messages": 10
}

Output

One shape.

result

FieldTypeExample
messages
array—
count
number—
acknowledged
boolean—
{
  "acknowledged": false,
  "count": 0,
  "messages": []
}

See Pull run in a workflow.

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