waha icon indicating copy to clipboard operation
waha copied to clipboard

[WEBJS] - After restart, Webhook configuration is lost

Open anderatt opened this issue 1 year ago • 3 comments

Describe the bug

I'm using the latest version of WAHA, and I configure the Webhook to default, save it, and run tests on n8n. Everything works perfectly. However, if I restart the Waha container, the Webhook configuration is lost, and I have to redo it. What's the guidance for this case? It seems to be an application bug.

Version

Get the WAHA version 2025.10

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'Dashboard'
  2. Click on 'Session - Configuration'
  3. Click on '+ Webhook'
  4. Put the value inside URL
  5. Events, unselect all and select message.any
  6. Click on 'Update'
  7. Teste the Waha with n8n using Webhook- now, it doesn't work anymore
  8. Restart the WAHA container
  9. Check your dashboard again and you'll see that the webhook no longer appears. However, if you register again, everything will work again.

Screenshots

Here are the screenshots to help you understand the problem

Image Image

anderatt avatar Oct 19 '25 15:10 anderatt

core version doesn't save it - either use Plus or start a session manually via Dashboard/API https://github.com/devlikeapro/waha/issues/741#issuecomment-2600774278

Or use environment variables https://waha.devlike.pro/docs/how-to/events/#global-webhooks

patron:PRO

devlikepro avatar Oct 20 '25 02:10 devlikepro

core version doesn't save it - either use Plus or start a session manually via Dashboard/API #741 (comment)

Or use environment variables https://waha.devlike.pro/docs/how-to/events/#global-webhooks

patron:PRO

Thanks, this makes sense, but wondering how do you configure multiple webhooks from the env variables? from the dashabord we can configure multiple webhooks, can't find details how to do it from the env variables.

malhar-c avatar Oct 23 '25 16:10 malhar-c

how do you configure multiple webhooks

Using plus version or via API

patron:PRO

devlikepro avatar Nov 05 '25 08:11 devlikepro