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.

file

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​

  1. Create a device inspection QR code or your own scenario QR code. Example template
  2. In your personal Tencent Docs, create an online spreadsheet, add a smart table, and set up the column headers. Example spreadsheet

file

Step 1: Create a Workflow​

Log in to the Tencent HiFlow console and click [New Workflow].

file

Step 2: Configure the CaoLiao App​

  • Add the CaoLiao QR Code app and set the trigger to: New form submission

file

  • Authorization

file

  • 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.

file

  • 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.

file

  • 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].

file

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

file

  • 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.

file

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.

file

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​

  1. Fire Hydrant Inspection Spreadsheet (Tencent Docs)
  2. Tencent HiFlow App Connector website
  3. Tencent HiFlow Getting Started guide
  4. CaoLiao Webhook documentation

More Use Cases​

FAQ​

1. Only Personal Tencent Docs Accounts Are Supported — WeCom Edition Is Not Supported.​

Link it as a Mini Program.

file

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

file

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

file

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