Browse Source

docs: webhook updates

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/7307/head
Raju Udava 10 months ago
parent
commit
6221f145fa
  1. 7
      packages/noco-docs/docs/130.automation/020.webhook/020.create-webhook.md

7
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
<Tabs>

Loading…
Cancel
Save