GraphQL Connector
Make GraphQL requests (queries and mutations) to a GraphQL-based API
Connections
API Key
API Key connection
| Input | Comments | Default |
|---|---|---|
| API Key | API Key | |
| Authentication Scheme | The authentication scheme to use | Basic |
Basic Username/Password
Basic Username and Password connection
| Input | Comments | Default |
|---|---|---|
| Username | Username | |
| Password | Password |
OAuth 2.0 Authorization Code
OAuth 2.0 Authorization Code flow
This connection uses OAuth 2.0, a common authentication mechanism for integrations. Read about how OAuth 2.0 works here.
| Input | Comments | Default |
|---|---|---|
| Authorize URL | The OAuth 2.0 Authorization URL for the API | |
| Token URL | The OAuth 2.0 Token URL for the API | |
| Scopes | Space separated OAuth 2.0 permission scopes for the API | |
| Client ID | Client Identifier of your app for the API | |
| Client Secret | Client Secret of your app for the API | |
| Headers | Additional header to supply to authorization requests |
OAuth 2.0 Client Credentials
OAuth 2.0 Client Credentials flow
This connection uses OAuth 2.0, a common authentication mechanism for integrations. Read about how OAuth 2.0 works here.
| Input | Comments | Default |
|---|---|---|
| Token URL | The OAuth 2.0 Token URL for the API | |
| Scopes | Space separated OAuth 2.0 permission scopes for the API | |
| Client ID | Client Identifier of your app for the API | |
| Client Secret | Client Secret of your app for the API | |
| Headers | Additional header to supply to token requests |
Actions
GraphQL Request
Issue a generic GraphQL request
| Input | Comments | Default |
|---|---|---|
| Connection | ||
| GraphQL Endpoint | The endpoint of the GraphQL API | |
| Query or Mutation | query ($customerName: String!) { customers(name: $customerName) { nodes { id labels users { nodes { id } } } } } | |
| Variables | Variables to pass in to your query or mutation | |
| Headers | Custom headers to send along with your request |