Create Processor

document_ai.create_processor
ActionGoogle Cloudconnection required

Calls documentai v1 POST /v1/projects/{projectsId}/locations/{locationsId}/processors.

Creates a processor from the ProcessorType provided.

Connection

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

Configuration

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

FieldTypeRequiredDefaultConstraintsExample
location
Location or region; taken from the connection when unset.
stringNo———
body
The GoogleCloudDocumentaiV1Processor resource, as the API defines it.
objectYes———

Output

One shape.

result

Extra keys beyond the ones listed can appear.

FieldTypeExample
activeSchemaVersion
string—
createTime
string—
defaultProcessorVersion
string—
displayName
string—
kmsKeyName
string—
name
string—
processEndpoint
string—
processorVersionAliases
array—
satisfiesPzi
boolean—
satisfiesPzs
boolean—
state
string—
type
string—
{
  "activeSchemaVersion": "",
  "createTime": "",
  "defaultProcessorVersion": "",
  "displayName": "",
  "kmsKeyName": "",
  "name": "",
  "processEndpoint": "",
  "processorVersionAliases": [],
  "satisfiesPzi": false,
  "satisfiesPzs": false,
  "state": "",
  "type": ""
}

Solutions with Google Document AI

See Create Processor run in a workflow.

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