Alarm clock implementation

Hi everyone, 

I would like to create an alarm clock, the user should be able to set alarm at specific hour and the app should alert with a notification.

Any tips of how to implement something similar? I was thinking about collecting information using a form, saving them in a table and then creating automation to check time and trigger alarm when needed (specific time stored in the table)

Thanks in advanced for any support!

 

 

 

 

 saving

Solved Solved
1 8 918
1 ACCEPTED SOLUTION

Aurelien
Google Developer Expert
Google Developer Expert

A workaround that comes to my mind: Using an Apps Script, which can be triggered on a granular way, and call an AppSheet bot with it, using the AppSheet REST API.

View solution in original post

8 REPLIES 8

Aurelien
Google Developer Expert
Google Developer Expert

Hi @Fabrizio 

I think you are on the right path with a notification triggered by a bot.

I didn't give a try yet, but you may want to try this in your bot process ? 

Aurelien_0-1662381841786.png

 

Hi @Aurelien , 

Thanks much for your hint, just another question, do you know if it is possible to trigger events scheduled every hour/minute?

@Fabrizio 

As far as I know you can't.

But you can set various bots, on a weekly period such as here:

Aurelien_0-1662384529231.png

 

So, if you need to check something 7 times a day...you will need to build 7 events. 

The processes attached to these events would be to "call a process" as often as necessary.

I'm afraid this could be tedious, I hope someone will give another idea !

As far as I have learned so far I agree with you @Aurelien . Let's see if someone else have different approach

The point is that as long as I need hour schedule it is tedious but feasible, if the granularity gets finer it would be tough 

๐Ÿ™‚

Thanks much for your huge support!


@Aurelien wrote:

I'm afraid this could be tedious, I hope someone will give another idea



@Fabrizio wrote:

Let's see if someone else have different approach


Since this is something slightly out of the scope of AppSheet, it will be cumbersome with no doubt IMO

It is definitely as you say @SkrOYC , I'm afraid there is no way around.

 

Aurelien
Google Developer Expert
Google Developer Expert

A workaround that comes to my mind: Using an Apps Script, which can be triggered on a granular way, and call an AppSheet bot with it, using the AppSheet REST API.

oh great, I thought scripts could just be triggered by bot and not the opposite, I deepen into this one, thanks much @Aurelien 

Top Labels in this Space