https://discord.gg/botpress logo
Hooks are getting triggered when using an emulator...
# 🤝help
s
Hooks are being triggered perfectly fine when I use the emulator, but not when I use WhatsApp or WebChat. Why is that?
p
Could you show the logs in both cases?
s
For the emulator, I know how to get the logs, but for the other cases, how do I get the logs?
p
in the dashboard, select your bot and then you'll see a logs tab.
I don't see any logs from the emulator, but this is what I get from on my app: 2025-06-23 18:37:53,278 116557 INFO bp_odoo_db odoo.addons.botpress_conversations.controllers.webhook: Received Botpress webhook: { "type": "message", "message": { "type": "text", "payload": { "type": "text", "text": "I hope you are well! Do you have any specific questions about Islam that I can help you with today? I'm based in Addis Ababa and happy to share what I know." }, "direction": "outgoing", "conversationId": "convo-1", "userId": "user-2", "createdAt": "2025-06-23T18:37:52.355+00:00" } }
Which means the emulator is firing the hooks correctly, but as for the whatsapp, I don't see this logs on my app
p
Which hook is it ou say is not being run? Because this one is: before_outgoing_middleware
s
Hooks are now working after I hit the publish button, thanks for your help and support! It would be great if all this is well documented