Skip to content

What it is for

The GraphQL component lets you send queries and mutations to any GraphQL API from flooows. It is useful for connecting to services without their own component or for fetching exactly the fields you need from APIs like Shopify, GitHub and others.

GraphQL has no triggers: use it as an action inside flows started by other triggers.

Set up the connection

  1. 1No prior connection is required: add a GraphQL step to your flow with the "+" button.
  2. 2Select the Send Request action.
  3. 3If the API requires authentication, add the header in "Headers" (for example Authorization with your token).
  4. 4Test the step to check the response.

Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.

How to use it in a flow

  • Send Request: set the GraphQL endpoint "URL" and the "Method" (usually POST).
  • Write the query or mutation in "Query"; for dynamic values use "Variables" with a JSON object and map data from earlier steps instead of pasting it into the query text.
  • Fill "Headers" with authentication and "Query params" if the API needs them.
  • Adjust "Timeout(in seconds)" for slow queries and enable "No Error on Failure" to handle errors in later steps.

Tips

  • •Try the query in the API's own explorer before pasting it into flooows.
  • •Request only the fields you will use for lighter responses.
  • •GraphQL APIs often return errors inside an errors field even with a 200 status; check it with a condition.

Actions (1)

Operations available as flow steps. Expand each one to see its fields.

Send Request10 fields
FieldTypeRequired
MethodFixed listYes
URLTextYes
Query paramsKey / value pairsYes
HeadersKey / value pairsYes
QueryLong textYes
VariablesJSONNo
Use ProxyYes / NoNo
Proxy SettingsDynamic fieldsNo
Timeout(in seconds)NumberNo
No Error on FailureYes / NoNo

Common errors

401 or 403

The authentication header is missing or the token is invalid.

Query syntax error

Validate the query in the API explorer and check the "Variables" JSON.

Request timed out

Increase "Timeout(in seconds)" or request less data.

Field types

"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps