:wave: I'm following this tutorial on getting slac...
# community-help
a
πŸ‘‹ I'm following this tutorial on getting slackbots and tines integrated (https://www.tines.com/blog/chatbots-for-security-and-it-teams-part-3-creating-a-sla[…]c=1irRQnnbGX9ks16T5Zc3IIg%3D%3D%243HnZkdQwYsx8066TVV-iCg%3D%3D), and I'm running into an issue with slash commands. where I have
Copy code
"response": "Hi {{.user_name}}! Thanks for submitting your {{.command}} request to Tines, we're analyzing now"
but when I run the slash command, it treats
{{.user_name}}
as a string, so it comes out as "Hi {{.user_name}}...", am I missing something here?
m
Hi Zach - I think this is gonna be because we've changed from liquid to formulas. Can you try
<<.user_name>>
for example? Or even
<<.body.user_name>>
and
<<.body.command>>
cause I think it refers to how the json is being received
a
no, none of those work πŸ€”
ok, what did it was something like this
Copy code
"response": "<< body.user_name >>"
m
ah, sorry - I should have been clearer
and yeah, i should have removed the
.
- good shout!
I'm glad that worked
a
no worries, thanks for your help, it got me in the right direction