Automate types
Type definitions referenced by Automate queries and mutations.
Boolean
Section titled “Boolean”Scalar. The Boolean scalar type represents true or false.
Connection
Section titled “Connection”Object.
| Field | Type | Description |
|---|---|---|
id |
Int! |
— |
uuid |
String! |
— |
connector_key |
String! |
— |
name |
String! |
— |
status |
String! |
One of: active, invalid, disconnected. Never exposes the underlying credentials. |
created_by_user_id |
String |
— |
created_at |
String! |
— |
updated_at |
String! |
— |
Connector
Section titled “Connector”Object.
| Field | Type | Description |
|---|---|---|
key |
String! |
— |
name |
String! |
— |
icon_url |
String |
Icon of a third-party app connector (null for built-ins). |
app |
Boolean! |
True for third-party app connectors installed from the app store. |
triggers |
[ConnectorTrigger!]! |
— |
actions |
[ConnectorAction!]! |
— |
ConnectorAction
Section titled “ConnectorAction”Object.
| Field | Type | Description |
|---|---|---|
key |
String! |
— |
name |
String! |
— |
description |
String! |
— |
input_schema |
JSON! |
JSON Schema for this action’s input, used to render the step config form. |
output_schema |
JSON! |
JSON Schema describing this action’s output shape (drives later steps’ output-pill picker). |
ConnectorTrigger
Section titled “ConnectorTrigger”Object.
| Field | Type | Description |
|---|---|---|
key |
String! |
— |
name |
String! |
— |
description |
String! |
— |
mode |
String! |
One of: webhook, schedule, poll. |
config_schema |
JSON! |
JSON Schema for this trigger’s per-workflow config. |
output_schema |
JSON! |
JSON Schema describing the trigger payload shape (drives the frontend’s output-pill picker). |
CreateConnectionInput
Section titled “CreateConnectionInput”Input object.
| Field | Type | Description |
|---|---|---|
connectorKey |
String! |
— |
name |
String! |
— |
credentials |
JSON |
Connector-specific credential fields (API key, OAuth token, base url, …). Encrypted at rest; never echoed back. |
test |
Boolean |
When true, validates the credentials round-trip before saving (best-effort; connector-specific probing is a documented follow-up). |
CreateWorkflowInput
Section titled “CreateWorkflowInput”Input object.
| Field | Type | Description |
|---|---|---|
name |
String! |
— |
trigger |
WorkflowTriggerInput! |
— |
enabled |
Boolean |
— |
steps |
[WorkflowStepInput!] |
— |
EmitTriggerEventInput
Section titled “EmitTriggerEventInput”Input object.
| Field | Type | Description |
|---|---|---|
connector_key |
String! |
— |
trigger_key |
String! |
— |
payload |
JSON! |
— |
event_id |
String |
Stable event id used for idempotent run dedup (e.g. the email uuid). |
Scalar. The ID scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "4") or integer (such as 4) input value will be accepted as an ID.
Scalar. The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
Scalar. Arbitrary JSON value (objects, arrays, scalars). Serialized as-is.
PageInfo
Section titled “PageInfo”Object.
| Field | Type | Description |
|---|---|---|
hasNextPage |
Boolean! |
— |
hasPreviousPage |
Boolean! |
— |
startCursor |
String |
— |
endCursor |
String |
— |
Object.
| Field | Type | Description |
|---|---|---|
id |
Int! |
— |
uuid |
String! |
— |
workflow_id |
String! |
— |
status |
String! |
One of: pending, running, succeeded, failed, waiting. |
trigger_payload |
JSON! |
— |
replay_of_run_id |
String |
— |
error |
String |
— |
started_at |
String |
— |
finished_at |
String |
— |
created_at |
String! |
— |
step_executions |
[StepExecution!] |
Populated only by the run(id) single-item query, not by runs(...) list pages. |
RunConnection
Section titled “RunConnection”Object.
| Field | Type | Description |
|---|---|---|
edges |
[RunEdge!]! |
— |
pageInfo |
PageInfo! |
— |
totalCount |
Int! |
— |
RunEdge
Section titled “RunEdge”Object.
| Field | Type | Description |
|---|---|---|
node |
Run! |
— |
cursor |
String! |
— |
SortDirection
Section titled “SortDirection”Enum. Sort direction for list queries.
| Value | Description |
|---|---|
ASC |
— |
DESC |
— |
SortInput
Section titled “SortInput”Input object. Generic sort specifier (DataTable convention): a whitelisted field name plus a direction.
| Field | Type | Description |
|---|---|---|
field |
String! |
— |
direction |
SortDirection! |
— |
StepExecution
Section titled “StepExecution”Object.
| Field | Type | Description |
|---|---|---|
id |
Int! |
— |
uuid |
String! |
— |
step_id |
String! |
— |
status |
String! |
One of: pending, running, succeeded, failed, skipped. |
input |
JSON |
— |
output |
JSON |
— |
error |
String |
— |
attempts |
Int! |
— |
started_at |
String |
— |
finished_at |
String |
— |
created_at |
String! |
— |
String
Section titled “String”Scalar. The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
SyncAppConnectorInput
Section titled “SyncAppConnectorInput”Input object. Service-only: one org’s registration of a third-party app connector.
| Field | Type | Description |
|---|---|---|
organizationId |
ID! |
— |
appKey |
String! |
— |
appName |
String! |
— |
iconUrl |
String |
— |
automations |
[JSON!]! |
Normalized manifest automations: {key, kind, name, description, webhook_url, input_schema}. |
webhookSecret |
String |
Shared HMAC secret for signing action webhook calls (required on first sync). |
SyncExternalWorkflowInput
Section titled “SyncExternalWorkflowInput”Input object.
| Field | Type | Description |
|---|---|---|
source_app |
String! |
— |
source_ref |
String! |
— |
workflow_uuid |
String |
Existing mirrored workflow uuid, when the source app already holds the link. |
name |
String! |
— |
enabled |
Boolean |
— |
trigger |
WorkflowTriggerInput! |
— |
steps |
[WorkflowStepInput!]! |
— |
source_edit_url |
String |
— |
UpdateWorkflowInput
Section titled “UpdateWorkflowInput”Input object.
| Field | Type | Description |
|---|---|---|
name |
String |
— |
trigger |
WorkflowTriggerInput |
— |
enabled |
Boolean |
— |
steps |
[WorkflowStepInput!] |
When present (even []), REPLACES the entire step chain. |
Workflow
Section titled “Workflow”Object.
| Field | Type | Description |
|---|---|---|
id |
Int! |
— |
uuid |
String! |
— |
owner_user_id |
String! |
— |
name |
String! |
— |
enabled |
Boolean! |
— |
trigger |
JSON! |
— |
position |
Int! |
— |
source_app |
String |
Set when this workflow mirrors a rule owned by another GistLink service (e.g. ‘mail’); the source app executes the behaviour. |
source_ref |
String |
Opaque reference in the source app, e.g. ‘mail_filter:<uuid>’. |
source_edit_url |
String |
Deep link to the source app’s own edit surface for this rule. |
steps |
[WorkflowStep!]! |
— |
webhook_url |
String |
Present when the trigger is webhook-mode: the full inbound URL for third parties to POST to. |
can_edit |
Boolean! |
Whether the current caller may modify this workflow (owner or org admin). |
created_at |
String! |
— |
updated_at |
String! |
— |
WorkflowConnection
Section titled “WorkflowConnection”Object.
| Field | Type | Description |
|---|---|---|
edges |
[WorkflowEdge!]! |
— |
pageInfo |
PageInfo! |
— |
totalCount |
Int! |
— |
WorkflowEdge
Section titled “WorkflowEdge”Object.
| Field | Type | Description |
|---|---|---|
node |
Workflow! |
— |
cursor |
String! |
— |
WorkflowFilter
Section titled “WorkflowFilter”Input object.
| Field | Type | Description |
|---|---|---|
enabled |
Boolean |
— |
search |
String |
Substring match on workflow name. |
WorkflowStep
Section titled “WorkflowStep”Object.
| Field | Type | Description |
|---|---|---|
id |
Int! |
— |
uuid |
String! |
— |
position |
Int! |
— |
parent_position |
Int |
Position of the step this one branches from; null when it hangs directly off the trigger. Linear chains have parent = position - 1. |
type |
String! |
One of: action, filter, delay, formatter. |
connector_key |
String |
— |
action_key |
String |
— |
connection_id |
String |
— |
input_mapping |
JSON! |
Field => value map; string values may embed {{trigger.output.path}} / {{steps.N.output.path}} template refs. |
created_at |
String! |
— |
updated_at |
String! |
— |
WorkflowStepInput
Section titled “WorkflowStepInput”Input object.
| Field | Type | Description |
|---|---|---|
type |
String! |
— |
connectorKey |
String |
— |
actionKey |
String |
— |
connectionId |
String |
— |
inputMapping |
JSON |
— |
parentIndex |
Int |
Index (within this list) of the parent step this one branches from; null = off the trigger. Omit for linear chains (defaults to the previous step). Steps must be listed in depth-first order. |
WorkflowStepTestResult
Section titled “WorkflowStepTestResult”Object.
| Field | Type | Description |
|---|---|---|
step_id |
String! |
— |
input |
JSON! |
— |
output |
JSON |
— |
error |
String |
— |
status |
String! |
One of: succeeded, skipped, failed. |
WorkflowTestResult
Section titled “WorkflowTestResult”Object.
| Field | Type | Description |
|---|---|---|
workflow_id |
String! |
— |
trigger_payload |
JSON! |
— |
step_results |
[WorkflowStepTestResult!]! |
— |
WorkflowTrigger
Section titled “WorkflowTrigger”Object.
| Field | Type | Description |
|---|---|---|
connectorKey |
String! |
— |
triggerKey |
String! |
— |
config |
JSON! |
— |
WorkflowTriggerInput
Section titled “WorkflowTriggerInput”Input object.
| Field | Type | Description |
|---|---|---|
connectorKey |
String! |
— |
triggerKey |
String! |
— |
config |
JSON |
— |