How to get specific calendar events?

Hi! How can I grab the first and/or last event of the day from my calendar in Shortcuts (or IFTTT) in order to create a summary of my day?

There is a “Find Calendar Events Where” action which you can use to locate the events for the day and limit it to 1 event, ordered by either the latest or oldest order depending on wether you want the first or last event of the day.