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

In a business operations group, the team uses an authorized command to request a lookup or record in its CRM. The external system validates the request, and the team checks the outcome in its records without exposing private information in the group.

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.

How do WhatsApp group commands connect to a CRM?

With 9bot, a WhatsApp-to-CRM workflow starts with a command in a group. The command triggers an outbound HTTP request to the destination API using GET, POST or PUT. 9bot does not receive CRM webhooks, synchronize individual conversations or provide a two-way integration through this command flow.

For a B2B sales team, a command can request a record creation or an authorized lookup. The CRM must expose a compatible endpoint, directly or through an integration layer. Results depend on the destination API's contract, permissions and validation. Naming a CRM does not establish compatibility.

How do WhatsApp group commands connect to a CRM?
StageOwner and boundary
Define the needThe team decides which record or lookup a group may request
Prepare the endpointThe destination validates authorization, inputs and operation
Configure the commandSelect the API response type, address and compatible method in the dashboard
Test in a controlled groupVerify the result in the business system without exposing private data
Review logs and exceptionsThe team investigates failures and prevents duplicate operations

With n8n or Make, the inbound webhook URL belongs to that automation service. It receives 9bot's outbound call and passes data to the other systems. It does not create an inbound endpoint in 9bot. Store credentials in the appropriate configuration, never in public command text or group messages.

For order lookups, authorize only information suitable for the group. Restrict sensitive changes and validate them at the destination. Do not copy personal opportunity data into a shared conversation without a justified need and authorization.

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.
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.
Can I connect any CRM to WhatsApp through 9bot?
The CRM or integration layer must offer a compatible API for the configured outbound request. Check methods, authentication, fields and permissions. Universal compatibility is not guaranteed.
Can the CRM send a webhook to 9bot in this workflow?
No. 9bot does not provide an inbound endpoint. The flow starts with a group command and goes to an external system.
Does this synchronize individual WhatsApp conversations?
No. It is a group-command workflow that makes outbound requests to systems, not a shared customer-support inbox or individual conversation sync.
Do I need development work to connect a CRM?
You need a compatible destination endpoint with appropriate authentication and validation. The command is configured in the dashboard; preparing the CRM or intermediary may require technical help.

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.