Skip to main content
Solved

card.delete on webhook

  • November 23, 2020
  • 1 reply
  • 520 views

Is it possible to get the id of a deleted card via webhook using something like a action "card.delete"? It would be very useful to keep a database based on cards up to date.

Best answer by Marcos Carvalho

Hello Amanda, how are you? 

 

We don't have a card.delete webhook action. We only support these actions: 

  • card.create 
  • card.move
  • card.late
  • card.expired
  • card.overdue
  • card.done

So if you want to be notified about done cards, you can create a webhook with the [card.done] action.

 

 

But maybe you want a CardDelete mutation to delete cards in Pipefy using API. If that’s the case, here the documentation how you can run it: 

 

https://api-docs.pipefy.com/reference/mutations/deleteCard/

 

Here an example:

 

mutation {
deleteCard(input: {id: 2762646}) {
success
}
}

 

Hope it helps :slight_smile:

1 reply

Marcos Carvalho
Pipefy Staff
Forum|alt.badge.img+6
  • Pipefy Staff
  • Answer
  • November 23, 2020

Hello Amanda, how are you? 

 

We don't have a card.delete webhook action. We only support these actions: 

  • card.create 
  • card.move
  • card.late
  • card.expired
  • card.overdue
  • card.done

So if you want to be notified about done cards, you can create a webhook with the [card.done] action.

 

 

But maybe you want a CardDelete mutation to delete cards in Pipefy using API. If that’s the case, here the documentation how you can run it: 

 

https://api-docs.pipefy.com/reference/mutations/deleteCard/

 

Here an example:

 

mutation {
deleteCard(input: {id: 2762646}) {
success
}
}

 

Hope it helps :slight_smile: