Hi everyone,
I am trying to push some JSON data into our BigQuery instance through a Workflow (Gets triggered through a webhook). I use the GUI SQL editor, and map the Key Value pairs for a field
that has some JSON data in it. On BigQuery, the corresponding field is also set as JSON. But unfortunately, the data auto-sent by Retool tries to capture the JSON structure with a STRUCT. Since that JSON is dynamic, we do NOT want to use a STRUCT on BigQuery, but rather we want to keep it as a JSON blob.
My question is, is it somehow possible on the Workflow UI to force Retool to send such values as JSON rather than a STRUCT? I've tried {{JSON.stringify(field.value)}}
instead of {{field.value}}
while mapping the value to the field, but that did not do the trick.
I do NOT want to manually construct the JSON '{}'
string myself, and am hoping to find a Retool-sanctioned solution to the problem.
Thanks,
Cansin