WhatsApp webhooks: connect group commands to your CRM, ERP or API

In 9bot, integration works from the inside out: when someone uses a command in the group, such as /quote or /order, 9bot makes an outbound HTTP call (GET, POST or PUT) to your CRM, ERP or API endpoint. 9bot does not offer a URL to receive webhooks from other systems. This differs from the Meta Cloud API webhook, which pushes message events to your server.

Outbound callsGET, POST and PUTGroup commands
Reading time: 6 min

How it works in practice

Without a bot, the admin piles up pending requests, a spam link, a question and a forgotten notice. With 9bot, the join is approved with a welcome, the link is deleted with a strike, .menu answers and the scheduled notice goes out at 6 pm.

What is a WhatsApp webhook

Short answer: a webhook is an automatic HTTP call made when an event happens. WhatsApp has two models: the inbound Meta Cloud API webhook, which notifies your server about received messages, and the outbound call triggered by a command, which is the 9bot model for groups.

What is a WhatsApp webhook
AspectCloud API webhook (Meta)Command with API in 9bot
DirectionInbound: Meta calls your serverOutbound: 9bot calls your system
TriggerAccount message eventsCommand sent in the group
MethodsPOST to your endpointGET, POST or PUT
Receiving URL at the providerYou register your URL with Meta9bot has no inbound URL

How a group command triggers a GET, POST or PUT call

1

Create the command

In the 9bot dashboard open Commands and click New command. Set the trigger, which must start with a period, exclamation mark or slash.

2

Choose the API type

Under Response type select API and enter the endpoint and method: GET to read, POST to create, PUT to update.

3

Use it in the group

When an authorized member sends the command, 9bot calls your system.

4

Monitor

Check the execution in the dashboard logs and adjust the command if needed.

The custom commands guide shows the creation screen step by step. For multi step flows, the integration action is also available inside a 9bot workflow.

Strategic decisions based on your communities' real engagement

Use cases: CRM, orders, tickets and automation

Use cases: CRM, orders, tickets and automation
CommandMethodSystemResult
/quotePOSTCRMCreates a lead with the customer request
/order 1234GETERP or ecommerceLooks up the order status
/ticketPOSTHelp deskOpens a support ticket
/stock productGETERPChecks availability
/update 1234PUTCRMMoves a deal to a new stage
/reportPOSTn8n or MakeTriggers an automation scenario

Platforms such as n8n and Make usually expose an inbound URL for each scenario. In that case the 9bot command calls that URL and the platform routes the data to your other systems.

If the group also takes orders from resellers, see how to organize WhatsApp ordering with commands and logging in your system.

Payload example

The example below is illustrative. Fields and endpoint depend on your API contract.

POST https://api.yourcompany.com/leads
Content-Type: application/json

{
  "command": "/quote",
  "group": "Wholesale Customers",
  "text": "20 boxes of product X"
}

For status lookups, a GET with the order number in the URL is usually enough. To update an existing record, use PUT.

Security best practices for outbound webhooks

  • Always HTTPS: never point commands to endpoints without TLS.
  • Dedicated endpoint: create a route just for 9bot, with minimal permissions in the CRM or ERP.
  • Validate in your API: treat incoming text as untrusted input and check format and size.
  • Who can use it: restrict sensitive commands to admins and the right groups.
  • Idempotency and logs: avoid duplicate records and keep an audit trail in your system.
Your marketing team shouldn't be posting one message at a time

Frequently asked questions

Does 9bot receive webhooks from other systems?
No. 9bot offers no inbound URL. It makes outbound GET, POST or PUT calls when a command is used in the group.
How is this different from the official API webhook?
The Meta Cloud API webhook pushes message events to your server. In 9bot, the group command triggers the call to your system.
Do I need to code to integrate with my CRM?
You only need an API endpoint or an inbound URL from tools such as n8n or Make. The command is configured in the dashboard without code.
Which HTTP methods are supported?
GET, POST and PUT.
How much does it cost?
API commands are part of the 9bot plan: US$35 per month for the first 3 months, then US$70 per month, with a 7-day trial and the FIRST9 coupon.

Turn group commands into data in your CRM

326 customers worldwide use 9bot to run WhatsApp groups. Try it for 7 days or talk to a specialist to map the integrations your operation needs.