# Cara Mendapatkan Webhook URL untuk n8n

Webhook memungkinkan untuk mengirimkan data dari WatZap.id secara langsung ke workflow n8n saat sebuah peristiwa terjadi, tanpa perlu melakukan pengecekan manual.

Nah, supaya integrasi WatZap x n8n berjalan, Kamu perlu mendapatkan Webhook URLs di n8n. Berikut langkah-langkah cara mendapatkannya.

Pertama-tama, pastikan Kamu sudah menjalankan n8n, baik melalui self-hosting (Docker, VPS, atau server lokal) maupun melalui n8n Cloud. Setelah itu, masuk ke dashboard utama.

<figure><img src="/files/1O06fCNdi5PFTxwfDn3l" alt=""><figcaption></figcaption></figure>

Kemudian klik tombol **Create Workflow** pada pojok kanan atas.&#x20;

<figure><img src="/files/j3MJtzhh58A4PyXfle8z" alt=""><figcaption></figcaption></figure>

Setelah itu, klik ikon **+ Add first step** untuk menambahkan node.

<figure><img src="/files/ctsxvnq9pBkPfkvbMcbY" alt=""><figcaption></figcaption></figure>

Cari dan klik **WatZap Trigger** pada kolom pencarian.

<figure><img src="/files/UOeEcAsTBdHPJf4tBNBN" alt=""><figcaption></figcaption></figure>

Klik tombol **Add to workflow**.

<figure><img src="/files/Rjyb7PKdBdu7Yds9iX1h" alt=""><figcaption></figcaption></figure>

Setelah itu, klik dropdown **Webhook URLs**. Maka akan muncul **Test URL** dan **Production URL**. Silakan copy kedua url tersebut.

<figure><img src="/files/r6LrfEWKcmUD9nXZWkg9" alt=""><figcaption></figcaption></figure>

Lalu paste url nya ke dalam dashboard WatZap di menu n8n dan klik tombol **Save**.

<figure><img src="/files/Zfg7opphjwRHf43QB06j" alt=""><figcaption></figcaption></figure>

Maka akan muncul pop up berhasil.

<figure><img src="/files/NyM4vyrlGZiCsay9gx5G" alt=""><figcaption></figcaption></figure>

Selesai.


---

# 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.watzap.id/help/integrations/integrasi-dengan-n8n/cara-mendapatkan-webhook-url-untuk-n8n.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.
