Using GraphQL

I have an http connection to an app (First Dollar) and need to use GraphQL to import. Is there a sample for how the request should look? This is my first time using GraphQL so I am not familiar with how to do it in Celigo (but do have it working in Postman).

mutation CreateOrganization($input: CreateOrganizationInput!) {

createOrganization(input: $input) {

... on CreateOrganizationResult {

organization {

id

name

}

}

... on BadRequestError {

code

message

}

... on InternalServerError {

code

message

}

}

}
{

"input":{

"name":"Clearwater Testing"

}

}

Hi @daveguderian,

Having a working GraphQL call in Postman is a great starting point!

In Integrator.io, we have a GraphQL connector (the credentials part work the same as an HTTP connection)

When you create import/export steps with a GraphQL connection the form is a little different so it plays nice with GraphQL. Specifically, it has a "Query" section and a "Variables" section like you see in Postman.

We have some great knowledge base articles that should help guide you along. But you're probably most of the way there already.

https://docs.celigo.com/hc/en-us/articles/4843857027227-Set-up-a-connection-to-a-GraphQL-endpoint

https://docs.celigo.com/hc/en-us/articles/6177684981787-Build-GraphQL-queries

I'm adding a couple of screenshots for visual reference of Postman UI vs the integrator UI for GraphQL calls