Hi both @Thai_An@maxe, I have not found yet a reliable solution.
Currently as a hack, I copy the webhook node with dynamic id in all my other workflows where I need the dynamic id. This way it is always the same url.
So, I created GET /article/:id in one workflow.
For PATCH /article/:id, I copied the webhook node from GET /article/:id.
For DELETE /article/:id, I also copied the webhook node from GET /article/:id.
You need to make sure to change the HTTP Method for each node.
Hi @pemontto, I do not think it is a good idea. Workflows can get pretty heavy and clumbered on their own with complicated business logic, I’d rather have a workflow for each endpoint than squash all of them in a single worfklow.
btw i found a service named “webhook relay” and set up the rules there. it’s more suitable for my case as i have different path lenghts. so, it might be
/:param1,
/:param1/:param2
or even
/:param1/:param2/:param3
what i’ve done is i set up a webhook forwarding in the service i mentioned AND set the rules so that it forwards to the one that i need depending on path lentgh
Currently, using the latest (1.110.1, also tried 1.109.1) at docker do still get the “dynamic” URL at webhook while using params, the issue’s still there. Did I miss anything?