Graphrt

Fonnte

Send messages and files, validate numbers, device status and groups, agent sends need an opt-in and an E.164 recipient allowlist

Experimental v0.1.0 Node.js 8 actions ToS risk high
Use in Graphrt Desktop

About

A Graphrt plugin for Fonnte, an Indonesian WhatsApp gateway that sends from your own WhatsApp number linked to a Fonnte "device" (API docs): send messages and files, check which numbers are on WhatsApp, read the device status and quota, and list groups.

What it can do

  • Device: get_device (number, connect/disconnect, package, remaining quota, expiry), disconnect_device (node only)
  • Messages: send_message (one number, message and/or file_url, schedule, typing indicator), send_group_message (node only), delete_message (node only, pending or scheduled messages)
  • Numbers: validate_numbers (which numbers are registered on WhatsApp, up to 500)
  • Groups: list_whatsapp_groups, fetch_whatsapp_groups (node only, refreshes the list from WhatsApp)

Actions

Each action is a step you can add to a workflow. Agents can also use most of them as tools.

  • Device profile fonnte.get_device
  • Validate numbers fonnte.validate_numbers
  • List groups fonnte.list_whatsapp_groups
  • Send message fonnte.send_message
  • Send group message fonnte.send_group_message
  • Delete message fonnte.delete_message
  • Refresh groups fonnte.fetch_whatsapp_groups
  • Disconnect device fonnte.disconnect_device

Settings

Graphrt starts plugins with a clean environment. Only these values reach the plugin, and secrets stay out of logs.

  • FONNTE_TOKEN Required
    Device token (Dashboard → Device → Token), sent as the Authorization header
  • FONNTE_TOOL_ALLOW_SEND Optional
    1 lets agent tools use send_message
  • FONNTE_TOOL_RECIPIENT_ALLOWLIST For agent sends
    Comma-separated recipients agent tools may send to: full E.164 numbers, matched exactly (+6281234567890), or prefixes with a trailing and at least 4 digits (+62812). +62* and other broad prefixes are refused

How to use it

In Graphrt Desktop

  1. Open Plugins and search for Fonnte.
  2. Click Install and approve it.
  3. Follow the setup steps on the plugin's page, then paste the settings it needs.
  4. Describe a job that needs it, and the builder adds the steps.
Plugins in Graphrt Desktop

With the CLI

terminal
$ graphrt plugin install fonnte --yes
workflow.yaml
- id: check
  type: fonnte.validate_numbers
  numbers: ["+6281234567890"]
- id: send
  type: fonnte.send_message
  target: "+6281234567890"
  message: "Pesanan {{#start.order_id#}} sudah dikirim"
- id: invoice
  type: fonnte.send_message
  target: "+6281234567890"
  message: Invoice terlampir
  file_url: https://example.com/invoice.pdf
  filename: invoice.pdf
Plugins in the docs