How can I make the bot understand what day of the ...
# 🤝help
q
I want the AI to show activities from the database based on the current day of the week
f
Hi @quiet-kite-63878 you could use an Execute card and then in the "Generate code" input enter a prompt like "Store the name of the day of the week (in lowercase) in a workflow variable called dayOfWeek". It should automatically (or should I say, automagically 😄 ) generate the proper code to do it and then in the rest of your bot workflow you can refer to the
@dayOfWeek
variable to have some logic depending on what day of the week it is.