https://discord.gg/botpress logo
I need a reminder to be sent when students are ina...
# 🤝help
b
I need a reminder to be sent when students are inactive. I created an "inactivity set time" node, but I don't know how to connect it or if it should remain disconnected from any node, because when I connect it to the flow, it doesn't work.
w
that node is used to change the timeout in that specific conversation, and when the timeout happens, it throws the user in the timeout workflow (which is pre-created and has a blue icon on the top left)
the workflow variables and user position are also wiped
so it's more of a "your conversation is finished bye" than it's a reminder message
b
Ah, I understand. So there's a card I can use for sending reminders? I think I was using the wrong one.
w
unfortunately no single block for that, you're gonna need a more advanced solution
but the gist of it is 1. when the user sends a message, update a row in a table with their lat message sent timestamp 2. use a fixed schedule trigger to get all users which last message's timestamp is greater than your desired time delay 3. send a reminder to those userds
b
ok thak you for the information
3 Views