# 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](https://docs.sprinkledata.com/product/ingesting-your-data/pipelines)

## 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](https://docs.sprinkledata.com/product/ingesting-your-data/pipelines/databases/features/destination-create-table-clause) 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**
