FlowmageDocs

Run GraphQL query

BetaChanges data

Runs any Carerix GraphQL query or mutation through a saved connection.

Settings

SettingWhat it is
ConnectionRequiredThe Carerix connection the step signs in with.
QueryRequiredA GraphQL query or mutation. Carerix's whole schema is at docs.carerix.io/graphql. Values from earlier nodes belong in Variables, not pasted into this text.
VariablesThe variables object sent beside the query. Every value an earlier node produces belongs here.
Operation nameOnly needed when the document holds more than one operation.
What this document doesA read may be re-run freely and is never confirmed. Choose the other one for any document holding a mutation: a mutation run twice can create two records.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `carerix`)
querytextplain text, never `{{ }}`
variablesobject (any keys), by default {}
operationNametext
documentKind"read" or "write", by default "read"

Output

FieldType
dataWhat Carerix answeredobject
Sample output, and the expression for each field
  • data
    • crEmployeePage
      • totalElements137

Errors

When a step of this node stops a run, the run page shows a code. Look it up:

Example step

The step as a flow file holds it. Replace each value in <…>.

{
  "config": {
    "connection": "<connection id>",
    "documentKind": "read",
    "operationName": "",
    "query": "<query>",
    "variables": {}
  },
  "label": "Run GraphQL query",
  "type": "carerix.query",
  "version": 1
}