how to disable chatbot if a certain action is completed, like they shouldn’t perform the action at certain time period.chatbot should be disabled
Hi @amina_anvar. Can you elaborate a bit more? What do you mean by “they shouldn’t perform the action at certain time period.chatbot should be disabled”?
@tyd Thank you so much for replying. I am doing a health report bot, so the user have to report daily. I want my bot to respond only a single time each day, that means if a certain user try to report more than one time a day, it should display a message ‘sorry you can’t do today, as your report have stored. You can report tomarrow’. Is that possible?
@amina_anvar It seems like the best way to achieve that would be to use a custom action. For example, in a report_daily_health
action, you could check with the database if they have reported already and send ‘sorry you can’t do today, as your report have stored. You can report tomorrow’ if they already have