Automate API
Workflow automation: triggers, connectors, and multi-step branching workflows.
| Endpoint | POST https://automate.api.gist.link/graphql |
| Token audience | audience=automate |
| Permission prefix | automate: |
Mint an access token for this API with your IAM key and audience=automate
— see Authentication.
Queries
Section titled “Queries”| Operation | Required permission | Description |
|---|---|---|
connections |
automate:query:connections |
This org’s saved connections, optionally filtered by connector. Any org member. |
connectors |
automate:query:connectors |
Registry metadata for every connector (built-in + internal), including trigger/action JSON schemas. Any org member. |
run |
automate:query:run |
A single run by uuid, including its step executions. Any org member. |
runs |
automate:query:runs |
Cursor-paginated runs for one workflow, newest first. Any org member. |
workflow |
automate:query:workflow |
A single workflow by uuid. Any org member. |
workflows |
automate:query:workflows |
Cursor-paginated workflows for the caller’s organization. Any org member. |
Mutations
Section titled “Mutations”| Operation | Required permission | Description |
|---|---|---|
createConnection |
automate:mutation:createConnection |
Save a connector connection (OAuth token / API key / etc). Credentials are encrypted at rest. Authenticated org member. |
createWorkflow |
automate:mutation:createWorkflow |
Create a workflow with its trigger and initial step chain. Authenticated org member. |
deleteConnection |
automate:mutation:deleteConnection |
Remove a saved connection. Authenticated org member. |
disableWorkflow |
automate:mutation:disableWorkflow |
Disable a workflow (deactivates its trigger infrastructure without deleting it). Authenticated org member. |
enableWorkflow |
automate:mutation:enableWorkflow |
Enable a workflow (activates its trigger infrastructure: webhook/schedule). Authenticated org member. |
replayRun |
automate:mutation:replayRun |
Re-runs a prior run’s trigger payload as a brand new Run. Authenticated org member. |
testWorkflow |
automate:mutation:testWorkflow |
Synchronous dry run: resolves + executes every step against a sample trigger payload, without persisting a Run. Authenticated org member. |
updateWorkflow |
automate:mutation:updateWorkflow |
Update a workflow. When steps is present (even []), it REPLACES the whole step chain. Authenticated org member. |
Internal operations
Section titled “Internal operations”The following operations exist in the schema but are reserved for internal
suite automation (service tokens or suite operators) and are not available
to IAM credentials: syncExternalWorkflow, deleteExternalWorkflow, emitTriggerEvent, syncAppConnector, removeAppConnector.