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

# Send events to Clay

> Create a Clay webhook table, flatten batched events, and enrich the results.

<Info>
  Webless sends batched event data to Clay. Clay then lets you flatten each
  batch into rows and enrich the resulting records.
</Info>

## Setup flow

<Steps>
  <Step title="Create a webhook table" icon="table">
    In Clay:

    * Click **New**
    * Choose **Workbook**
    * Search for **webhook**
    * Select the webhook table source
  </Step>

  <Step title="Copy the webhook URL" icon="link">
    Open **Edit source** or **Source**, find the webhook URL, and copy it.
  </Step>

  <Step title="Share the webhook URL with Webless" icon="send">
    Send the URL to Webless so we can start posting batched events.
  </Step>

  <Step title="Create the flatten action" icon="rows-3">
    After events arrive:

    * Open an event row
    * Find the `Data [...]` list in the cell details panel
    * Click **Take action on list**
    * Choose **Write each item to new row in other table**
  </Step>

  <Step title="Configure the action" icon="settings-2">
    Use these settings for the best default result:

    * Destination: **New table**
    * Method: **Send row for each item in a list**
    * Enable **Auto-extract new columns**
    * Enable **Auto-map existing columns** if you use an existing table
  </Step>

  <Step title="Add useful columns" icon="columns-3">
    After the flattened table appears, add the fields you care about as
    dedicated columns. Common fields include:

    * Date
    * Page
    * Type
    * Query
    * Browser
    * Company
    * Summary
    * Location
  </Step>
</Steps>

<Tip>
  If you already know which attributes you want to report on, add those columns
  first so your enrichment workflow stays focused and easy to scan.
</Tip>
