Skip to main content
Submitted

Add "Card Checklists" to the API

genietim
Ezequiel Souza
alicereis
marcosmelo
  • genietim
    genietim
  • Ezequiel Souza
    Ezequiel Souza
  • alicereis
    alicereis
  • marcosmelo
    marcosmelo

Keto-Faster

The API is missing access to some of the objects in the card.

Specifically, I’d like the Card Checklists to be added. 

Card checklists are very useful - but we haven’t considered using them due to this limitation.

See the conversation here: 

 

6 replies

Danielle Diehl
Pipefy Staff

Thanks for you suggestion! I will submit it!


Danielle Diehl
Pipefy Staff
Updated idea statusNew→Submitted

Keto-Faster
Forum|alt.badge.img+1
  • Author
  • New Member
  • 54 replies
  • May 15, 2023

@genietim have you found an alternative to the above feature, to having checklists auto-created in pipefy?


genietim
Forum|alt.badge.img+12
  • Pipefy Legend
  • 412 replies
  • May 15, 2023

Hi @Keto-Faster 

I personally am not using the checklists at all. But I guess one way would be to look into the API that Pipefy itself uses, often, that’s usable from outside as well.

For the checklist, the queries would be:

fetch("https://app.pipefy.com/graphql/core", {
  "headers": {
    "accept": "*/*",
    "accept-language": "en-GB,en;q=0.9,en-US;q=0.8,de;q=0.7",
    "content-type": "application/json, application/json"
  },
  "referrer": "https://app.pipefy.com/",
  "referrerPolicy": "origin",
  "body": "{\"operationName\":\"CreateChecklist\",\"variables\":{\"cardUuid\":\"5b96ae53-e3aa-4e26-9b58-e1fa05f19c0d\",\"title\":\"Checklist\"},\"query\":\"mutation CreateChecklist($cardUuid: ID!, $title: String!) {\\n  createChecklist(input: {cardUuid: $cardUuid, title: $title}) {\\n    id\\n    title\\n    hasItems\\n    __typename\\n  }\\n}\\n\"}",
  "method": "POST",
  "mode": "cors",
  "credentials": "include"
});

to create the checklist and

fetch("https://app.pipefy.com/graphql/core", {
  "headers": {
    "accept": "*/*",
    "accept-language": "en-GB,en;q=0.9,en-US;q=0.8,de;q=0.7",
    "content-type": "application/json, application/json"
  },
  "referrer": "https://app.pipefy.com/",
  "referrerPolicy": "origin",
  "body": "{\"operationName\":\"CreateChecklistItem\",\"variables\":{\"checklistId\":\"300699749\",\"description\":\"Test Item 1\",\"checked\":false},\"query\":\"mutation CreateChecklistItem($checklistId: ID!, $description: String!, $checked: Boolean!) {\\n  createChecklistItem(\\n    input: {checklistId: $checklistId, description: $description, checked: $checked}\\n  ) {\\n    id\\n    index\\n    __typename\\n  }\\n}\\n\"}",
  "method": "POST",
  "mode": "cors",
  "credentials": "include"
});

to add an item to it.

No idea if that actually works though ;)


genietim
Forum|alt.badge.img+12
  • Pipefy Legend
  • 412 replies
  • May 15, 2023

(you might need to add the Authorization header, and correct the checklistId and the cardUuid etc.)


Keto-Faster
Forum|alt.badge.img+1
  • Author
  • New Member
  • 54 replies
  • May 17, 2023

@genietim awesome - thanks for posting this. We’ll try to implement and I’ll post back here how it goes.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings