Connect Feishu Multidimensional Spreadsheet to Database and Build a Visual Dashboard
Feishu multidimensional spreadsheets now support database connections. You can push data collected by CaoLiao into Feishu multidimensional spreadsheets and freely use that data to build the dashboards you need.
Feishu Multidimensional Spreadsheet Pricing: Includes a one-month free trial. The free version supports only 3 data tables with a sync limit of 1,000 rows. Upgrade to the advanced version (¥2,499/year) or the enterprise version (¥5,499/year) if needed. 
Data from different forms can all be linked into the same Feishu multidimensional spreadsheet to build a unified dashboard.
Example Dashboard
Quickly view equipment inspection status — including inspection counts, device states, and monthly summaries: View example

Before You Begin
Data API Overview
CaoLiao provides an official database feature. QR code data, form data, status and plan data on the CaoLiao platform are synced in real time to the official database. External tools can connect to this database to pull data and build the dashboards you want. View official database documentation
API data is only pushed based on the features you have configured in CaoLiao. For example: if you've set up the status feature,
code_state(QR code status data) will be pushed; if you've created and started a plan,code_task_log(plan execution data) will be pushed. Data is not pushed for features that haven't been set up or have no data.We recommend waiting until your QR codes have data before building visual dashboards.
Feishu Multidimensional Spreadsheet
Feishu multidimensional spreadsheets support syncing data from MySQL databases. Feishu Multidimensional Spreadsheet overview 
Tutorial
Step 1: Enable CaoLiao's Official Database
- Log in to the CaoLiao workbench, click [Data Management] → [Data API] on the left, and select [official database] to apply: Go to official database

- After activation, you will receive connection info similar to the following (use your actual credentials):
- Type: MySQL 5.7
- Host:
rm-bp1m4fy8d66u3c6xmbo.mysql.rds.aliyuncs.com - Port:
3306 - Database name:
cli_13268724(example) - Username:
cli_13268724(example) - Password:
ekiji17jd02jk9md(example)
Step 2: Download Feishu and Connect the Multidimensional Spreadsheet to the Database
- Open the workbench and create a new multidimensional table

- Select "Sync from another data source" and choose MySQL

- Enter the CaoLiao official database credentials
In the connection wizard, enter the database host, port, database name, username, and password from the previous step to establish the connection. A 30-day free trial is available.

Step 3: Add Data Tables
Select the data tables you need and add them. Once added, data from the CaoLiao platform will be displayed. CaoLiao uses a standardized naming convention for its tables — review the table descriptions before proceeding. View data table documentation

Common Table Descriptions
base_codeinfo- QR code basic info table.
- Automatically pushed when your account has QR code data. Includes basic info for dynamic QR codes and bulk sub-codes.

template_codeinfo_XXX- Bulk template sub-code info table.
- Naming convention:
template_codeinfo_DXX, whereDXXis the bulk template number. - For example: if the bulk template number in the workbench is M4, the corresponding table name is
template_codeinfo_D4. - This table contains the variable content for each sub-code.

code_state- QR code status table.
- Pushed when a QR code has associated statuses.

code_task_log- Plan execution log table.
- Pushed when a plan has been created and started in your account.
- After the database is activated, only plan cycle data for cycles that start executing after activation is pushed. Historical cycles and the cycle currently in progress at activation are not pushed.

table_dXX- Form data detail table.
- Pushed when form data is submitted in your account.
- Naming convention: starts with
table_, followed bydXXwhere XX is the form's unique number. For example,table_d45corresponds to the form with number 45.

Step 4: Create Charts
Feishu multidimensional tables support chart creation. Click [Dashboard], then use bar charts, line charts, column charts, pie charts, and other visualization types to complete your dashboard design. 
Here are some common statistical examples:
Example 1: Count Totals
- Select the [Stat Number] component;
- Select
template_codeinfo_XXX(bulk template sub-code info table); - Count the total number of QR codes under the current template — this gives you the total fire extinguisher count.

Example 2: Count Inspection Runs
- Select the [Stat Number] component;
- Select
table_dXX(form data detail table) and count the total number of submitted records; - Each form submission represents one completed inspection — the total record count equals the total number of inspections.

- Line chart:
Use thetable_dXXform data detail table, grouped by record time, to view inspection trends over time.
- Bar chart:
Use thetable_dXXform data detail table, grouped by "Recorder", to view inspection counts per inspector.
Example 3: Normal vs. Abnormal Status Distribution
- In the
template_codeinfo_XXXtable, [Add field] → [Lookup reference] →code_state(QR code status table)
- Select the status field to reference from the
code_statetable. Both tables containcode_id, so after linking you can retrieve the status info for each sub-code.
- Add a pie chart and select the status field you want to analyze in the grouping configuration.

- Click a slice of the pie chart to see detailed records.

Example 4: Plan Completion Rate
- In
code_task_log(plan execution log), [Add field] → [Lookup reference] →template_codeinfo_XXX
- Select the variable field from
template_codeinfo_XXXto reference, and usecode_idfor the relationship.

- Add a pie chart, filter by date and status to see plan completion for a specified period.

Summary
With the steps above, you can sync multi-source data from CaoLiao (QR codes, forms, statuses, plans, and more) into Feishu multidimensional spreadsheets in real time, and flexibly build visual charts and dashboards to meet a wide range of business analytics needs.
For more help, see:
Tip: Since data pushed to the CaoLiao database depends on your actual usage, we recommend waiting until your QR codes have generated data before building visual dashboards — this ensures the information you see is complete and up to date.