---
title: "Conditional Dispatch"
description: "Events are only delivered when payload field values match configured rules; non-matching events are logged as skipped."
url: "https://wpwebhooks.org/docs/conditional-dispatch/"
---

[WP Webhooks](https://wpwebhooks.org/) / [Docs](https://wpwebhooks.org/docs/) / Conditional Dispatch

Feature since v1.7.0

# Conditional Dispatch

Events are only delivered when payload field values match configured rules; non-matching events are logged as skipped.

Define conditions per webhook+trigger. Each condition specifies a dot-notation field path, an optional type cast, an operator, and a comparison value. There is no limit on how many conditions a webhook may carry, and rules can be organized into one level of groups, each with its own AND/OR match.

## Operators

`equals`, `not_equals`, `contains`, `not_contains`, `greater_than`, `less_than`, `is_empty`, `is_not_empty`, `array_contains`, `object_contains`, `is_true`, `is_false`.

## Evaluate against

Conditions can be evaluated against the original pre-mapping payload or the transformed payload (after field mapping and the pre-dispatch Code Glue snippet). Choose per webhook+trigger in the conditions panel; the default is the original payload.

/ Related

[Unlimited Conditions](https://wpwebhooks.org/docs/unlimited-conditions/)[Payload Mapping](https://wpwebhooks.org/docs/payload-mapping/)[fswa\_should\_dispatch](https://wpwebhooks.org/docs/fswa-should-dispatch/)[Webhook Replay](https://wpwebhooks.org/docs/webhook-replay/)

/Ready

## Your next automation is  
one sentence away.

[Try the Live Preview](https://playground.wordpress.net/?blueprint-url=https://wpwebhooks.org/blueprint.json) [See the Plugin →](https://wpwebhooks.org/wordpress-webhook-plugin/)

$ wp plugin install flowsystems-webhook-actions --activate

## Structured data

```json
{"@context":"https://schema.org","@type":"TechArticle","name":"Conditional Dispatch — Feature — Webhook Actions Docs","description":"Events are only delivered when payload field values match configured rules; non-matching events are logged as skipped.","url":"https://wpwebhooks.org/docs/conditional-dispatch/","isPartOf":{"@type":"WebSite","name":"WP Webhooks","url":"https://wpwebhooks.org"},"about":{"@type":"SoftwareApplication","name":"Webhook Actions","applicationCategory":"WordPress Plugin"}}
```
