Qontak
WhatsApp template sends (agent opt-in + exact E.164 recipient allowlist, never retried), templates, channels, rooms and broadcast logs, CRM contacts, companies, deals, tasks, notes and pipelines (agent writes opt-in, deletes node only)
Experimental v0.1.0 Node.js 39 actions ToS risk low
About
A Graphrt plugin for Mekari Qontak, an Indonesian CRM and omnichannel platform: - Qontak Chat (Omnichannel): send approved WhatsApp templates, read templates, channel integrations, rooms and broadcast logs. - Qontak CRM: contacts, companies, deals, tasks, notes, pipelines and stages.
What it can do
- 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).
Actions
Each action is a step you can add to a workflow. Agents can also use most of them as tools.
- 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
Show all 39 actions
- 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
Settings
Graphrt starts plugins with a clean environment. Only these values reach the plugin, and secrets stay out of logs.
-
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
How to use it
In Graphrt Desktop
- Open Plugins and search for Qontak.
- Click Install and approve it.
- Follow the setup steps on the plugin's page, then paste the settings it needs.
- Describe a job that needs it, and the builder adds the steps.
With the CLI
terminal
$ graphrt plugin install qontak --yes workflow.yaml
- 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