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

# Example Workflows

> Contoh workflow untuk membantu kamu memulai integrasi WABeres di n8n.

### 1. Kirim Pesan WhatsApp

Workflow paling sederhana — trigger manual dan kirim pesan.

```
Manual Trigger → WABeres: Send Text
```

**Kegunaan:** Notifikasi cepat, testing setup kamu, atau kirim pesan sekali dari n8n.

***

### 2. Simulasi Mengetik Natural

Simulasikan jeda mengetik seperti manusia sebelum mengirim pesan.

```
Trigger → WABeres: Send Chat Presence (Start) → Wait (2s) → WABeres: Send Text → WABeres: Send Chat Presence (Stop)
```

**Kegunaan:** Balasan customer support atau chatbot otomatis yang terasa lebih natural dan tidak kaku.

<Tip>
  Set node **Wait** ke 1–3 detik tergantung panjang pesan. Pesan yang lebih panjang terasa lebih natural dengan jeda sedikit lebih lama.
</Tip>

***

### 3. Terima dan Verifikasi Webhook

Terima webhook event dari WABeres secara aman dan verifikasi keasliannya sebelum diproses.

```
Webhook (bawaan n8n) → WABeres: Verify Signature → logika kamu
```

**Setup:**

1. Tambahkan node **Webhook** — set method ke `POST` dan catat URL webhook-nya
2. Daftarkan URL webhook tersebut di dashboard WABeres kamu
3. Tambahkan node **WABeres** setelahnya, set Resource ke `Webhook` dan Operation ke `Verify Signature`
4. Field `Raw Body` dan `Signature` sudah terisi otomatis — tidak perlu diubah

Jika pengecekan signature berhasil, workflow dilanjutkan. Jika gagal, workflow berhenti otomatis.

***

### 4. Chatbot WhatsApp Berbasis AI

Workflow chatbot lengkap — terima pesan, proses dengan AI agent, lalu balas kembali.

```
Webhook → WABeres: Verify Signature → AI Agent → WABeres: Send Chat Presence (Start) → Wait → WABeres: Send Text
```

**Kegunaan:** Bot customer support, menjawab FAQ, atau integrasi AI percakapan apapun lewat WhatsApp.

<Note>
  Untuk node AI Agent, kamu bisa menggunakan provider LLM apapun yang didukung n8n seperti OpenAI, Anthropic, atau model self-hosted via Ollama.
</Note>
