In a scenario where a Card in "Pipe A" is connected to a Card in "Pipe B" (ie Pipe A has the connect field), is there an API query which, for a Card on Pipe B, will give all of the Cards which are connected to that Pipe B Card?
Thanks for any help
In a scenario where a Card in "Pipe A" is connected to a Card in "Pipe B" (ie Pipe A has the connect field), is there an API query which, for a Card on Pipe B, will give all of the Cards which are connected to that Pipe B Card?
Thanks for any help
Hey Mark,
You can use this query:
{
card(id: 1039831177) {
title
parent_relations {
name
pipe {
id
}
name
cards {
title
id
}
}
child_relations {
name
pipe {
name
id
}
cards {
title
id
}
}
url
}
}
One tip, if you are using the our GrphiQL, when you are creating a query, you can press ctrl + space bar to see all the options.
For more references you can take a look at Pipefy Developers Page.
Regards
Hi Diogo, amazing thanks!!!
I’ve also used the API reference, I hadn’t even noticed there’s a GraphQL builder - fantastic, fantastic resource, that’s gonna make my life so much easier. When I build a query and then click “Try It” I get an ‘unauthorised’ error - it isn’t allowing me to authenticate? It must be something I’m missing here?!
Incidentally I also logged this question as a support case with Pipefy and was told that it wasn’t possible.
THanks again!
Mark, to use the GraphQL you have to login Pipefy first and then access it. And remember you have to be at least org’s administrator.
Ok, I'd already tried that. Perhaps I missed a step somehow. I'll let you know if any issues when I try again. I'm organising admin.
Thanks v.much for your help.
Hi
I can’t seem to find a mechanism for logging in to Pipefy from the GraphQL tool ? https://developers.pipefy.com/graphql
Thanks for any help
Hello,
To log in to GraphiQL, you first need to log in to the Pipefy platform using the same browser. Then, open GraphiQL in a new tab. The platform will automatically recognize that you are logged in.
Keep in mind that to use GraphiQL, you must be an admin of the organization.
If you’re unable to log in, please reach out to our team via chat by clicking the help button at the top left of the page.
Hello,
To log in to GraphiQL, you first need to log in to the Pipefy platform using the same browser. Then, open GraphiQL in a new tab. The platform will automatically recognize that you are logged in.
Keep in mind that to use GraphiQL, you must be an admin of the organization.
If you’re unable to log in, please reach out to our team via chat by clicking the help button at the top left of the page.
Hi
To be able to use the URL https://developers.pipefy.com/graphql you need to pass the token in the “Headers” option that exists for this URL, just like in the print.
Because this page is not authenticated with your user. You'll need to create a token or use an existing one from your account. You can find out about the token by going to your user settings on the platform and then going to “Account preferences” and then Personal “access tokens”.
If you still have questions, just reply here.
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.