> ## 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 on Keyword Trigger in ChatSyncs

> How to fire a webhook the moment a Keyword Replies flow's trigger keyword is matched, using the Forward Data to Webhook field on the Start Bot Flow block.

Fire a webhook the moment a customer's message matches a trigger keyword in a flow built
following [How to Create a Keyword-Based WhatsApp Chatbot](/learn/chatsyncs-automation/create-a-keyword-based-whatsapp-chatbot-in-chatsyncs) — before the bot even
sends its reply.

<Frame>
  <img src="https://mintcdn.com/chatsyncs/sAsjFfzcUITpKpey/images/learn/webhook-keyword-trigger/step-01-forward-data-to-webhook.png?fit=max&auto=format&n=sAsjFfzcUITpKpey&q=85&s=25b6564df2087ebc21c600f288beec4d" alt="Configure Reference panel for a Start Bot Flow block, with the Data & Integrations section open and the Forward Data to Webhook field boxed, above Sync Data to Google Sheets" width="1919" height="825" data-path="images/learn/webhook-keyword-trigger/step-01-forward-data-to-webhook.png" />
</Frame>

<Steps>
  <Step title="Open the flow's Start Bot Flow block">
    In your flow built following [How to Create a Keyword-Based WhatsApp Chatbot](/learn/chatsyncs-automation/create-a-keyword-based-whatsapp-chatbot-in-chatsyncs), double-click
    **Start Bot Flow** to open **Configure Reference**.
  </Step>

  <Step title="Open Data & Integrations">
    Scroll to the **Data & Integrations** section.
  </Step>

  <Step title="Set Forward Data to Webhook">
    Paste your webhook endpoint URL into **Forward Data to Webhook**. Every time this flow's
    trigger keyword matches, ChatSyncs POSTs the subscriber's data to that URL.
  </Step>

  <Step title="Save Changes">
    Click **Save Changes**.
  </Step>
</Steps>

<Tip>
  The same panel has **Sync Data to Google Sheets** right below — you can send the same data to
  both a webhook and a spreadsheet from one flow.
</Tip>

## Frequently asked

<AccordionGroup>
  <Accordion title="When exactly does this webhook fire?">
    The moment a customer's message matches this flow's trigger keyword(s) — not after every
    message in the conversation, and not tied to a specific button or question inside the flow.
  </Accordion>

  <Accordion title="Can I send the same data to a webhook and Google Sheets at once?">
    Yes — **Forward Data to Webhook** and **Sync Data to Google Sheets** are separate fields in
    the same **Data & Integrations** section and can both be filled in.
  </Accordion>

  <Accordion title="Is this the same as a button's Send data to Webhook URL field?">
    No — this fires on the keyword match itself. A button inside the flow has its own separate
    webhook field — see [Webhook on Button Click](/learn/chatsyncs-webhooks/webhook-on-button-click-in-chatsyncs).
  </Accordion>
</AccordionGroup>
