Files
wehub-resource-sync f36e2104d8
tests / ragflow_tests_infinity (push) Has been cancelled
tests / ragflow_tests_elasticsearch (push) Has been cancelled
sep-tests / ragflow_preflight (push) Has been cancelled
sep-tests / ragflow_tests_infinity (push) Has been cancelled
sep-tests / ragflow_tests_elasticsearch (push) Has been cancelled
tests / ragflow_preflight (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:16:49 +08:00
..

RAGFlow WhatsApp Gateway

This directory contains a minimal WhatsApp gateway built on top of @whiskeysockets/baileys.

Install

cd api/channels/whatsapp/gateway-node
npm install

Run

WHATSAPP_GATEWAY_PORT=3005 \
WHATSAPP_GATEWAY_DATA_DIR=~/.ragflow/whatsapp-gateway \
npm start

API

  • POST /whatsapp/:sessionKey/start
  • GET /whatsapp/:sessionKey/status
  • GET /whatsapp/:sessionKey/events/ws?after=<seq> (WebSocket)
  • POST /whatsapp/:sessionKey/send
  • POST /whatsapp/:sessionKey/stop

Notes

  • Authentication state is persisted under WHATSAPP_GATEWAY_DATA_DIR.
  • Scan the QR code exposed in status.qr_data_url.
  • RAGFlow polls status and events and forwards inbound messages to the connected assistant.