# Fetch All-Day Events Today in Google Calendar and Send Them to Slack

**URL:** <https://community.make.com/t/fetch-all-day-events-today-in-google-calendar-and-send-them-to-slack/12704>\
**Category:** Questions\
**Tags:** google-calendar\
**Created:** [June 30, 2023, 3:01pm UTC](https://community.make.com/t/fetch-all-day-events-today-in-google-calendar-and-send-them-to-slack/12704 "2023-06-30T15:01:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cv102046](https://avatars.discourse-cdn.com/v4/letter/c/13edae/32.png) [@cv102046](https://community.make.com/u/cv102046)\
**Post date:** [June 30, 2023, 3:01pm UTC](https://community.make.com/t/fetch-all-day-events-today-in-google-calendar-and-send-them-to-slack/12704/1 "2023-06-30T15:01:29Z")

</div>

Hi, so I want to create a scenario that does the following:

1. Every day, at 10:30 AM, it scans all the All-Day events in a particular calendar in Google Calendar
2. Aggregate all the entries
3. Send a message to a Slack channel containing the aggregated entries.
4. If there are no entries in the Google Calendar for the day, then a different message is sent to the Slack channel.

Sample:

1. Scan the “_ **People on Leave** _” calendar at 10:30AM

2. Aggregate the following entries (all of these are all-day events and are entered automatically through another [make.com](http://make.com) scenario):  
_ **John - Leave - Whole Day** _  
_ **Stacy - Leave - Whole Day** _  
_ **Adam - Leave - Half Day** _

3. Send the following message to a Slack channel:  
“_ **Employees on leave for today, June 30, 2023:** _  
_ **John - Leave - Whole Day** _  
_ **Stacy - Leave - Whole Day** _  
_ **Adam - Leave - Half Day** _”

4. When there are no entries for the day’s calendar, this message is sent to the Slack channel:  
“_ **Employees on leave for today, June 30, 2023:** _  
_ **N/A** _”

Basically, this is the flow that I need to execute, but I don’t know how to properly set up the Google Calendar module (This screenshot is for a visual representation of the flow only. I haven’t made it work yet, and I don’t even know if “Search Events” is the right trigger.) **Note** : I know how to set up the Text Aggregator and Slack modules; it’s just the Google Calendar module I’m having trouble with setting up.

 ![Screenshot 2023-06-30 at 10.57.00 PM](https://europe1.discourse-cdn.com/flex013/uploads/make/original/2X/1/1d9484a2f97a1d339942be04fe73cd24e2d54a8c.png)

I hope someone can help me. Thank you!

---

<div class="post-metadata">

**Author:** ![Jobless\_Tobacconist](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/jobless_tobacconist/32/5378_2.png) [@Jobless\_Tobacconist](https://community.make.com/u/Jobless_Tobacconist)\
**Post date:** [September 12, 2023, 1:31pm UTC](https://community.make.com/t/fetch-all-day-events-today-in-google-calendar-and-send-them-to-slack/12704/2 "2023-09-12T13:31:36Z")

</div>

Hi 👋🏾

You could try to set up the “Search Events” module using the “now” variable and “setHour” + “setMinute” functions as in the picture below.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/2X/e/e7b38d8584f9a10fe36b22f5cf8547ea9f35eb40.png)

Such a query will list all events (People on leave) planned for the day the scenario is executed.

---

<div class="post-metadata">

**Author:** ![Make\_Bot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/make_bot/32/14661_2.png) [@Make\_Bot](https://community.make.com/u/Make_Bot)\
**Post date:** [October 11, 2023, 8:07am UTC](https://community.make.com/t/fetch-all-day-events-today-in-google-calendar-and-send-them-to-slack/12704/3 "2023-10-11T08:07:18Z")

</div>

This topic was automatically closed because it's resolved or inactive. Please, start a new topic.


