Skip to content
Business Dashboards· Part 4 of 7

Connecting Data Sources to Your Dashboard Automatically

Short answer

Connecting data sources to your dashboard lets every number arrive from its own system with no manual copying. Part 4 of the Business Dashboards series explains 3 ways to read data, an API, a scheduled export or a read-only database copy, when you need a central data warehouse, 4 freshness levels for each number, and an exercise to map your dashboard's sources.

Origami Team

Editorial Team · · 7 min read

Share on WhatsApp
Like what we publish? Pin Origami as a preferred source on Google.Add as a preferred source on Google
Connecting Data Sources to Your Dashboard Automatically

Connecting data sources to your dashboard means it reads every number from its original system by itself, with no one copying it into a file. There are 3 ways: the system's API, a scheduled export at a fixed time, or a read-only copy of its database. The second decision is how often each number must refresh. Start with a 5-column table: indicator, source system, how it is read, required freshness, and who is alerted if updates stop.

This is part 4 of the 7-part Business Dashboards series. In part 3, Defining Every Number: A Data Dictionary for Your Dashboard, you wrote down each number's definition, source system and cut-off. Here the source system field turns from a written line into a connection that runs on its own.

3 ways a number reaches the dashboard

The U.S. National Institute of Standards and Technology (NIST) defines an API as a system access point with a well-defined syntax that other programs can call to get well-defined functionality. In an owner's terms: an official door in the system that the dashboard asks for a number, and the system hands it over. The 3 ways, best first:

  • The API. Most modern cloud systems, from accounting to online stores and point-of-sale systems, offer an interface that can be read. It is the cleanest route because the system itself decides what may be read, and nobody touches a file. We explained the idea in detail in APIs: How to Connect Your Business Systems.
  • The scheduled export. Some older or on-premise systems have no API but can export a report in a fixed format. The export is scheduled to land at a set time in a set place, and the dashboard reads it. It works well as long as the report layout never changes; if someone adds a column or renames a field, the updates stop.
  • A read-only copy of the database. When there is no API and no usable export, the tables themselves can be read with an account that can only read. This needs the vendor's agreement and a precise understanding of its tables, because one vendor update can change their structure.

Some numbers live in no system at all, such as the monthly sales target or a field supervisor's note. These are entered by hand, but through one form inside the system with an owner and a fixed time, not in a file sent by email.

Do you need a central data store?

A central data store, or data warehouse, is a separate database that holds a copy of the numbers from all your systems, arranged according to the dictionary's definitions, and the dashboard reads from it alone. Not every company needs one on day one. If all your indicators come from one or two systems, reading directly may be enough. A warehouse becomes useful when one of these is true:

  • One indicator needs more than one system. Take on-time delivery from part 3: the promised date comes from the sales system and the delivery date from the delivery note. The warehouse is where the two meet.
  • You need history the system does not keep. Many operating systems only show the state right now, such as today's stock balance. To compare it with last month, a daily snapshot has to be kept somewhere else.
  • Queries slow down the operating system. When the point-of-sale system slows at peak time because the dashboard asks it something every minute, the dashboard should ask a separate copy instead.

The UK Government Data Quality Framework advises solving data quality issues at source rather than applying temporary fixes, and lists errors in manual data entry among the risks at the collection stage. A warehouse does not replace that: a number that is wrong in the original system arrives wrong on the dashboard, and the fix belongs in the original system. If your systems do not talk to each other at all today, start with Connecting Your Systems: The End of Copy and Paste.

How often should each number refresh?

The same UK framework defines timeliness as the degree to which data accurately reflects the period it represents, and says data is timely if the time lag between collection and availability is appropriate for the intended use. So the question is not whether the dashboard is real time, but which decision is made with this number, and when. Sort your indicators into 4 levels:

  • Within minutes. Numbers behind an immediate decision, such as the quantity available to sell in an online store, or today's orders running late for dispatch.
  • Every few hours. Numbers a supervisor checks during the day, such as branch sales up to midday.
  • Daily. Most management numbers: yesterday's sales, collections, and end-of-day stock balances.
  • Weekly or monthly. Numbers that mean nothing before their period closes, such as the on-time delivery rate we set to close every Sunday morning.

Each faster level costs more to build and run and puts more load on the source systems, so do not ask for minutes on a number read once a week. Add one rule: every number on the dashboard shows the time of its last update next to it. An old number that looks fresh is more dangerous than a missing one.

What to check before connecting any system

  • A read-only account. The dashboard reads; it never writes. Ask each vendor for an account or key that can only read, and never use an employee's login.
  • A secure connection. The UK government's API technical and data standards require securing APIs with TLS 1.2 or above, recommend the OAuth 2.0 framework to manage access, and say never to use basic authentication, which sends usernames and passwords unencrypted. Ask your technical team or vendor about these points by name.
  • An alert when it stops. Every connection will stop one day: an expired password, a vendor update, a report whose layout changed. Decide who gets the alert, and how quickly.
  • The calculation as written in the dictionary. The query that reads the number must apply the definition, exclusions and cut-off exactly as you wrote them in part 3, and today's manual reports are the best reference to check the result against, as we explained in The Reports You Used to Build by Hand Every Month.

The Origami view

When we build a dashboard, we start with an inventory of the existing systems and what each one allows: an API, an export, or nothing. Then, for each indicator, we choose the simplest way of reading it that meets the freshness it needs, and we build a central store only when an indicator combines several systems or needs history the system does not keep. In the first weeks we run the dashboard alongside the current manual reports and reconcile the numbers line by line before management relies on it.

With every connection we build an alert for when it stops, and we show the time of the last update next to every number, because a dashboard that fails silently sends the company back to its files. You can see the kind of systems and integrations we build on our services page.

Exercise: your dashboard's source table

Take the indicator list and the dictionary from the last two parts, and write a table with these 5 columns:

IndicatorSource systemHow it is readRequired freshnessWho is alerted if it stops
Net invoiced salesAccounting systemAPIDailyFinance manager
On-time delivery rateSales system and delivery notesAPI and scheduled exportWeekly, Sunday morningDelivery supervisor
Quantity available to sellStock systemAsk the vendorWithin minutesWarehouse manager

The rows above are only an example; fill your table from your own systems. Every cell where you write I don't know in the how-it-is-read column is a question to send to that system's vendor this week: do you have an API, and what can be read through it? Every indicator with more than one system in the source column is a candidate for a central store.

In the next part

Every number now has a source, a route and a set freshness. Part 5, Dashboard Access and Customer Data: What PDPL Requires, answers the question that appears as soon as the dashboard goes live: who sees what? When should staff see totals only, when can they see customer and employee detail, and what does the Personal Data Protection Law require once that data appears on screen or is exported from it.

Sources

  • #Make the Most of Tech
  • #Business Dashboards: From Scattered Reports to Decisions
  • #Dashboards
  • #Data Analytics

Frequently asked questions

How does a dashboard get its numbers without manual copying?

It reads each number from its original system in one of 3 ways: the system's API, a scheduled export at a fixed time, or a read-only copy of its database. The API is the cleanest route when one exists.

Do I need a data warehouse from the start?

Not always. If your indicators come from one or two systems, reading directly may be enough. A warehouse becomes useful when an indicator combines several systems, when you need history the system does not keep, or when queries slow the operating system down.

Does my dashboard need to be real time?

No. Each number's freshness depends on the decisions made with it. Some need minutes, most management numbers are fine once a day, and some mean nothing before the week or month closes. What matters most is showing the time of the last update next to every number.

What should I ask a system vendor before connecting it to the dashboard?

A read-only account, a connection secured with TLS 1.2 or above, access managed through a framework such as OAuth 2.0 instead of a username and password, and documentation of what can be read through the API.

Have a project in mind?

We build custom systems, apps and websites for your business. Tell us your idea and we will give you a straight answer on it.

See our services

Newsletter

New articles and series, in your inbox.

Follow Origami in Google

Pin Origami as a preferred source and our articles will surface first for you in Google Search and Top Stories.

Add as a preferred source on Google