diff --git a/packages/noco-docs/docs/130.automation/020.webhook/020.create-webhook.md b/packages/noco-docs/docs/130.automation/020.webhook/020.create-webhook.md index 308dc83dd2..16f9c22e61 100644 --- a/packages/noco-docs/docs/130.automation/020.webhook/020.create-webhook.md +++ b/packages/noco-docs/docs/130.automation/020.webhook/020.create-webhook.md @@ -38,6 +38,13 @@ keywords: ['NocoDB webhook', 'create webhook'] ![Configuring webhook](/img/v2/webhook/create-webhook-2.png) +### Webhook with conditions +In case of webhook with conditions, only records meeting the configured criteria will trigger webhook. For example, trigger webhook only when `Status` is `Complete`. You can also configure multiple conditions using `AND` or `OR` operators. For example, trigger webhook only when `Status` is `Complete` and `Priority` is `High`. + +Webhook will be triggered only when the configured condition wasn't met before the record was updated. For example, if you have configured webhook with condition `Status` `is` `Complete` and `Priority` `is` `High` and you update the record with `Status` `Complete` and `Priority` `Low` to `High`, webhook will be triggered. However, if you update any other fields of the record with `Status` `Complete` and `Priority` `High`, webhook won't be triggered. + +In summary, webhook will be triggered only when `Condition(old-record) = false` and `Condition(new-record) = true`. + ### Webhook Response Sample