Hi! Iβm trying to understand how Retool handles webhooks across environments.
I have the same workflow deployed in multiple environments (for example: development, staging, and production). The workflow is triggered via a webhook URL.
My concern is the following:
If the workflows across environments share the same webhook URL, which workflow actually receives the incoming API request?
For example:
-
I have 4 versions of the same workflow (one per environment).
-
An external system sends a request to the webhook URL.
Question:
How does Retool decide which environmentβs workflow is executed?
Is it based on the environment the workflow was deployed to, or could requests be routed to the wrong environment?
Ideally Iβd like to:
-
Keep separate webhook URLs per environment, or
-
Ensure that development/staging traffic never triggers the production workflow.
What is the recommended way to handle this in Retool?
