WhatsApp Workflow Engine
Keyword-triggered conversational workflows via Interakt
Webhook Endpoint
POST /api/webhooks/interakt/incomingConfigure this URL in Interakt dashboard to receive incoming WhatsApp messages.
Workflows API
GET /api/workflows- List allPOST /api/workflows- CreateGET /api/workflows/:id- Get onePUT /api/workflows/:id- UpdateDELETE /api/workflows/:id- Delete
Conversations API
GET /api/conversations- List allGET /api/conversations/:phone- Get historyDELETE /api/conversations/:phone- ResetGET /api/conversations/:phone/collected-data
Analytics API
GET /api/analytics/workflows- StatsGET /api/analytics/conversions- Conversions
Utilities
GET /api/utils/wa-link- Generate wa.me linkPOST /api/seed- Seed example workflowsGET /api/health- Health checkPOST /api/test/simulate- Test messages
Quick Start
- Copy
.env.exampleto.env.local - Add your MongoDB URI and Interakt API key
- Run
npm run dev - POST to
/api/seedto create example workflows - Use
/api/test/simulateto test