Add school and club dates to the family calendar
Dates from school and club e-mails become calendar events with the place and a reminder.
- On an event: When an e-mail from a school or a club arrives
What it does
The task
Read the unread e-mails from senders that arrived since the last run, and their PDF attachments. Find each event, deadline and change of time in them. Add each new item to the Google Calendar calendar with the title, the place, the time and a link to the e-mail, and add a reminder reminder before it. When an e-mail changes the time of an event that is already in the calendar, update that event. Do not add an event twice, and do not invite guests. Send me a list of the events that you added or changed.
- It works in Gmail and Google Calendar, in the workspace you pick, and signs in with passwords from your Cuiar vault.
- A routine checks every 15 minutes and acts on what is new: when an e-mail from a school or a club arrives.
What you give it
| Blank | What to give | Example |
|---|---|---|
| senders | Sender addresses or domains of the school and the clubs | oakhillschool.org, riverbendfc.org |
| calendar | The name of the shared calendar | Family |
| reminder | How long before each event | 1 day |
What you get back
An example run with the example values above. Your run uses your own data.
Family calendar, from 2 new e-mails
Added:
- Sat 7 Nov, 9:30 to 11:00: U9 match against Westbrook, Hollow Lane pitch 2 (Riverbend FC)
- Wed 11 Nov, 18:00 to 20:00: Parents' evening, Oak Hill School hall
- Fri 13 Nov: deadline for the winter concert form
Changed: Thursday training starts at 17:30, not 17:00, from 5 Nov (4 events updated)
Already in the calendar: school photos on Fri 6 Nov
Run it in Cuiar
- 01
Open it
Click Use in Cuiar on this page. The side panel opens with the task in the composer.
- 02
Fill in 3 blanks
Type senders, calendar and reminder. Tab moves to the next blank.
- 03
Run it, then repeat it
Run sends it once. To run it when an e-mail from a school or a club arrives, make a routine on cuiar.com/routines or with the CLI below.
As a routine, from the terminal
cuiar routines create "Add school and club dates to the family calendar" --schedule "*/15 * * * *" --time-zone Europe/Berlin \
"Read the unread e-mails from oakhillschool.org, riverbendfc.org that arrived since the last run, and their PDF attachments. Find each event, deadline and change of time in them. Add each new item to the Google Calendar Family with the title, the place, the time and a link to the e-mail, and add a reminder 1 day before it. When an e-mail changes the time of an event that is already in the calendar, update that event. Do not add an event twice, and do not invite guests. Send me a list of the events that you added or changed."Run it from your AI agent
Claude Code, Codex, Cursor and other MCP clients reach Cuiar at https://mcp.cuiar.com/mcp. Add the server one time, then ask for the task in plain words, or call create_routine yourself.
1. Add Cuiar to Claude Code
claude mcp add --transport http cuiar https://mcp.cuiar.com/mcp2. Ask your agent
Use the Cuiar tool create_routine to run my "Add school and club dates to the family calendar" template with senders = oakhillschool.org, riverbendfc.org; calendar = Family; reminder = 1 day.Setup for other agents: AI agents.
The tool call
{
"name": "create_routine",
"arguments": {
"name": "Add school and club dates to the family calendar",
"task": "Read the unread e-mails from oakhillschool.org, riverbendfc.org that arrived since the last run, and their PDF attachments. Find each event, deadline and change of time in them. Add each new item to the Google Calendar Family with the title, the place, the time and a link to the e-mail, and add a reminder 1 day before it. When an e-mail changes the time of an event that is already in the calendar, update that event. Do not add an event twice, and do not invite guests. Send me a list of the events that you added or changed.",
"schedule": "*/15 * * * *",
"time_zone": "Europe/Berlin"
}
}Related templates
All personal templatesResearch
Brief me before each meeting
Who you meet, what their company does, and what you discussed last time.
On an event: Before each meeting with an external guest- Google Calendar
- LLinkedIn
- Gmail
SalesAsks first
Draft a reply to each new lead
Research the sender, answer each question and offer two times for a call.
On an event: When an e-mail from a new lead arrives- Gmail
- HubSpot
- Google Calendar
OpsAsks first
Find a meeting time and reply with options
Three free times from your calendar in a draft reply to each meeting request. You approve each reply.
On an event: When an e-mail asks you for a meeting- Gmail
- Google Calendar
OpsAsks first
Accept or decline meeting invitations by your rules
A suggested answer and a reason for each new invitation, with a short note for each decline.
On an event: When a new meeting invitation arrives- Google Calendar
- Gmail
OpsAsks first
Send a recap and action items after each meeting
Decisions, owners and due dates from the meeting transcript, in a draft e-mail to the guests.
On an event: When a meeting with a transcript ends- Google Calendar
- Google Meet
- Google Docs
- +1 more: Gmail
CareerAsks first
Send a thank-you note after each interview
A short note to each interviewer with a point from your talk, drafted when the interview ends.
On an event: When an interview in your calendar ends- Google Calendar
- Gmail