timer for trigger
# šŸ¤help
g
Hi guys Using advanced triggers can I make a bot that can be deployed to WhatsApp and if a client hasn’t messaged me in 7 days, the bot will message them?
f
Hey, You can have a Cron Schedule, which would start the conversation proactively. You would probably need to store the users time since last message some place, like the table, and then do a Cron Schedule every day, that would check this table, and see if there are any users that haven't sent any messages in the past 7 days.
It would be complicated, but I think you can do it
g
Do you not think it could be done using a custom code trigger filter something like this(I’m not sure if the code is correct)
f
I honestly haven't tried, but I don't think so. I would recommend you to use a Cron schedule instead.
g
I don’t see why it wouldn’t work like that with the correct code, I will do more investigating
I have no idea what a cron schedule even is ahah
f
64 Views