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.
![](https://downloads.intercomcdn.com/i/o/935445754/7db367eca67d57f034897e49/image.png)
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 ![:blush: :blush:](https://community.retool.com/images/emoji/apple/blush.png?v=12)