Daily
Refresh an Excel table with live web data
Rows in your table are updated with the latest figures from a website or API, so the workbook is current when you open it.
- Runs
- Daily
- Apps
- Microsoft Excel
- AI
- Not needed
- Access
- read+write (Files.ReadWrite)
Send this to your assistant
Create a ClickRuntime automation: every weekday at 6pm, fetch the latest price and expense ratio for each ticker in my ETFs table and update their rows.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
Many Excel trackers go stale the day after they are built. A purchasing sheet lists supplier prices that change weekly, a sales sheet holds exchange rates, and a research sheet follows stock levels or shipment statuses on a website. Someone has to open each source, copy the new figure and paste it into the right row, and when that stops happening, people make decisions on numbers that are weeks old.
Each day, ClickRuntime reads the rows of your Excel table, fetches the current value for each row from the website or API you specify, and writes it back into the row. That leaves your workbook with figures that were updated that morning.
It is useful for anyone whose spreadsheet depends on prices, rates, statuses or counts that live somewhere else.
What you get out of it
Decisions use today's numbers
Quotes, orders and forecasts built on up-to-date prices and rates are more accurate. You avoid the cost of pricing a job on a figure that changed last week. That is more reliable than any manual routine.
Copy and paste work disappears
An analyst who updated forty rows by hand each Monday gets that hour back. The data refreshes automatically and mistakes from pasting into the wrong row are avoided. That small saving repeats every week of the year.
Every row is updated the same way
The same source and method are used for each row, so figures are consistent across the table. Comparisons between rows are fair because nothing was updated from a different place.
Formulas and charts update with the data
Because the values are written into the table, existing formulas, pivot tables and charts pick up the new numbers. Reports built on the workbook stay current without extra work. Nothing in your reports needs to be rebuilt by hand.
Changes over time can be tracked
Refreshing daily gives you a chance to see how a price or status moves. You can add a column for the previous value and notice trends early. That gives you a better view of how things are moving.
The workbook stays the single source of truth
Colleagues keep using the file they know, with live data inside it. Nobody has to learn a new dashboard to see current figures. That means adoption is immediate and no training is needed for the team.
How it works
What happens, step by step
Every day, ClickRuntime reads the rows of your Excel table, such as a list of products or coins to track.
For each row it fetches the latest figure from the website or data source you chose.
It writes the new figure and the time it was fetched back into the row, so the workbook is current when you open it.
Before it runs live
- Connect Microsoft Excel
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 Microsoft Excel steps into one automation
Under the hood
The code that runs this automation
from clickruntime import on_trigger, credentials, http
TABLE = "https://graph.microsoft.com/v1.0/me/drive/items/01ABCDEF.../workbook/tables/Prices"
@on_trigger
def run(event):
h = {"Authorization": f"Bearer {credentials.connection('microsoft', 'work')}"}
rows = http.get(f"{TABLE}/rows", headers=h).json()["value"]
for i, r in enumerate(rows):
coin = r["values"][0][0] # e.g. "bitcoin"
price = http.get("https://api.coingecko.com/api/v3/simple/price", params={"ids": coin, "vs_currencies": "usd"}).json()[coin]["usd"]
http.patch(f"{TABLE}/rows/itemAt(index={i})", headers=h, json={"values": [[coin, price, event.get("scheduled_time") or ""]]})
return {"rows": len(rows)}FAQ
Common questions
What kind of web sources can it read?
What happens if the source is down for a day?
Does each row need its own source address?
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 alerted about rows that need action
You get the rows that match your rule, like students marked absent, with the context you need.
See how it worksGet weekly totals from an Excel tracker
Every Monday you get the totals from your tracker without opening the file.
See how it worksSave a dated copy of a workbook weekly
Every Friday a copy of your workbook is saved with the date in its name.
See how it worksKeep exploring
Set up “Refresh an Excel table with live web data” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.