New to workflows, can't find any useful info on exactly how to pass data from the front end app into a workflow based on a webhook.
I have a simple test app with a Retool workflow resource, this has a json parameter;
{"week8" : "test"} that 'should' get passed to the workflow which is called by a submit button.
in the workflow its a webhook trigger connected to a send email block. the block has "startTrigger.data.week8"
when i click the submit button the workflow gets activated and the email gets sent but the parameter "startTrigger.data.week8" = undefined and no error message or reason why!.
app canvas
Drag text input, text, and button components to the canvas. Set the click event handler to call the query below. Set the text component value to be something like
It works with the test json from the workflow when i click run. So it seems that the params from the app are not getting passed in,
I only get "undefined" when clicking submit form the front end app - very frustrating.
Nothing in the history other than it ran successfully.