Table of Contents

GraphQL request

Executes a GraphQL query or mutation against a GraphQL-compatible API. It supports both GET and POST methods, along with GraphQL capabilities - filters, arguments, fragments, aliases, and operation names.

gql

Example Example
This flow retrieves filtered client data from a GraphQL API, converts it into a table format(Convert JSON to DataTable), and validates the results to ensure accurate client information was received. When the GraphQL request fails, Throw Exception node handles the error by displaying or logging an exception message.

Properties

Name Required Description
Title No The title or name of the action.
Configuration Yes Opens the configuration editor for the GraphQL request.
Description No A field to describe the action or its purpose.

Returns

Returns the requested data converted to the object type defined in the Response tab of the Configuration property.

Configuration

Name Required Description
URI Yes The endpoint URL of the GraphQL API to which the request will be sent.
Method Yes The HTTP method for the request
Query Yes The GraphQL query (or mutation) to execute.
Variables No The list of variables used in the GraphQL query.
Headers No The list of custom HTTP headers used in the GraphQL query.
Response No The object type of the query (or mutation) response data.

Graph Qlrequest