Skip to content
gist.link ↗

Automate types

Type definitions referenced by Automate queries and mutations.

Scalar. The Boolean scalar type represents true or false.

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! —

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!]! —

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).

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).

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).

Input object.

Field Type Description
name String! —
trigger WorkflowTriggerInput! —
enabled Boolean —
steps [WorkflowStepInput!] —

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.

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.

Object.

Field Type Description
edges [RunEdge!]! —
pageInfo PageInfo! —
totalCount Int! —

Object.

Field Type Description
node Run! —
cursor String! —

Enum. Sort direction for list queries.

Value Description
ASC —
DESC —

Input object. Generic sort specifier (DataTable convention): a whitelisted field name plus a direction.

Field Type Description
field String! —
direction SortDirection! —

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! —

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.

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).

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 —

Input object.

Field Type Description
name String —
trigger WorkflowTriggerInput —
enabled Boolean —
steps [WorkflowStepInput!] When present (even []), REPLACES the entire step chain.

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! —

Object.

Field Type Description
edges [WorkflowEdge!]! —
pageInfo PageInfo! —
totalCount Int! —

Object.

Field Type Description
node Workflow! —
cursor String! —

Input object.

Field Type Description
enabled Boolean —
search String Substring match on workflow name.

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! —

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.

Object.

Field Type Description
step_id String! —
input JSON! —
output JSON —
error String —
status String! One of: succeeded, skipped, failed.

Object.

Field Type Description
workflow_id String! —
trigger_payload JSON! —
step_results [WorkflowStepTestResult!]! —

Object.

Field Type Description
connectorKey String! —
triggerKey String! —
config JSON! —

Input object.

Field Type Description
connectorKey String! —
triggerKey String! —
config JSON —