FunnelChat: API, dashboard and infrastructure
We built and evolved the Go API layer on whatsmeow. Our work also includes SaaS dashboard features, integrations and infrastructure.
The API covers messaging, media, campaigns and webhooks, with implemented endpoints compatible with Z-API. We worked on an outbox and dead-letter queue (DLQ) to handle delivery failures. Browser calls were integrated through a WebRTC bridge with an embedded third-party VoIP engine.
In the Next.js SaaS dashboard, we implemented features and the Stripe integration. We also implemented an MCP server with OAuth 2.1 to expose API functions to AI agents.
We built the initial AWS infrastructure and led the application’s migration to Kubernetes on Oracle Cloud. The configuration includes autoscaling, NATS JetStream and PostgreSQL with CloudNativePG. Provisioning uses Terraform; routing in the ECS stage was implemented in Go.
To optimize costs, we adapted application images for ARM64, resized resources and replaced the application’s storage with OCI Object Storage. Security controls include keeping credentials out of the browser, single-use tickets, SSRF protection and signed images.
- Go
- whatsmeow
- Next.js
- TypeScript
- Stripe
- MCP
- PostgreSQL
- NATS
- AWS
- Oracle Cloud
- Kubernetes