eigent icon indicating copy to clipboard operation
eigent copied to clipboard

[Feature Request] Integrate Whatsapp

Open Pakchoioioi opened this issue 1 year ago • 5 comments

Motivation

test and integrate camel's WhatsAppToolkit into Eigent, user could config from the Tools section as shown in the image below

Image

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

Pakchoioioi avatar Aug 27 '25 09:08 Pakchoioioi

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?

fury0928 avatar Jan 31 '26 04:01 fury0928

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.

Wendong-Fan avatar Feb 02 '26 20:02 Wendong-Fan

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

a7m-1st avatar Feb 04 '26 01:02 a7m-1st

Hi, @Pakchoioioi @Wendong-Fan I'm confident that I can integrate Whatsapp into Eigent perfectly. Could you please assign it to me?

dataCenter430 avatar Feb 18 '26 18:02 dataCenter430

Closing this as https://github.com/lharries/whatsapp-mcp is not maintained. Feel free to reopen if new reliable method is discovered..

a7m-1st avatar May 15 '26 11:05 a7m-1st