Fixed Schedule based on users location
# 🤝help
c
Hi y'all 👋 I have a Table where data from users is stored throughout the day. Now I want to set it using the Fixed Schedule to automatically delete the data at midnight based on the user's country (stored in the variable user.Country). 1. Botpress should use the variable user.Country to recognize which country the user is in and what time it is there. 2. f it is already midnight there, the code should be activated and all entries with the country will be deleted. ▶️ Does anyone have any tips on how best to implement this?
q
c
That looks great 🙌 Does this also work on integrations like Telegram and WhatsApp?
f
Unfortunately it will not. You can read about how to get the users location in the WhatsApp docs https://botpress.com/docs/cloud/channels/whatsapp/#location