GraphQL Query
Overview
Executes an arbitrary GraphQL query against the Skedulo API
Category: Data
Advanced
This is an advanced action that requires knowledge of GraphQL. GraphQL mutations are not supported: use the Create Record, Update Records, or Delete Records actions for data writes.Use this action to execute a GraphQL query against the Skedulo API. Variables can be passed as a JSON object. The query must be a valid GraphQL query string. GraphQL mutations are not supported by this action.
Request
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
query |
string | Yes | The GraphQL query string | query { jobs { totalCount edges { node { UID Name JobStatus } } } } |
variables |
object | No | Variables to pass to the GraphQL query | {} |
Response
This action’s output is available as $graphqlQuery in JSONata expressions. See Response format for the standard result.data / result.errors structure and error handling patterns.
| Field | Type | Description |
|---|---|---|
result.data.* |
object | The GraphQL query result, or null if there are errors |
Example output:
{
"jobs": {
"edges": [
{
"node": {
"UID": "0014ccb7-73ad-40e1-9282-2c492a0f313a",
"Name": "JOB-001",
"JobStatus": "Queued"
}
}
]
}
}
Feedback
Was this page helpful?