Hello, I’d like to know if there’s a way to trigger a webhook only when a field value (a select in this case) changes from a previous value to a new one.
What we want to do is:
Create a document.
Trigger a webhook only when the select field value changes (example: from Requested to Responded).
The problem is that we can’t do checks to what the previous value was before triggering the webhook.
We also checked server scripts, but we couldn’t find a way to trigger a webhook from those.
Does anyone have an idea?
We’ve also considered moving this into a lambda/micro, but we’d rather use the provided tools first.
I’d like to know about this too. I want to send update to Microsoft Teams webhook, but only when a certain field is changed. Notification feature has this kind of filtering, but not webhook feature for some reason.
I went with a webhook for Version doctype after_insert with a condition set to doc.reference_doctype="<your doctype>"
we used an external lambda to process it as the data key in the payload includes added,changed,removed,row_changed keys.
For example