[Feature Request] Integrate Whatsapp
Motivation
test and integrate camel's WhatsAppToolkit into Eigent, user could config from the Tools section as shown in the image below
Additionally, we need to support the ability for users to trigger eigent tasks by sending messages directly through WhatsApp.
Solution
No response
Alternatives
No response
Additional context
No response
Hi @Wendong-Fan, hope you’re having a good weekend. Could you please add a bit more detail here so I can pick this up?
Hi @Wendong-Fan, hope you’re having a good weekend. Could you please add a bit more detail here so I can pick this up?
Hi @eureka928,
We already have a basic WhatsApp toolkit wrapping CAMEL's WhatsAppToolkit — it can send messages, get templates, and fetch business profiles. Users configure it with WHATSAPP_ACCESS_TOKEN and WHATSAPP_PHONE_NUMBER_ID.
The missing part is inbound messaging — receiving WhatsApp messages to trigger Eigent tasks. This should be built as a new trigger type (TriggerType.WhatsApp) on top of the trigger system being introduced in #823.
So I'd suggest waiting for #823 to land first, then:
Register a webhook endpoint with Meta to receive incoming WhatsApp messages (including the GET verification handshake) Add a WhatsApp trigger type with its config schema (access token, phone number ID, verify token, etc.) Parse incoming messages → create trigger executions Return task results to the user via the existing send_message Happy to discuss further once #823 is merged.
After a quick read regarding this architecture, the way I usually do is create a schedule trigger, then use the toolkit via an agent to get for messages. But this comes with an overhead; so a better solution would be to develop some kind of middleware that uses the get_messages tool programatically.
I think it would be clear once I make a PR regarding the server update. We have all the pieces required to make the middleware now:
- Triggers, Task Queues, Execution Listeners
Hi, @Pakchoioioi @Wendong-Fan I'm confident that I can integrate Whatsapp into Eigent perfectly. Could you please assign it to me?
Closing this as https://github.com/lharries/whatsapp-mcp is not maintained. Feel free to reopen if new reliable method is discovered..