Skip to content

Hourly or daily

Keep Airtable prices up to date

The prices and values in your table update on their own every hour.

Runs
Hourly or daily
Apps
Airtable
AI
Not needed
Access
data.records:read, data.records:write

Send this to your assistant

Create a ClickRuntime automation: every hour, get the current USD price from CoinGecko for each coin in my Airtable Portfolio table and update the Price and Value columns.

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

Plenty of Airtable bases are built around numbers that change somewhere else: crypto prices, weather by city, sports scores, exchange rates, public statistics. The usual way to keep them current is to copy and paste on a regular basis, or to pay for a sync that offers only a handful of sources. Pasting stops the day a person is busy, and then the table is out of date while views, formulas and dashboards continue to display the old values as if they were fresh.

On the schedule you pick, hourly or daily, the automation reads the records in your table, calls the public API for each key (a ticker, a city or a team), and updates the fields in batches of 10, the number Airtable allows per request. It can also email a short summary of what changed.

It suits hobbyists, analysts and small businesses that track outside data next to their own.

What you get out of it

  • Data is current without manual work

    The values update on schedule, so formulas, charts and interface pages built on the table always show recent numbers, not whatever was pasted last week. Nobody has to remember to update the table before a meeting, and dashboards stay honest.

  • Any public API can feed the table

    You are not limited to the sources a native sync supports. If an API returns the data, the automation can read it and place it in a field. A weather, sports or financial API that is not covered by native sync is still within reach.

  • Your own data and public data sit side by side

    A portfolio table with live prices, or a travel table with the forecast, lets you combine outside numbers with your own notes and calculations in one place. That makes the table more useful than either data set on its own.

  • Updates are batched safely

    Writing ten records per request keeps within Airtable's limits, so a table with hundreds of rows refreshes reliably instead of failing partway. A larger table simply takes more requests, not more effort from you, and the process stays reliable.

  • A summary email shows what moved

    If you choose it, a short email lists the biggest changes, so you can check your table without opening it and spot unusual jumps. It is a quick way to notice big moves without opening the base at all.

How it works

What happens, step by step

  1. Every hour (or once a day if you prefer), the automation reads the rows in your Airtable table.

  2. For each row it looks up the latest price or value from a public data source, such as a crypto price.

  3. It updates the price and value fields in Airtable.

  4. If you want, it also emails you a short summary of what changed.

Before it runs live

  • Connect Airtable

What you get

RunsHourly or daily
Keep Airtable prices up to datetoday, 9:00Succeeded
Airtable · Portfoliobitcoin · Price $67,412.00 · Value $16,853.00 (updated 14:00)

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
  • 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 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.
refresh_a_table_from_a_public_data_api.pyexample
from clickruntime import on_trigger, credentials, http

BASE_ID = "appXXXXXXXXXXXXXX"

@on_trigger
def run(event):
    api = f"https://api.airtable.com/v0/{BASE_ID}/Portfolio"
    headers = {"Authorization": f"Bearer {credentials.connection('airtable', 'work')}"}
    records = http.get(api, headers=headers).json()["records"]
    ids = sorted({r["fields"]["Coin ID"] for r in records if r["fields"].get("Coin ID")})
    prices = http.get("https://api.coingecko.com/api/v3/simple/price",
                      params={"ids": ",".join(ids), "vs_currencies": "usd"}).json()
    updates = []
    for r in records:
        price = prices.get(r["fields"].get("Coin ID"), {}).get("usd")
        if price is not None:
            qty = float(r["fields"].get("Quantity") or 0)
            updates.append({"id": r["id"], "fields": {"Price": price, "Value": round(price * qty, 2)}})
    for i in range(0, len(updates), 10):
        http.patch(api, headers=headers, json={"records": updates[i:i + 10]}).raise_for_status()
    return {"updated": len(updates)}

FAQ

Common questions

Do I need an API key for the data source?
Many public APIs are free and open, but some require a key. If yours does, the key is stored as a secret and used by the automation, so it does not appear in your table.
How often can it refresh?
Hourly or daily works for most data. Very frequent updates may run into the API's rate limits or Airtable's limits, so choose the interval that fits how quickly the data really changes. Hourly is plenty for most dashboards.
What if the API is down for a run?
Records keep their previous values and the next run tries again. The error appears in the run log in the ClickRuntime dashboard, so you can see why a refresh was skipped. Nothing is lost, and the previous numbers remain until a successful run.
What permissions does it need?
data.records:read, data.records:write. Nothing else in your accounts is used.
Does it need AI?
No. It runs without AI, so it doesn't use your plan's AI allowance.
How many runs does it use?
One run each time it runs (hourly or 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 “Keep Airtable prices up to date” from your assistant

Copy the prompt above, or connect your assistant first. Free plan, no credit card.