Hi @Adurm @Helen @turboroof !
There’s a way to create a webhook trigger that goes off when an item is removed.
You can use Delete an Item Webhook.
It’ll give you a recipe where you add a button and a URL for a webhook.
If you leave the Webhook URL entry blank (just hit the space bar or enter a non valid url), the app will still delete the item, but the webhook wont go off. This way you can set the automation yourself with the button configuration.
Of course, you can do both at the same time.
Note for developers:
The webhook address will receive a post request with the same body and headers only this time the body’s payload will contain a new property called “deletedItem”.
It will contain everything about the deleted item (including the column values).
payload: {
blockKind: 'action',
blockMetadata: null,
inboundFieldValues: {
boardId: 1577193513,
itemId: 1577303761,
columnId: 'button',
delButtonId: 'button',
webhook: 'https://your.webhook.address'
},
inputFields: {
boardId: 1577303303,
itemId: 1577303333,
columnId: 'button',
delButtonId: 'button',
webhook: 'https://your.webhook.address'
},
recipeId: 30336633,
forceNoCharge: false,
integrationId: 56133926
},
deletedItem: {
id: '1577303333',
name: 'New Item',
column_values: [ [Object], [Object], [Object], [Object] ],
created_at: '2021-08-15T14:06:17Z',
group: { id: 'topics', title: 'Group Title' },
updates: []
}
I really hope this helps.
