Home / Connectors / GraphQL connector

GraphQL connector

Execute GraphQL query

outbound io.camunda:connector-graphql:1

Required inputs

KeyLabelType
graphql.url URL FEEL expression
graphql.query Query/Mutation string
graphql.authentication.token Bearer token secret
authentication.oauthTokenEndpoint OAuth token endpoint secret
authentication.clientId Client ID FEEL expression
authentication.clientSecret Client secret secret
authentication.username Username FEEL expression
authentication.password Password secret

Optional inputs

KeyLabelType
authenticationType Type string
method Method string
headers Headers FEEL expression
graphql.variables Variables FEEL expression
authentication.scopes Scopes FEEL expression
authentication.audience Audience FEEL expression
authentication.clientAuthentication Client authentication string
graphql.connectionTimeoutInSeconds Connection timeout FEEL expression
resultVariable Result variable string
resultExpression Result expression FEEL expression
errorExpression Error expression FEEL expression

Apply this connector with @bpmnkit/connectors

import { applyConnectorTemplate } from "@bpmnkit/connectors" const result = applyConnectorTemplate("io.camunda.connectors.GraphQL.v1", { "graphql.url": "= ...", "graphql.query": "...", "graphql.authentication.token": "<your bearer token>", "authentication.oauthTokenEndpoint": "<your oauth token endpoint>", "authentication.clientId": "= ...", "authentication.clientSecret": "<your client secret>", "authentication.username": "= ...", "authentication.password": "<your password>", "authenticationType": "noAuth", "method": "post", })