Grist : can not manage to make Webhooks working in Yunohost

What type of hardware are you using: Old laptop or computer
What YunoHost version are you running: 12.0.14
What app is this about: Grist

Describe your issue

I need to connect an ActivePieces workflow to Grist with a webhook triggered when a row is added to a table.
It is working fine when testing with the https://docs.getgrist.com/ cloud, but not with Grist on Yunohost.
I have added ALLOWED_WEBHOOK_DOMAINS=* to /home/yunohost.app/grist/custom.env file as advised, but with no result.

Share relevant logs or error messages

When trying to configure Webhooks settings, the status is “Incomplete | Provided url is forbidden” so I think my custom.env is wrong or not taken into account.

I got the same problem when I tried to use Grist webhook from n8n. I managed it by setting the value of ALLOWED_WEBHOOK_DOMAINS to n8n URL, instead of *.

2 Likes

Thanks very much for your answer, but would you (or someone else) give your custom.env file ? I have tried many syntaxes without success.
Here is mine presently :

environment-variables
ALLOWED_WEBHOOK_DOMAINS=https://cloud.activepieces.com

In my view, the file should simply contain something like this: ALLOWED_WEBHOOK_DOMAINS=cloud.activepieces.com
but it’s not working for me.

I use the same type of URL (without the "https://” indeed).

Have you restarted Grist daemon after setting this variable?

1 Like

Indeed… it came to my mind today while working outside ! Tks a lot for your attention.

1 Like