Daily
Get daily AI reorder suggestions from your Airtable inventory
Each morning your purchasing channel gets a list of items running low, with a suggested order quantity for each.
- Runs
- Daily
- Apps
- Airtable, Slack
- AI
- Yes, uses the built-in AI allowance
- Access
- Airtable read; Slack chat:write
Send this to your assistant
Create a ClickRuntime automation: every morning, check my Airtable inventory and post AI reorder suggestions for items below their reorder point to #purchasing.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
A small online shop tracks stock in Airtable. The owner means to check levels every morning, but on busy days the check slips, and a best-selling item sells out before anyone notices. Restocking then takes two weeks and orders are lost.
A morning list of everything below its reorder point, with a sensible order quantity, makes restocking a five-minute job. The purchasing channel sees it before the day gets busy.
What you get out of it
Fewer stockouts
Items are flagged as soon as they cross the reorder point, not when they hit zero. There is time to reorder before customers see an out-of-stock page.
Order quantities that make sense
Suggestions take recent sales and supplier lead time into account. You avoid ordering too little and running short again next week.
Less cash tied up in stock
Because the list only covers items that need it, you are not over-ordering slow sellers just to be safe.
One place for the decision
The suggestions land in the channel where purchasing already talks. Questions and approvals happen in the thread.
How it works
What happens, step by step
Every morning, ClickRuntime reads your inventory table in Airtable.
It picks out every item whose stock is at or below its reorder point.
AI suggests an order quantity for each one, using recent sales and lead time where you have them.
The list is posted in your #purchasing Slack channel.
Before it runs live
- Connect Airtable
- Connect Slack, then invite the app to the channel (type /invite @ClickRuntime there)
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
- Change what the AI looks for, or how it writes the result
- Add another app, for example also send it to Google Sheets
- Combine it with other Airtable and Slack steps into one automation
Under the hood
The code that runs this automation
from clickruntime import on_trigger, credentials, http, ai, notify
BASE, TABLE = "appYourBaseId", "Inventory"
@on_trigger
def run(event):
headers = {"Authorization": f"Bearer {credentials.secret('AIRTABLE_API_KEY')}"}
records = http.get(f"https://api.airtable.com/v0/{BASE}/{TABLE}", headers=headers,
params={"filterByFormula": "{Stock}<={Reorder point}"}).json()["records"]
if not records:
notify.slack("All items are above their reorder points.", channel="#purchasing")
return {"low": 0}
lines = [f"{r['fields'].get('Item')}: stock {r['fields'].get('Stock')}, reorder point {r['fields'].get('Reorder point')}, "
f"sold last 30 days {r['fields'].get('Sold 30d', '?')}, lead time {r['fields'].get('Lead days', '?')} days"
for r in records]
text = ai.generate("Suggest a reorder quantity with a short reason for each item, one line each:\n" + "\n".join(lines),
max_output_tokens=800).text
notify.slack(f"Reorder suggestions ({len(records)} items):\n{text}", channel="#purchasing")
return {"low": len(records)}FAQ
Common questions
What does it need in my Airtable base?
Does it place orders with suppliers?
What happens on a day nothing is low?
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
Track news on your topics in Airtable and Slack
Each morning new articles on your topics are added to an Airtable table, without duplicates, and posted to Slack.
See how it worksRecreate recurring Airtable tasks when they are done
When a recurring task is marked done in Airtable, the next one is created with the right due date and its owner hears about it in Slack.
See how it worksSend each person their due Airtable tasks in Slack every morning
Every weekday morning each teammate gets a Slack message listing their Airtable tasks due today or overdue.
See how it worksKeep exploring
Set up “Get daily AI reorder suggestions from your Airtable inventory” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.