When I post a Slack message from a Retool Workflow, any interpolated values in the text
field are rendered as [object Object]
in slack:
I tried this from a Retool app and it works as expected: the value is interpolated correctly in the slack message. This bug only occurs in Retool Workflows.
Hey @omarkhan! That's definitely strange and I would expect this to work as is. Could you try {{"Testing: foo"}}
or {{"Testing: " + "foo"}}
to see if that makes any difference?
With those inputs it posts [object Object]
to slack:
It seems to be working as expected for me like this! Could you try putting your text into a JS code block like this, and then referencing that code block? Seems like the query thinks the content in between your double curlies is JSON/not just a string.

That works! Thanks for the workaround.
Still very odd behavior, considering in works as expected in a Retool app.
Yeah, very odd indeed. I'll look more into why this wasn't working for youβthank you for surfacing! And glad to hear the workaround worked for you 