You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a Messaging API that unifies communication with the Simulator, WhatsApp, and ~~Telegram~ into a single, flexible API. This API will act as a central hub for handling incoming and outgoing messages, seamlessly integrating with Trigger.dev and Supabase to manage message processing and storage.
The workflow ensures:
Incoming messages are saved to the receivedMessages DB.
Responses are generated by the Plugin API.
Outgoing messages are saved to the toSendMessages DB and sent back via the API.
A cyclic design for managing multi-turn conversations effectively.
Tasks
API Design
Define API endpoints for sending and receiving messages:
POST /api/messages/send
GET /api/messages/receive
GET /api/messages/health
Unify Simulator, WhatsApp, and Telegram as part of a single Messaging API.
Integration with Trigger.dev and Supabase
Trigger.dev:
Save incoming messages to the receivedMessages DB.
Call the Plugin API to process and generate responses.
Save outgoing responses to the toSendMessages DB.
Supabase:
Set up the receivedMessages DB for storing incoming messages.
Set up the toSendMessages DB for tracking outgoing messages.
Create a Messaging API that unifies communication with the Simulator, WhatsApp, and ~~Telegram~ into a single, flexible API. This API will act as a central hub for handling incoming and outgoing messages, seamlessly integrating with Trigger.dev and Supabase to manage message processing and storage.
The workflow ensures:
Tasks
API Design
POST /api/messages/send
GET /api/messages/receive
GET /api/messages/health
Integration with Trigger.dev and Supabase
Platform Integrations
Message Processing
Testing
Documentation
Acceptance Criteria
Workflow
The text was updated successfully, but these errors were encountered: