Birthday App

I have two tables(sub sheets) in the sheet , First tableโ€™s name is Main Sheet and second tableโ€™s name is Sheet2 โ€ฆMain sheet has 3 columns ID , Name and Birthdate and Sheet2 has ID , Name and Image URL โ€ฆ
I want to make bot which runs daily at 9 am everyday and checks for a birthday if anyoneโ€™s birthday has a birthday today and if anyone has birthday today then that bot should update the name and image url in the Sheet2โ€ฆHow can i do this please help with i m new to this โ€ฆplease help


0 5 218
5 REPLIES 5

Should be pretty simple, I have outlined the steps below:

  1. Set up a new Bot and Event
  2. Change the event to Schedule, Daily @ 9am
  3. Turn on the for each row in table switch and choose the correct table.
  4. Set up the following filter condition: [Birth Date] = TODAY()
  5. Set up a new process within the Bot and change it to โ€œRun a Data Actionโ€
  6. Select the โ€œAdd New Rowsโ€ button and select the table to add the new Row to which would be Sheet 2.
  7. Select which rows you want to update in the new table, this can include data from your other table, for example, ID = [ID], Name = [Name].

Hope this helps.

Step 4 you suggested does not work because year does not match , I have used TEXT([Birth Date], โ€œDD/MMโ€) = TEXT(TODAY(), โ€œDD/MMโ€) this condition and have set up the bot as you told but data does not get added/updated to Sheet2โ€ฆ
What should i do?

Oh yeah, didnt think about the year!, probably a much easier way of doing this but you could have 4 virtual columns in your first table with the following formulas, DAY([Birthdate], MONTH([Birthdate]), DAY(TODAY()), MONTH(TODAY()), you can set these to hidden if you donโ€™t want them to show in the main app. For ease lets just call the Virtual Columns Date 1, Date 2, Date 3 & Date 4.

Then the filter in step 4 should now read as follows:
AND([Date 1] = [Date 3], [Date 2] = [Date 4])

Uk
Silver 1
Silver 1

How about this:  Ifs(text([date],"ddmm")=text(today(),"ddmm"),"birthday")

Why there are two tables? What's the purpose of the Sheet2? What's the URL column for?

I mean, this is quite easy but it doesn't make sense to add the same user with it's ID to another table, it's weird from a RDB perspective

Top Labels in this Space