AI Agent Hub
Back to skills
Tencent Docs Weekly Report Auto Sync icon

Tencent Docs Weekly Report Auto Sync

Office Efficiency Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Please install @user_93772aaf/weekly-report-sync into your AI assistant according to https://skillhub.cn/install/skillhub.md.

About this skill

Problem

Engineers often keep daily notes in a Tencent Docs document but still copy last week’s entries into a shared summary sheet by hand. The annoying part is not the daily note itself; it is locating the right week, matching the person’s name column, and writing the correct cell on Monday morning. This skill turns that routine into a pure API-based scheduled flow.

How It Works And Limits

It runs at 10 9 * * 1, i.e. Monday 09:10. The main steps are:

  • Obtain a Tencent Docs access_token using client_id and client_secret
  • Read the full content of the daily-report document doc_a_id
  • Read the summary sheet sheet_b_id headers and locate the column for user_name
  • Calculate the previous week’s date range and extract the matching fragment from the daily report
  • Write the extracted content into the target sheet cell
  • Optionally send a WeCom text notification through wecom_webhook

Note: The provided steps mainly demonstrate extracting and writing mon_content, so the current configuration is best for syncing a single daily entry or a Monday-based weekly summary. To cover the full week, the workflow needs extension to extract and write each day separately. It assumes Tencent Docs permissions doc:read sheet:read sheet:write, correct document and sheet IDs, and a name present within the header range A1:Z1.

Use Cases

  • Use the Monday flow to copy the selected prior-week fragment from a Tencent Docs daily report into the correct name column in a shared sheet.
  • Run the API sync at Monday 09:10 to read a Tencent Docs daily report and write the selected fragment into a shared sheet cell.
  • Replace manual copying by syncing an individual daily-report fragment from Tencent Docs into a team summary sheet using the open API.
  • After the sync completes, send a WeCom text notification reminding teammates that the prior-week entry has been updated in the shared sheet.

Best For

  • Ops managers maintaining a weekly team sheet: they need personal daily-report fragments written into the correct name column every Monday automatically.
  • Engineers writing daily notes in Tencent Docs: they want to avoid manually copying last week’s content into a shared summary sheet.
  • Project leads tracking progress: they need each member’s previous-week daily-report fragment to land in a shared sheet for quick review.
  • Technical staff setting automation: they want a Tencent Docs API flow that syncs weekly entries and sends a WeCom notification.