> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chatsyncs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Webhook Automation Settings in ChatSyncs

> How to add a delay, conditional send rules, and post-webhook actions (assigning conversations, labels, and sequences) to a ChatSyncs Webhook Workflow.

Beyond just sending a message, a [Webhook Workflow](/learn/chatsyncs-webhook-workflow/introduction) can
control **when** the message goes out, **whether** it should send at all, and **what happens
next** once it does — all from the same workflow's settings.

## Send the message with a delay

<Frame>
  <img src="https://mintcdn.com/chatsyncs/SZDz719X3xT3_1vE/images/learn/whatsapp-webhook-workflow/step-15-delay-and-conditions.png?fit=max&auto=format&n=SZDz719X3xT3_1vE&q=85&s=87d5931003f1bfa3a86d57c10aca4e88" alt="Send message with a delay section with a Wait in minutes field, and Send message based on conditions section with Any/All rule matching and an Add Rule button" width="526" height="289" data-path="images/learn/whatsapp-webhook-workflow/step-15-delay-and-conditions.png" />
</Frame>

Set **Wait** to a number of minutes after the webhook triggers before the message actually
sends. `0` sends immediately.

**Example:** A customer books a meeting for 3:00 PM. Instead of confirming the instant the
booking lands, set a 30-minute delay so the message reads more like a considered reminder than
an instant auto-reply.

## Send the message only under certain conditions

Instead of a message for *every* call, conditions let you decide whether a particular one
should actually trigger a send.

<Frame>
  <img src="https://mintcdn.com/chatsyncs/uiQRCWw2HZ5SPjHo/images/learn/whatsapp-webhook-workflow/step-15b-conditions-multiple-rules.png?fit=max&auto=format&n=uiQRCWw2HZ5SPjHo&q=85&s=f552dbe9141303d467310a182403aa59" alt="Send message based on conditions panel with the Any/All toggle and two stacked rules, each with Select Data Field, Select Operator, and Put Value, plus an Add Rule button" width="587" height="230" data-path="images/learn/whatsapp-webhook-workflow/step-15b-conditions-multiple-rules.png" />
</Frame>

Click **Add Rule** to add a condition — each one has three parts:

* **Select Data Field** — which webhook field to check (only fields your app actually sends will
  be useful here).
* **Select Operator** — how to compare the field to your value:

  | Operator           | What it checks                                        |
  | ------------------ | ----------------------------------------------------- |
  | `Equals`           | The field is exactly this value                       |
  | `Not Equals`       | The field is anything *other than* this value         |
  | `Contains`         | The value appears somewhere inside the field          |
  | `Does Not Contain` | The value does *not* appear anywhere inside the field |
  | `Starts With`      | The field begins with this value                      |
  | `Ends With`        | The field ends with this value                        |
  | `Greater Than`     | The field's number is bigger than this value          |
  | `Less Than`        | The field's number is smaller than this value         |
  | `Is Empty`         | The field has no value at all                         |
  | `Is Not Empty`     | The field has some value, whatever it is              |
* **Put Value** — the value to compare against.

Add as many rules as you need, then choose how they combine:

* **Any** (OR logic) — the message sends if **at least one** rule matches.
* **All** (AND logic) — **every** rule must match before the message sends.

**Example:** Only send a booking confirmation if the booking type is `consultation` — internal
team meetings booked through the same calendar shouldn't trigger a customer message.

<Tip>
  Verify the webhook payload actually contains every field a rule checks. A rule referencing a
  field your app never sends will simply never match — test with real sample data before
  publishing.
</Tip>

## Actions after a successful call

Once a message sends successfully, the workflow can also update the subscriber automatically:

<Frame>
  <img src="https://mintcdn.com/chatsyncs/SZDz719X3xT3_1vE/images/learn/whatsapp-webhook-workflow/step-16-post-call-actions.png?fit=max&auto=format&n=SZDz719X3xT3_1vE&q=85&s=9ec2c01b7aca534d5654cd31864260e0" alt="Actions following successful webhook call section with Assign Conversation to a Group, Assign Conversation to a User, Assign Label, Remove Label, Assign Sequence, Remove Sequence, and Subscriber Name fields, and a Save Workflow button" width="558" height="382" data-path="images/learn/whatsapp-webhook-workflow/step-16-post-call-actions.png" />
</Frame>

* **Assign Conversation to a Group** — route the conversation to a team (e.g. Sales, Support).
* **Assign Conversation to a User** — assign it to one specific team member.
* **Assign Label / Remove Label** — tag or untag the subscriber for segmentation and filtering.
* **Assign Sequence / Remove Sequence** — start or stop an automated sequence for them, see
  [How to Build Automatic Follow-Up Chatbots on WhatsApp](/learn/chatsyncs-automation/build-automatic-follow-up-chatbots-on-whatsapp-in-chatsyncs).
* **Subscriber Name** — map a webhook field to set the subscriber's display name in ChatSyncs.

<Frame>
  <img src="https://mintcdn.com/chatsyncs/SZDz719X3xT3_1vE/images/learn/whatsapp-webhook-workflow/step-16b-subscriber-name-mapping.png?fit=max&auto=format&n=SZDz719X3xT3_1vE&q=85&s=25205cb11c6cead108b2c3bd9b95cf3d" alt="Subscriber Name field mapped to customer_name : Rahul Reddy, boxed, above the Save Workflow button" width="574" height="397" data-path="images/learn/whatsapp-webhook-workflow/step-16b-subscriber-name-mapping.png" />
</Frame>

Map **Subscriber Name** to the field holding the customer's name — not the phone field, which is
only used to identify the subscriber. Leave it empty if your app doesn't send a name; the
subscriber just stays identified by phone number.

**Example:** A new lead fills out a form → the webhook sends a WhatsApp welcome message → the
conversation is automatically assigned to the Sales team with a `New Lead` label — all from one
successful call, no manual follow-up.

Click **Save Workflow** once everything is configured.

## Frequently asked

<AccordionGroup>
  <Accordion title="Can I stop a workflow from sending on every single call?">
    Yes — use **Send message based on conditions** to only send when a field matches a rule.
  </Accordion>

  <Accordion title="Can I delay a message instead of sending it the instant the webhook fires?">
    Yes — set **Wait** under **Send message with a delay** to the number of minutes to hold
    before sending. `0` sends immediately.
  </Accordion>

  <Accordion title="What's the difference between Any and All when combining rules?">
    **Any** sends if at least one rule matches (OR logic). **All** requires every rule to match
    before it sends (AND logic).
  </Accordion>

  <Accordion title="Can a webhook call route the conversation to a specific team automatically?">
    Yes — under **Actions Following Successful Webhook Call**, use **Assign Conversation to a
    Group** (a team) or **Assign Conversation to a User** (one teammate).
  </Accordion>
</AccordionGroup>
