Create Location

google_business_profile.create_location
ActionBusiness appsconnection required

Calls the Google Business Profile API with the connection's credentials.

Create a new location under a Business Profile account.

Connection

Required
Yes — the node will not save without one
Auth type
OAuth 2.0
Providers
Google Business Profile
Secret shape
{"client_id", "client_secret", "refresh_token"}
Config it needs
account_id, token_uri
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
location
The Location object to create, e.g. title, storefrontAddress and categories.
objectYes—≥ 1 characters{"categories":{"primaryCategory":{"name":"categories/gcid:cafe"}},"languageCode":"en","title":"Acme Cafe"}
account_id
Business Profile account, as accounts/12345 or just 12345. Overrides the account id stored on the connection.
stringNo———
validate_only
Ask Google to validate the location without creating it.
booleanNofalse——
request_id
Idempotency id, at most 50 characters, so a retry cannot create a duplicate.
stringNo—≤ 50 characters—

Example configuration

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

{
  "location": {
    "categories": {
      "primaryCategory": {
        "name": "categories/gcid:cafe"
      }
    },
    "languageCode": "en",
    "title": "Acme Cafe"
  },
  "validate_only": false
}

Output

One shape.

result

FieldTypeExample
location
The Location object Google returned; empty for a validation.
object—
name
Resource name of the location.
string—
validate_only
True when Google only validated and wrote nothing.
boolean—
created
True only when Google actually wrote the location.
boolean—
{
  "created": false,
  "location": {},
  "name": "",
  "validate_only": false
}

See Create Location run in a workflow.

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