# Webhooks

Sprinkle **Webhook** is a special type of Pipeline that creates a Webhook endpoint in sprinkle to receive data from external sources.

Webhook Pipeline are available only in **Enterprise Plan**. Check with the Sprinkle Support team for more details.

### Watch Video :tv:

{% embed url="<https://youtu.be/QPwpwO9MpAs>" %}
Webhooks : Explanation & Feature Walkthrough
{% endembed %}

## Pipeline Concepts

Before setting up the pipeline, learn about pipeline concepts [here](/product/ingesting-your-data/pipelines.md)

## Step-by-Step Guide

### Step 1: Configure Webhook pipeline

* Log into the Sprinkle application.
* Navigate to the Ingest Tab -> Pipelines -> Webhooks.
* Click on the **Create Webhook** button.

### Step 2: Create a Dataset

* ***Name*** *(Required*): Enter the unique name for the webhook.
* **Webhook URL**: Generated by Sprinkle. Configure this URL on the source to send events to Sprinkle.
* *Remove **Duplicate** Rows*:&#x20;
* ***Unique Key**:* Unique key from the table to dedupe data across multiple ingestions&#x20;
* ***Time Column Nam**e*: Will be used to order data for deduping
* ***Flatten Level*** *(required)*: Select from One level or Multi levels. In one level, flattening will not be applied on complex types. They will be stored as strings. In multi-level, flattening will be applied to complex levels until they become simple.
* ***Destination Schema*** *(Required)*: Data warehouse schema where the table will be ingested into
* ***Destination Table name*** *(required)*: This is the table name to be created in the warehouse. If not given, Sprinkle will create like : ds\_\<datasourcename>\_\<tablename>.
* ***Destination Create Table Clause***: Provide additional clauses to warehouse-create table queries such as clustering, partitioning, and more, useful for optimizing DML statements ([Learn more](/product/ingesting-your-data/pipelines/databases/features/destination-create-table-clause.md) about how to use this field).
* Click on '**Create**'.

### Step 3: Run and schedule Ingestion

In the **Ingestion Jobs** ta&#x62;**:**

* Trigger the Job, using the Run button
* To schedule, enable Auto-Run. Change the frequency to **Realtime, if required**


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sprinkledata.com/product/ingesting-your-data/webhooks.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
