@Rozza the user can create the flow themselves they can choose whether it is a SMS or email the content and the amount of time after the contact will receive the email.
I’m very. new with xano so simplifying it would be awesome. I’ve managed to build everything else just struggling with this.
do you think you would have time to show me over a google meet or anything?
OK, more complex perhaps, but I suggest a simpler solution.
When the user is added to the group, loop over flow add rows in a table comms_scheduled…
comms_scheduled
user(ref),
flow(ref),
scheduled(date/time),
sent (bool)
then use a chron job to loop over comms_scheduled filtering out those already sent and not due to be sent yet. Fire off the API calls for SMS and Email accordingly. Referencing flow.type[email,sms], flow.title, flow.body etc. You could also add Push notifications fairly easily.
So each user added to a group would create 3 new rows in comms_scheduled
If a user is removed from a group then you will need to delete the rows from comms_scheduled
Yes I’m happy to help if you need some more guidance. To book a slot… Link in my bio.