I want to be able to test my workflow in the Retool Editor with urlParams
This is the startTrigger but it only provides a method for setting data
Also, referencing the startTrigger doesn't even hint that urlParams is a property we can use
Current Method
As far as I know, this is the only way to test your workflow with urlParams
Set the trigger as webhook
Copy the cURL
Append the test params
curl -X POST --url "https://api.retool.com/v1/workflows/<GUID>/startTrigger?taco=bell
Inspect in the Editor the last run
Proposed Solution
Add some key/value boxes, or another JSON input field to let us add test urlParams values for validating the behavior of our workflow while staying in the Editor.
Hi @khill-fbmc,
You are correct in that the startTrigger doesn't even hint that urlParams is a property. However, when I tested it as startTrigger.urlParams, it still worked!
You can see in my test workflow we do get the intended taco bell!
This is confirming my original post, that there is no native way in Retool to test a workflow with urlParams.
I feel like it would reduce friction and benefit users to keep testing a workflow all in Retool. No using an external tool, or service, or pasting in copied curls...
My Dream
I would love a way in the editor, to set startTrigger.urlParams for test runs, the same way you can set values for tests in startTrigger.data. Then we click Run and test.