Hi everyone.
I have a question - I want to send dynamically send either text, image or video response from my Bot. I can't seem to find any if / else logic option in botpress.
Also, I can't seem to send msg from code as well.
What's the best way to achieve this?
b
bumpy-butcher-41910
04/24/2024, 4:48 AM
you can use "flow logic" cards from the card tray to make if/then statements
bumpy-butcher-41910
04/24/2024, 4:48 AM
e.g., if the value of variable X is greater than or equal to Y
s
stocky-yak-71520
04/24/2024, 6:40 AM
Hey @bumpy-butcher-41910 Thanks so much.
stocky-yak-71520
04/24/2024, 6:41 AM
Also if you could help on this one
I would like to capture the user's IP address as soon as the chatbot is opened and then store it in the workflow under the workflow.ip variable. Is it possible ??