Daily
Get an evening email of today's new Airtable orders
Each evening you get one email listing the day's new orders in Airtable with the total value.
- Runs
- Daily
- Apps
- Airtable, Gmail
- AI
- Not needed
- Access
- Airtable read; Gmail gmail.send
Send this to your assistant
Create a ClickRuntime automation: every evening, email me a summary of today's new orders in Airtable with totals.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
A small wholesaler takes orders through a form that feeds Airtable. The owner wants to know how each day went, but opening the base on his phone and filtering by date is fiddly, so most evenings he does not bother.
A short email at the end of the day gives him the count, the total and the list of orders. He knows where the business stands without opening anything.
What you get out of it
Know how the day went
The count and total arrive in one email. You can see a strong or quiet day at a glance.
Spot problems early
An unusually low day, a missing regular customer or a very large order stands out when you see the list every evening.
No logins or filters
The summary comes to you, so you do not need to remember how the base is filtered.
A daily record in your inbox
Each email is a dated snapshot you can search later when comparing weeks.
How it works
What happens, step by step
Every evening, ClickRuntime reads the orders created in your Airtable base today.
It lists each order with the customer and value.
It adds up the total value of the day's orders.
The summary is sent to you by email.
Before it runs live
- Connect Airtable
- Connect Google through your own Google app (a one-time, 10-minute setup), so it works with your own Gmail
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 Gmail steps into one automation
Under the hood
The code that runs this automation
import base64
from email.message import EmailMessage
from google.oauth2.credentials import Credentials
from googleapiclient.discovery import build
from clickruntime import on_trigger, credentials, http
def send(gmail, to, subject, text):
msg = EmailMessage()
msg["To"], msg["Subject"] = to, subject
msg.set_content(text)
gmail.users().messages().send(userId="me", body={"raw": base64.urlsafe_b64encode(msg.as_bytes()).decode()}).execute()
@on_trigger
def run(event):
records = http.get("https://api.airtable.com/v0/appYourBaseId/Orders",
headers={"Authorization": f"Bearer {credentials.secret('AIRTABLE_API_KEY')}"},
params={"filterByFormula": "IS_SAME(CREATED_TIME(), TODAY(), 'day')"}).json()["records"]
total = sum(float(r["fields"].get("Total") or 0) for r in records)
lines = [f"{r['fields'].get('Customer')}: {r['fields'].get('Total')}" for r in records]
text = f"{len(records)} new orders, total {total:,.2f}\n\n" + ("\n".join(lines) or "No orders today.")
gmail = build("gmail", "v1", credentials=Credentials(credentials.connection("google", "work")), cache_discovery=False)
send(gmail, "me", f"Today's orders: {len(records)} ({total:,.2f})", text)
return {"orders": len(records), "total": total}FAQ
Common questions
How does it know which orders are new today?
Which fields appear in the email?
Will it email me on days with no 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
Get new AI grants you qualify for by email
Each day you get an email with any newly listed AI grants, a note on whether you look eligible, and every grant saved in Airtable.
See how it worksSend subscribers a short AI-written email on their chosen topic
Every morning, each active subscriber in your Airtable base gets a short email written for their topic, sent from your Gmail.
See how it worksEmail 20 new Airtable leads every weekday
Each weekday, 20 new leads from Airtable get a personal email from your Gmail and are marked Contacted.
See how it worksKeep exploring
Set up “Get an evening email of today's new Airtable orders” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.