Qontak
Kirim template WhatsApp (agent harus diizinkan dan dibatasi daftar penerima E.164 yang persis, tidak pernah diulang), template, channel, room dan log broadcast, kontak, perusahaan, deal, task, catatan dan pipeline CRM (penulisan oleh agent harus diizinkan, hapus hanya lewat node)
Tentang
Plugin Graphrt untuk Mekari Qontak, platform CRM dan omnichannel Indonesia. Qontak Chat (Omnichannel) untuk mengirim template WhatsApp yang sudah disetujui, membaca template, integrasi channel, room dan log broadcast. Qontak CRM untuk kontak, perusahaan, deal, task, catatan, pipeline dan stage.
Yang bisa dilakukan
- WhatsApp: - send_whatsapp_template (a direct broadcast to one number with template variables), - templates: list_whatsapp_templates, get_whatsapp_template, - channels: list_integrations (channel_integration_id), - broadcasts: list_whatsapp_broadcasts, get_whatsapp_broadcast, get_whatsapp_broadcast_log (per-recipient sent/delivered/read/failed).
- Rooms: list_rooms, get_room, list_room_histories.
- CRM (contacts, companies, deals, tasks, notes): - list_* (page/per_page via limit/cursor, filters), get_*, create_*, update_*, - delete_* (node only), - custom fields via additional_fields.
- Pipelines: list_pipelines, get_pipeline, list_pipeline_stages.
- api_request: any other Chat endpoint (GET only for agents, and only /templates, /rooms, /broadcasts).
Aksi
Setiap aksi adalah langkah yang bisa ditambahkan ke workflow. Agent juga bisa memakai sebagian besar aksi sebagai tool.
- List WhatsApp templates
qontak.list_whatsapp_templates - Get WhatsApp template
qontak.get_whatsapp_template - List channel integrations
qontak.list_integrations - List rooms
qontak.list_rooms - Get room
qontak.get_room - Room history
qontak.list_room_histories - Send WhatsApp template
qontak.send_whatsapp_template - List WhatsApp broadcasts
qontak.list_whatsapp_broadcasts - Get WhatsApp broadcast
qontak.get_whatsapp_broadcast - WhatsApp broadcast log
qontak.get_whatsapp_broadcast_log
Tampilkan semua 39 aksi
- List contacts
qontak.list_contacts - Get contact
qontak.get_contact - Create contact
qontak.create_contact - Update contact
qontak.update_contact - Delete contact
qontak.delete_contact - List companies
qontak.list_companies - Get company
qontak.get_company - Create company
qontak.create_company - Update company
qontak.update_company - Delete company
qontak.delete_company - List deals
qontak.list_deals - Get deal
qontak.get_deal - Create deal
qontak.create_deal - Update deal
qontak.update_deal - Delete deal
qontak.delete_deal - List tasks
qontak.list_tasks - Get task
qontak.get_task - Create task
qontak.create_task - Update task
qontak.update_task - Delete task
qontak.delete_task - List notes
qontak.list_notes - Get note
qontak.get_note - Create note
qontak.create_note - Update note
qontak.update_note - Delete note
qontak.delete_note - List pipelines
qontak.list_pipelines - Get pipeline
qontak.get_pipeline - Pipeline stages
qontak.list_pipeline_stages - Qontak Chat API request
qontak.api_request
Pengaturan
Graphrt menyalakan plugin dengan environment yang bersih. Hanya nilai ini yang sampai ke plugin, dan secret tidak masuk log.
-
QONTAK_CLIENT_IDMekari Developer application credentials, for HMAC auth on api.mekari.com (recommended) -
QONTAK_CRM_USER_SSO_IDOptional: the CRM user (SSO id) actions are done as, sent as X-Crm-User-Sso-Id on CRM requests -
QONTAK_CHAT_TOKENOmnichannel API token (bearer, older host service-chat.qontak.com) -
QONTAK_CRM_TOKENCRM API token (bearer, older host app.qontak.com/api/v3.1) -
QONTAK_AUTH_MODEForce hmac or bearer (default: hmac when the client id and secret are set) -
QONTAK_TOOL_ALLOW_SEND1 lets agent tools use send_whatsapp_template -
QONTAK_TOOL_RECIPIENT_ALLOWLISTComma-separated E.164 numbers agent tools may send to (required for tool sends) -
QONTAK_TOOL_ALLOW_CRM_WRITES1 lets agent tools create and update CRM records -
QONTAK_CLIENT_SECRET
Cara memakainya
Di Graphrt Desktop
- Buka Plugins dan cari Qontak.
- Klik Install lalu setujui.
- Ikuti langkah setup di halaman plugin, lalu tempel pengaturan yang dibutuhkan.
- Jelaskan pekerjaan yang membutuhkannya, dan builder menambahkan langkahnya.
Dengan CLI
$ graphrt plugin install qontak --yes - id: otp
type: qontak.send_whatsapp_template
to_number: "+6281234567890"
to_name: "{{#start.name#}}"
message_template_id: "{{#start.template_id#}}"
channel_integration_id: "{{#start.channel_id#}}"
language_code: id
parameters: { body: [{ key: "1", value_text: "{{#start.code#}}", value: "otp" }] }
- id: deal
type: qontak.create_deal
name: "Paket A - {{#start.name#}}"
crm_pipeline_id: 2
crm_stage_id: 1
currency: IDR
size: 1500000