Skip to content

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.

Paste it into your assistant. It tells you what it will send or change before it runs live.

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

  1. Every morning, ClickRuntime reads your inventory table in Airtable.

  2. It picks out every item whose stock is at or below its reorder point.

  3. AI suggests an order quantity for each one, using recent sales and lead time where you have them.

  4. 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

RunsDaily
Get daily AI reorder suggestions from your Airtable inventorytoday, 9:00Succeeded
Slack · #purchasingReorder suggestions (3 items): Acme ceramic mug, order 120. Sells about 40 a week and the supplier takes 3 weeks.

Build your own

Need it to work differently?

This template is a starting point. Copy the prompt and change it, or describe a different automation from scratch, with your own conditions, more apps or an AI step. Your assistant writes it, tests it and runs it on ClickRuntime.
  • 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

This is the Python script that runs each time the automation starts. Your AI assistant writes it for you when you send the prompt, and you allow each step in your assistant. To change how the automation works, describe the change to your assistant and it updates the script for you. For every function it can use, see the script reference.
inventory_reorder_recommendations.pyexample
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?
A table with each item's current stock and its reorder point. Fields for recent sales and supplier lead time make the suggestions better, but they are optional.
Does it place orders with suppliers?
No. It suggests quantities and leaves the ordering to you. That keeps a person in charge of spending.
What happens on a day nothing is low?
It posts a short note saying all items are above their reorder points, so you know the check ran.
What permissions does it need?
Airtable read; Slack chat:write. Nothing else in your accounts is used.
Does it need AI?
Yes. It uses ClickRuntime's built-in AI, so you don't need an OpenAI or Anthropic key. Every plan includes a monthly AI allowance.
How many runs does it use?
One run each time it runs (daily). Checks that find nothing to do and stop right away aren't counted.
Can I change how it works?
Yes. Describe the change to your AI assistant, for example a different schedule, channel or filter. It updates the automation, tests it and tells you what changed.

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.