Sync to Online Spreadsheet for Data Analysis
Scenario Overview
Using Tencent HiFlow, sync collected form data to Tencent Docs, Vika, and other apps for aggregation, data sharing, and collaborative editing. MySQL database sync is also supported.

Example Demo
Using a common fire hydrant inspection scenario as an example: use Tencent HiFlow to sync inspection records to a Tencent Docs smart table, enabling workload tracking by inspector, missed inspection detection by date, and maintenance cost calculations.
Video Demo
- Video duration: 4 minutes
Step-by-Step Tutorial
Using the fire hydrant inspection scenario as an example, here's how to sync form records to Tencent Docs.
Overview
In Tencent HiFlow, create a new workflow with [CaoLiao QR Code] as the trigger app and [Tencent Docs] as the action app.
Preparation
- Create a device inspection QR code or your own scenario QR code. Example template
- In your personal Tencent Docs, create an online spreadsheet, add a smart table, and set up the column headers. Example spreadsheet

Step 1: Create a Workflow
Log in to the Tencent HiFlow console and click [New Workflow].

Step 2: Configure the CaoLiao App
- Add the CaoLiao QR Code app and set the trigger to: New form submission

- Authorization

- Parameter configuration
Click [Preview Execution]. A listening URL will appear below — copy it and configure it as the data API webhook URL in your form.

- Configure the Webhook URL
Copy the Tencent HiFlow push URL into the Webhook push URL field in the CaoLiao workbench. Add it in [Form Settings] → [Settings] → [Data API], or in [Advanced Features] → [Data API] in the navigation bar.

- Sample data
Scan the QR code to submit a test record. HiFlow will automatically detect the sample data.
Note: If the form is updated, submit a new record. In the sample data, select the latest record and click [Re-preview].

Step 3: Configure the Tencent Docs App
Add the Tencent Docs app — note that only personal Tencent Docs accounts are supported. Configure your account. If you haven't created a spreadsheet yet, do so in Tencent Docs first: create a spreadsheet, add a smart table, and set up the column headers. Example spreadsheet

-
Select the target spreadsheet: Choose the spreadsheet and worksheet.
-
Field mapping: Add the form component data by matching column headers. Run a test preview and check Tencent Docs to confirm data is arriving correctly.

Step 4: Publish the Workflow
After saving, both apps should show a checkmark, indicating the workflow is configured correctly. Click [Publish]. If there are errors preventing publication, click [Check] to diagnose the issue.

Customer Case Study
Homestay Cleaning and Supply Management
Built by: Lei Yang, Manager of Oulai Homestay
Cleaning staff scan QR codes to document before-and-after photos, which are manually reviewed by the cleaning supervisor. During cleaning, staff also check room conditions and immediately report any maintenance needs. After syncing to Tencent Docs, the data is aggregated for analyses including cleaning labor time calculations, supply usage tracking, room card replacement progress, and maintenance statistics. View details
Video duration: 3 minutes 20 seconds
References
More Use Cases
FAQ
1. Only Personal Tencent Docs Accounts Are Supported — WeCom Edition Is Not Supported.
2. How Do I Link a Tencent Spreadsheet to a QR Code?
Link it as a Mini Program.

Add a [Redirect Link] and select [Other Mini Program]
- App ID: wxd45c635d754dbf59
- Original Account ID: gh_252c5f06840b
- Mini Program path: pages/detail/detail.html?url=SPREADSHEET_URL

The spreadsheet URL is the address shown in the browser when editing the spreadsheet.

3. Do the Column Headers in the Tencent Spreadsheet Need to Match the Form Component Names?
No, they don't need to match. The field mapping is done manually — it is not auto-matched by name.
CaoLiao Community
A dedicated community section is available for this feature — share your experience, post questions, and get answers from expert consultants. Visit the community