Powered by
conditions in text card
# 🤝help
f
full-eve-38046
07/07/2024, 1:04 PM
hello do you know how to simply make it so that in a card text the bot says a certain word only if a certain workflow is not empty?
w
wonderful-wolf-37241
07/08/2024, 3:19 PM
text cards can use Javascript expressions enclosed within double curly braces, so you could use a ternary something like :
{{theWorkflow.someCondition ? 'foo' : ''}}
f
full-eve-38046
07/11/2024, 11:23 AM
Thx
Previous
Next