Daily concerts and shows for your upcoming trips

Every morning, scan your calendar for upcoming trips and email you a curated lineup of concerts, sports, and shows for each destination.

Agentic Task
Google CalendarTicketmasterGmailPersonal ProductivityDaily DigestsEmail AutomationResearch & Monitoring

Build me an agent workflow that runs every morning at 7am in my local time zone and sends me a personalized lineup of concerts, sports games, and live shows happening in cities I'm about to travel to.

Trigger: cron, daily at 7am local time.

Steps the agent should follow on each run:

1. Call Google Calendar List Events on my primary calendar with timeMin = now and timeMax = now + 60 days, singleEvents = true, orderBy = startTime. Keep only events that look like trips, meaning the summary starts with "Trip to " (case-insensitive) or the event has a "Travel" tag in its description, location, or extendedProperties. If zero trips match, exit the workflow cleanly without sending an email.

2. For each matching trip, parse the destination city out of the event (prefer the location field, fall back to the text after "Trip to " in the summary) and capture the trip's start and end timestamps. Treat all-day events as covering the full local day range.

3. For each trip, call Ticketmaster Search Events with city set to the destination, startDateTime set to the trip start, endDateTime set to the trip end, size = 50, sort = relevance,desc. Bound the date window tightly to the trip dates, do not query the full 60-day window per trip, because the Discovery API caps deep paging at page * size < 1000. If the city is ambiguous or returns nothing, retry once with latlong + radius based on a known city centroid before giving up.

4. Group the returned events by local calendar night in the destination's time zone. For each night, pick the top 3 to 5 picks balancing classification diversity (mix music, sports, and theater when possible) and headliner popularity (use the attraction's rank/upcomingEvents count or the event's relevance score as a proxy). Drop duplicates and obvious parking/VIP add-on listings.

5. Compose a single HTML email with one section per trip in chronological order. Each section has a header with the destination and date range, then per-night subsections listing each pick with event name, classification, venue name, local start time, and a direct Ticketmaster URL (the event's url field). Keep the design clean and scannable, light styling only.

6. Send the email via Gmail Send a Message to me, with subject "Your trip lineup: <comma-separated destinations>" and the HTML body from step 5. Use my authenticated Gmail account as the sender.

Guardrails:

- Never send an empty email. If trips exist but no events came back from Ticketmaster for any of them, skip the send and log the reason.

- Respect Ticketmaster's 5 requests per second limit. Throttle to about 4 rps and back off on 429.

- Always read the events array out of the Ticketmaster _embedded envelope, and treat IDs as opaque strings.

- Render all times in the destination city's local time zone, not mine.

Additional information

What does this prompt do?
  • Reads your Google Calendar each morning and finds any travel events in the next 60 days.
  • Looks up concerts, sports games, and theater shows in each destination city, scoped to the exact dates you will be there.
  • Picks the three to five best options per night, balancing music, sports, and live performance with headliner appeal.
  • Sends you one clean email per morning with a section for each trip, listing venue, start time, and a direct link to buy tickets.
  • Sends nothing on days when you have no upcoming trips, so your inbox stays quiet.
What do I need to use this?
  • A Google account with Calendar and Gmail access.
  • A Ticketmaster developer account so we can search live events on your behalf.
  • A simple convention for trip events in your calendar, such as titling them "Trip to Austin" or tagging them "Travel".
How can I customize it?
  • Change the send time and time zone so the email arrives whenever you like.
  • Adjust how far ahead it looks, for example seven days for short-haul planning or ninety days for big trips.
  • Filter the picks by genre, such as only music or only sports, or set a personal blocklist for shows you never want to see.

Frequently asked questions

How does it know which calendar events are trips?
It looks for events whose title starts with "Trip to" or that carry a "Travel" tag or label. You can change the convention to anything you already use.
Will it spam me on days when I'm not traveling?
No. If nothing in the next 60 days looks like a trip, the workflow exits quietly without sending an email.
Which cities and venues are covered?
Anywhere Ticketmaster sells tickets, which includes most major North American and European markets across music, sports, and theater.
Can I get the email in a Slack channel or as a calendar invite instead?
Yes. Tell the agent where you want results delivered when you set it up, and it will swap out the Gmail step for your preferred channel.
What if my trip dates change after the email goes out?
The next morning's run reads your calendar fresh, so updated dates and destinations are reflected automatically the following day.

Land in a new city with plans already lined up.

Connect Google Calendar, Gmail, and Ticketmaster once, and wake up to a tailored entertainment shortlist for every trip.