Daily
Create calendar reminders for upcoming Airtable due dates
Purchase orders due in the next week get a reminder in your Google Calendar, without duplicates.
- Runs
- Daily
- Apps
- Airtable, Google Calendar
- AI
- Not needed
- Access
- Airtable read/write; calendar.events
Send this to your assistant
Create a ClickRuntime automation: every day, create Google Calendar reminders for Airtable purchase orders due in the next 7 days that don't have one yet.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
A small manufacturer tracks purchase orders in Airtable. Due dates are in a column, but nobody looks at the table every day, and a late delivery is often only noticed when the production line is waiting for parts.
A reminder in the calendar people already use puts each due date in front of the buyer a few days ahead, when there is still time to chase the supplier.
What you get out of it
Chase suppliers before it is late
Seeing a due date in your calendar during the week gives you time to confirm the delivery or find an alternative.
Reminders where you already look
Your calendar is open all day, unlike the Airtable base, so due dates get noticed.
One reminder per order
Each order is marked once its reminder exists, so the calendar is not filled with copies.
Airtable stays the source of truth
Dates are entered once in Airtable, and the calendar follows, so there are not two lists to keep in sync.
How it works
What happens, step by step
Every day ClickRuntime looks in your Airtable Purchase Orders table for orders due in the next 7 days.
It skips orders that already have a reminder.
For each remaining order it adds an event to your Google Calendar on the due date, with the supplier and order number.
It marks the order in Airtable so it does not get a second reminder.
Before it runs live
- Connect Airtable
- Connect Google Calendar
What you get
Build your own
Need it to work differently?
Your own rules
Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.
Any number of apps
One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.
AI where it helps
Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.
On a schedule or on each event
Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.
Changes you can ask for
- Run it at a different time, more or less often, or only on weekdays
- Add an AI step, for example to summarize, sort or draft a reply
- Add another app, for example also send it to Slack
- Combine it with other Airtable and Google Calendar steps into one automation
Under the hood
The code that runs this automation
from googleapiclient.discovery import build
from google.oauth2.credentials import Credentials
from clickruntime import on_trigger, credentials, http
URL = "https://api.airtable.com/v0/appXXXXXXXX/Purchase%20Orders"
@on_trigger
def run(event):
h = {"Authorization": f"Bearer {credentials.secret('AIRTABLE_API_KEY')}"}
formula = "AND(IS_BEFORE({Due}, DATEADD(TODAY(), 7, 'days')), IS_AFTER({Due}, DATEADD(TODAY(), -1, 'days')), {Reminder} = '')"
records = http.get(URL, headers=h, params={"filterByFormula": formula}).json()["records"]
cal = build("calendar", "v3", credentials=Credentials(credentials.connection("google", "work")), cache_discovery=False)
for r in records:
f = r["fields"]
ev = cal.events().insert(calendarId="primary", body={"summary": f"PO {f.get('PO Number')} due: {f.get('Supplier')}",
"start": {"date": f["Due"]}, "end": {"date": f["Due"]}}).execute()
http.patch(URL, headers=h, json={"records": [{"id": r["id"], "fields": {"Reminder": ev["id"]}}]})
return {"reminders": len(records)}FAQ
Common questions
What if a due date changes in Airtable?
Can reminders go to the person who owns each order?
Does it work for tables other than purchase orders?
What permissions does it need?
Does it need AI?
How many runs does it use?
Can I change how it works?
Related
You might also like
Book appointments into your calendar and log clients in Airtable
Each booking request is placed in a free slot in your calendar and the client is added to your Airtable CRM.
See how it worksBook a kickoff meeting when a client starts onboarding
When a client's status changes to Onboarding in Airtable, a kickoff meeting is booked with them and the link is saved on their record.
See how it worksBook interviews for candidates you shortlist in Airtable
When you mark a candidate as Shortlisted in Airtable, the next free 30-minute slot is booked on your calendar and the candidate is invited.
See how it worksKeep exploring
Set up “Create calendar reminders for upcoming Airtable due dates” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.