Input No Customer Service Provider Custom Untuk Cekat AI

Tutorial Setup Automation ( Workflow ) pada Provider Cekat AI untuk integrasi ke Sistem CS pada panal GASS. "ini merupakan cara alternatif jika webhook sering inactive"

  1. Pada Panel Gass, Klik Menu Customers Service,
  2. Klik Tombol ADD
  3. Pilih Provider Cekat, masukan nomor, pilih devisi
  1. klik Next untuk mendapatkan Webhook URL.
  2. Copy Webhook URL ke Notepad untuk digunakan di Node Workflow Cekat.
  1. Akses Panel Cekat , Pilih menu Automation / kunjungi https://chat.cekat.ai/workflows
  2. Pilih Node Cekat Chat
  1. Pilih 2 Action ( On Message Received dan On Message Sent )
  2. Pilih Inbox nomer Whatsaaps Anda
  1. Hasil Seperti Berikut
  1. Tambahkan Node Code In Javasript
  2. Isi berikut
const out = []; for (const item of $input.all()) { const input = item.json; const data = input.payload?.data; const conv = data?.conversation; if (!data?.message || String(data.message).trim() === "" || !conv) continue; const customer = conv.phone_number; const cs = conv.inbox_phone; let result = null; if (input.events === "message.received") { result = { type: "inbound", sender: customer, receiver: cs }; } else if (input.events === "message.sent") { result = { type: "outbound", sender: cs, receiver: customer }; } if (!result) continue; result.message = data.message; result.ctwa_data = {}; out.push({ json: result }); } return out;
  1. Hasil Akan Seperti Dibawah ini
  1. Tambahkan Node HTTP Request
  2. Copy Webhook URL yang diberikan oleh sistem

Format URL:

https://[domain-webhook]/webhook.html?provider=custom&p=[kode-provider]&cs=[nomor-CS]
  1. Paste URL tersebut pada kolom Base URL

Contoh:

https://domain-webhook.com/webhook.html?provider=custom&p=XXXXXXXX&cs=XXXXXXXX

16 Aktifkan pilihan:
✅ Send Query Param

17.Pada bagian Mapping, lakukan pengaturan:

    • Name → pilih variable dari bagian pemisah parameter (&)
    • Value → pilih nilai/value dari variable tersebut
  1. Scroll Kebawah
    1. ✅ Aktifkan Send Body :
    2. Body Content Type , Pilih Using JSON
    3. Pada Kolon JSON Isikan berikut

    {{ JSON.stringify($json) }}



lalu simpan konfigurasi dan lakukan pengecekan apakah webhook sudah berhasil terhubung.

Hasil Final Berikut ,,automation anda sudah selesai dibuat dan dibisa di cek melalui database customers di Panel GASS.