Notion 與 Camunda 8 (Zeebe) / Flowable 企業級 BPMN 流程編排、人工審批節點同步與流程例項異常熔斷閉環實戰
一、為什麼企業 BPM 與流程架構團隊必須用 Notion 統籌 BPMN 編排治理?
當企業信貸審批、跨國供應鏈履約與售後退款仲裁採用 Camunda 8(Zeebe 分散式流式引擎) 或 Flowable 執行復雜 BPMN 2.0 狀態機與人工任務(User Task)編排時,僅依賴 Operate / Cockpit 運維後臺或郵件提醒往往會出現三類協同與合規斷點:
- 高頻
JOB_ACTIVATED與 Broker 心跳流水會迅速耗盡 API 配額:大規模 Zeebe / Flowable 叢集每分鐘產生數萬次 Worker 心跳、常規 Service Task 啟用與流轉事件;若未經聚合直接寫入 Notion,不僅會觸發 Notion API 每秒 3 次的429限流雪崩,還會將真正的 BPMN 流程例項掛起(Incident)、FEEL 表示式求值失敗與人工審批超時(Timer Boundary SLA Breached) 淹沒在常規日誌中; - 流程變數(Process Variables)與表單載荷中的業務 PII 及審批憑證明文極易洩漏:BPMN 異常棧與回撥報文通常攜帶
process_variables、form_submission_raw、客戶身份證號、銀行卡號及下游微服務 OAuth Token;若未經脫敏剝離直接回寫協同臺賬,將造成嚴重的資料合規風險; - 缺乏從“關鍵審批鏈發生大量 Incident”到“凍結新版本 BPMN 部署並指派業務兜底”的治理閉環:流程研發持續推送新版
.bpmn模型上線,卻無法直觀感知線上既有例項正大面積卡死在某個補償節點或外部聯結器超時狀態(分散式程式碼工作流協同可參閱 Notion 與 Temporal 分散式長週期工作流引擎實戰,數字員工協同可參閱 Notion 與 UiPath / Automation Anywhere / Blue Prism 企業級 RPA 排程實戰)。
將 Camunda 8 (Zeebe) / Flowable 與 Notion 流程治理中樞 深度打通,可以在“零常規心跳刷屏、零流程變數明文落盤”的前提下,構建“流程契約建檔 -> 執行水位視窗快照冪等同步 -> Incident 越線頁頂置頂熔斷 -> Formula 2.0 發版放行門禁”的工程閉環。
| BPMN 流程編排治理模式 | 僅依賴 Operate / Cockpit 後臺 | 異常棧直接群發業務釘釘/企微群 | 人工每週匯出流程報表 | 三表解耦 Notion BPMN 治理門禁中樞(推薦) |
|---|---|---|---|---|
| 高頻 Job 流水與心跳降噪 | 海量正常流轉記錄沖淡高危阻塞例項 | 瞬時網路重試刷屏導致人工忽略真實告警 | 人工統計滯後數天,無法即時止損 | 入口過濾 JOB_ACTIVATED 與健康視窗,僅聚合阻塞態勢 |
| 流程變數與財務 PII 脫敏 | 運維人員可直接翻看流程變數全文 | 告警卡片暴露身份證號、卡號與授權 Token | 人工截圖脫敏極易遺漏巢狀審批表單 | 入庫前剝離變數與表單載荷,正則擦除證件、卡號與密文 |
| 流程 Incident 與超時熔斷 | 與 CI/CD BPMN 發版流水線完全割裂 | 阻塞例項無人認領,客戶投訴倒逼排查 | 跨部門對賬才發現大批訂單卡在邊界事件 | 阻塞率或超時超閾值立即派單並頁頂置頂紅色熔斷 |
| 流程 SLA 與合規審計留痕 | 缺乏業務補償 SOP 與審批超時歸因 | 群聊記錄無法滿足內控與合規審計要求 | 無法動態計算各流程版本健康度與 SLA | Formula 2.0 即時聯動釋出鎖、逾期工單與阻塞水位 |
二、四步搭建“流程契約主檔 × 例項健康快照 × 異常熔斷工單”三表模型
結合 Notion 企業級資料庫架構設計規範 與 工作區安全與許可權治理指南,建議搭建 BPMN 流程定義契約主檔庫(DB_BPMN_Processes)、流程例項阻塞與 SLA 視窗快照庫(DB_BPMN_Health_Snapshots) 與 流程 Incident 與審批超時熔斷工單庫(DB_BPMN_Incident_Gates) 三表模型。
步驟 1:設計三表核心屬性與冪等業務主鍵
嚴格遵守**“完整流程歷史事件流、BPMN XML 原始碼與即時變數留在 Zeebe/Flowable 引擎,流程 SLA 基線、視窗健康快照與脫敏熔斷工單留在 Notion”**原則,以 {engine}:{tenant}:{bpmn_process_id}:{window_bucket} 作為快照冪等主鍵:
| 所屬資料庫 | 屬性名稱 | 屬性型別 | BPMN 編排治理用途 |
|---|---|---|---|
DB_BPMN_Processes |
Process_Name | Title |
流程定義名稱(如 [Zeebe-Fin] cross_border_settlement_v4) |
DB_BPMN_Processes |
Process_Key | Rich Text |
冪等主鍵:{engine}:{tenant}:{bpmn_process_id} |
DB_BPMN_Processes |
BPMN_Engine | Select |
CAMUNDA_ZEEBE / FLOWABLE |
DB_BPMN_Processes |
Max_Incident_Threshold | Number |
允許的最大併發阻塞 Incident 紅線(條數,如 10) |
DB_BPMN_Processes |
Deploy_Freeze_Lock | Checkbox |
新版 BPMN 模型部署與放量熔斷鎖 |
DB_BPMN_Health_Snapshots |
Snapshot_Title | Title |
視窗快照摘要(如 [20:00] settlement_v4 · Incident 14 / 超时 3) |
DB_BPMN_Health_Snapshots |
Snapshot_Key | Rich Text |
冪等主鍵:{process_key}:{window_bucket} |
DB_BPMN_Health_Snapshots |
Health_Verdict | Select |
HEALTHY / SLA_WARNING / INCIDENT_SPIKE / ENGINE_STALLED |
DB_BPMN_Health_Snapshots |
Active_Incidents | Number |
當前處於未解決狀態的 BPMN Incident 數量 |
DB_BPMN_Health_Snapshots |
Overdue_User_Tasks | Number |
超出約定處理 SLA 的人工審批任務數 |
DB_BPMN_Health_Snapshots |
Sampled_At | Date |
快照取樣時間(ISO 8601) |
DB_BPMN_Health_Snapshots |
Process_Relation | Relation |
雙向關聯至 DB_BPMN_Processes |
DB_BPMN_Incident_Gates |
Gate_Title | Title |
熔斷工單摘要(如 [INCIDENT_SPIKE] settlement_v4 · 14 实例挂起) |
DB_BPMN_Incident_Gates |
Gate_Key | Rich Text |
冪等主鍵:{process_key}:{gate_category}:{day_bucket} |
DB_BPMN_Incident_Gates |
Gate_State | Select |
OPEN / RESOLVED_AND_RETRIED / FALSE_POSITIVE |
DB_BPMN_Incident_Gates |
Gate_Category | Select |
FEEL_EVAL_ERROR / CONNECTOR_TIMEOUT / USER_TASK_SLA_BREACH / JOB_RETRIES_EXHAUSTED |
DB_BPMN_Incident_Gates |
SLA_Due_At | Date |
流程故障修復與批次重試截止時間 |
DB_BPMN_Incident_Gates |
Redacted_Error_Summary | Rich Text |
剝離流程變數與表單載荷後的脫敏錯誤摘要 |
DB_BPMN_Incident_Gates |
Process_Relation | Relation |
雙向關聯至 DB_BPMN_Processes |
步驟 2:配置原始位元組流 HMAC 驗籤、心跳降噪與變數脫敏
- 在 JSON 解析前讀取原始請求位元組流校驗簽名:接收 Camunda Exporter Webhook 或 Flowable Event Listener 回撥(即時事件架構參閱 Notion Integration Webhooks 官方即時事件訂閱實戰)時,必須通過
request.get_data(cache=False)讀取原始bytes,並用hmac.compare_digest()驗證 HMAC-SHA256; - 入口丟棄常規任務流轉與健康視窗噪音:對於
ZEEBE_BROKER_HEARTBEAT、JOB_ACTIVATED、TASK_ASSIGNED_ROUTINE以及health_verdict == "HEALTHY"且active_incidents == 0、overdue_user_tasks == 0的正常視窗上報,直接在邊緣閘道器跳過寫入; - 剝離流程變數與表單載荷並正則擦除 PII:呼叫
sanitize_bpmn_payload()剔除process_variables、form_submission_raw、service_task_headers、oauth_token,並擦除身份證號、銀行卡號、密碼金鑰、電子郵件及 RFC1918 內網 IP。
步驟 3:保護流程主檔頁的補償回滾 SOP 與審批升級矩陣
DB_BPMN_Processes 主檔頁正文中通常記錄了該流程的 人工兜底審批升級矩陣、Saga 補償子流程說明、定時邊界事件閾值與合規審計聯絡人。同步服務僅允許通過 PATCH /v1/pages/{page_id} 更新屬性,嚴禁覆蓋頁面正文塊。
步驟 4:基於 Notion-Version: 2026-03-11 在流程頁頂置頂紅色熔斷警示塊
全鏈路統一宣告請求頭 Notion-Version: 2026-03-11(升級規範參閱 Notion Views API 與 2026-03-11 介面升級工程實戰)。當檢出 Active_Incidents >= Max_Incident_Threshold 或 Overdue_User_Tasks >= 5 時,立即派發或維持 OPEN 熔斷工單、自動勾選 Deploy_Freeze_Lock,並呼叫 PATCH /v1/blocks/{page_id}/children 配合 position: { "type": "start" } 在頁頂置頂紅色 callout 告警塊。
三、Python 原始位元組驗籤、變數脫敏與三表冪等同步實戰
以下 Python 生產級閘道器完整實現 request.get_data(cache=False) 原始位元組 hmac.compare_digest 驗籤、心跳降噪、流程變數脫敏、429 指數退避重試(原理參閱 Notion API 速率限制與容錯架構)及 Notion-Version: 2026-03-11 三表冪等同步:
# bpmn_notion_gateway.py — Python 3.11+ Camunda 8 (Zeebe) / Flowable 同步网关
import hashlib
import hmac
import json
import os
import random
import re
import time
from datetime import datetime, timedelta, timezone
from typing import Any, Dict
import requests
from flask import Flask, jsonify, request
NOTION_TOKEN = os.environ["NOTION_TOKEN"]
BPMN_WEBHOOK_SECRET = os.environ["BPMN_WEBHOOK_SECRET"].encode("utf-8")
PROCESSES_DS_ID = os.environ["NOTION_BPMN_PROCESSES_DS_ID"]
SNAPSHOTS_DS_ID = os.environ["NOTION_BPMN_SNAPSHOTS_DS_ID"]
GATES_DS_ID = os.environ["NOTION_BPMN_GATES_DS_ID"]
app = Flask(__name__)
def verify_raw_hmac(raw_body: bytes, sig_header: str | None) -> bool:
if not sig_header:
return False
provided = re.sub(r"^sha256=", "", sig_header.strip(), flags=re.IGNORECASE)
expected = hmac.new(BPMN_WEBHOOK_SECRET, raw_body, hashlib.sha256).hexdigest()
return hmac.compare_digest(expected, provided)
def sanitize_bpmn_payload(payload: Dict[str, Any]) -> str:
forbidden = {"process_variables", "form_submission_raw", "service_task_headers", "oauth_token", "raw_stacktrace"}
safe = {k: v for k, v in payload.items() if k.lower() not in forbidden}
text = json.dumps(safe, ensure_ascii=False)
text = re.sub(r"\b\d{17}[\dXx]\b", "[REDACTED_ID_CARD]", text)
text = re.sub(r"\b\d{16,19}\b", "[REDACTED_BANK_CARD]", text)
text = re.sub(r"\b(?:10\.\d{1,3}|192\.168|172\.(?:1[6-9]|2\d|3[01]))\.\d{1,3}\.\d{1,3}\b", "[REDACTED_IP]", text)
text = re.sub(r"(?i)(password|secret|token|authorization)\s*[=:]\s*['\"]?[^\s,'\"&}]+", r"\1=[REDACTED]", text)
text = re.sub(r"\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}\b", "[REDACTED_EMAIL]", text)
return text[:1000]
def notion_request(path: str, method: str, payload: Dict[str, Any] | None = None) -> Dict[str, Any]:
headers = {
"Authorization": f"Bearer {NOTION_TOKEN}",
"Notion-Version": "2026-03-11",
"Content-Type": "application/json",
}
for attempt in range(5):
resp = requests.request(method, f"https://api.notion.com/v1{path}", headers=headers, json=payload, timeout=15)
if resp.status_code == 429 and attempt < 4:
retry_after = float(resp.headers.get("Retry-After", "1"))
time.sleep(retry_after + (0.4 * (2**attempt)) + random.uniform(0, 0.25))
continue
resp.raise_for_status()
return resp.json()
raise RuntimeError("Exceeded Notion API 429 retry budget")
def sync_bpmn_event(evt: Dict[str, Any]) -> Dict[str, Any]:
event_type = str(evt.get("event_type", "")).upper()
if event_type in {"ZEEBE_BROKER_HEARTBEAT", "JOB_ACTIVATED", "TASK_ASSIGNED_ROUTINE"}:
return {"skipped": True, "reason": "routine-bpmn-noise-filtered"}
verdict = str(evt.get("health_verdict", "HEALTHY")).upper()
active_incidents = int(evt.get("active_incidents", 0))
overdue_tasks = int(evt.get("overdue_user_tasks", 0))
threshold = int(evt.get("max_incident_threshold", 10))
if verdict == "HEALTHY" and active_incidents == 0 and overdue_tasks == 0:
return {"skipped": True, "reason": "healthy-bpmn-window-ignored"}
engine = str(evt["bpmn_engine"]).upper()
tenant = str(evt.get("tenant", "default")).lower()
bpmn_id = str(evt["bpmn_process_id"]).lower()
process_key = f"{engine.lower()}:{tenant}:{bpmn_id}"
# 1. 幂等同步流程定义契约主档 (DB_BPMN_Processes)
proc_res = notion_request(
f"/data_sources/{PROCESSES_DS_ID}/query",
"POST",
{"filter": {"property": "Process_Key", "rich_text": {"equals": process_key}}, "page_size": 1},
)
proc_props: Dict[str, Any] = {
"Process_Name": {"title": [{"text": {"content": str(evt["process_name"])[:120]}}]},
"Process_Key": {"rich_text": [{"text": {"content": process_key}}]},
"BPMN_Engine": {"select": {"name": engine}},
"Max_Incident_Threshold": {"number": threshold},
}
if proc_res["results"]:
proc_page_id = proc_res["results"][0]["id"]
notion_request(f"/pages/{proc_page_id}", "PATCH", {"properties": proc_props})
else:
proc_props["Deploy_Freeze_Lock"] = {"checkbox": False}
created = notion_request(
"/pages",
"POST",
{"parent": {"type": "data_source_id", "data_source_id": PROCESSES_DS_ID}, "properties": proc_props},
)
proc_page_id = created["id"]
# 2. 幂等同步健康窗口快照 (DB_BPMN_Health_Snapshots)
window_bucket = str(evt["window_bucket"])
snapshot_key = f"{process_key}:{window_bucket}"
snap_res = notion_request(
f"/data_sources/{SNAPSHOTS_DS_ID}/query",
"POST",
{"filter": {"property": "Snapshot_Key", "rich_text": {"equals": snapshot_key}}, "page_size": 1},
)
snap_props = {
"Snapshot_Title": {"title": [{"text": {"content": f"[{window_bucket}] {evt['bpmn_process_id']} · Incident {active_incidents} / 超时 {overdue_tasks}"}}]},
"Snapshot_Key": {"rich_text": [{"text": {"content": snapshot_key}}]},
"Health_Verdict": {"select": {"name": verdict}},
"Active_Incidents": {"number": active_incidents},
"Overdue_User_Tasks": {"number": overdue_tasks},
"Sampled_At": {"date": {"start": str(evt["sampled_at"])}},
"Process_Relation": {"relation": [{"id": proc_page_id}]},
}
if snap_res["results"]:
notion_request(f"/pages/{snap_res['results'][0]['id']}", "PATCH", {"properties": snap_props})
else:
notion_request("/pages", "POST", {"parent": {"type": "data_source_id", "data_source_id": SNAPSHOTS_DS_ID}, "properties": snap_props})
# 3. 阻塞实例或超时任务超阈值:派发熔断工单并页顶置顶红色警示
triggered = active_incidents >= threshold or overdue_tasks >= 5 or verdict == "ENGINE_STALLED"
if triggered:
gate_category = str(evt.get("gate_category", "USER_TASK_SLA_BREACH" if overdue_tasks >= 5 else "JOB_RETRIES_EXHAUSTED")).upper()
day_bucket = datetime.now(timezone.utc).strftime("%Y-%m-%d")
gate_key = f"{process_key}:{gate_category.lower()}:{day_bucket}"
gate_res = notion_request(
f"/data_sources/{GATES_DS_ID}/query",
"POST",
{"filter": {"property": "Gate_Key", "rich_text": {"equals": gate_key}}, "page_size": 1},
)
if not gate_res["results"]:
sla_due = (datetime.now(timezone.utc) + timedelta(hours=4)).strftime("%Y-%m-%d")
notion_request(
"/pages",
"POST",
{
"parent": {"type": "data_source_id", "data_source_id": GATES_DS_ID},
"properties": {
"Gate_Title": {"title": [{"text": {"content": f"[{gate_category}] {evt['bpmn_process_id']} · Incident {active_incidents}"}}]},
"Gate_Key": {"rich_text": [{"text": {"content": gate_key}}]},
"Gate_State": {"select": {"name": "OPEN"}},
"Gate_Category": {"select": {"name": gate_category}},
"SLA_Due_At": {"date": {"start": sla_due}},
"Redacted_Error_Summary": {"rich_text": [{"text": {"content": sanitize_bpmn_payload(evt)}}]},
"Process_Relation": {"relation": [{"id": proc_page_id}]},
},
},
)
notion_request(f"/pages/{proc_page_id}", "PATCH", {"properties": {"Deploy_Freeze_Lock": {"checkbox": True}}})
notion_request(
f"/blocks/{proc_page_id}/children",
"PATCH",
{
"position": {"type": "start"},
"children": [
{
"object": "block",
"type": "callout",
"callout": {
"icon": {"type": "emoji", "emoji": "⚙️"},
"color": "red_background",
"rich_text": [
{
"type": "text",
"text": {
"content": f"[BPMN 流程熔断] {evt['process_name']}({engine})触发 {gate_category}(阻塞实例 {active_incidents} · 超时人工任务 {overdue_tasks}),已锁定 Deploy_Freeze_Lock!"
},
}
],
},
}
],
},
)
return {"ok": True, "proc_page_id": proc_page_id, "triggered": triggered}
@app.post("/webhooks/bpmn-events")
def handle_bpmn_webhook():
raw_body = request.get_data(cache=False)
if not verify_raw_hmac(raw_body, request.headers.get("X-BPMN-Signature")):
return jsonify({"error": "Invalid HMAC signature"}), 401
return jsonify(sync_bpmn_event(json.loads(raw_body.decode("utf-8"))))
四、Formula 2.0 實戰:BPMN 流程部署放行與審批超時門禁公式
在 DB_BPMN_Processes 中建立 Formula 2.0 屬性 BPMN 流程发布放行门禁(語法詳參 Formula 2.0 函式與正則速查手冊 與 官方公式指南),綜合核驗發版凍結鎖、逾期異常工單、當前阻塞 Incident 數量、超時人工任務數與遙測心跳新鮮度:
| BPMN 流程治理維度 | Formula 2.0 核心判定條件 | 平臺工程與業務協同價值 |
|---|---|---|
| 存在逾期未處理的流程熔斷工單 | overdueGates.length() > 0 |
強制流程 Owner 優先清理超時阻塞工單再迭代新模型 |
| 已開啟部署凍結鎖或有未閉環單 | frozen || openGates.length() > 0 |
在 CI/CD 階段阻止繼續釋出新版 .bpmn 模型擴大故障面 |
| 阻塞 Incident 或審批超時越線 | latestSnap.prop("Active_Incidents") >= threshold || latestSnap.prop("Overdue_User_Tasks") >= 5 |
即時暴露 FEEL 報錯、服務超時與業務人工審批積壓 |
| BPMN 引擎巡檢斷更超 2 小時 | snapAgeHours > 2 |
及時發現 Zeebe Exporter 或 Flowable 監聽佇列故障 |
lets(
frozen, prop("Deploy_Freeze_Lock"),
threshold, prop("Max_Incident_Threshold"),
gates, prop("BPMN_Incident_Gates"),
openGates, gates.filter(current.prop("Gate_State") == "OPEN"),
overdueGates, openGates.filter(!empty(current.prop("SLA_Due_At")) && current.prop("SLA_Due_At") < now()),
snaps, prop("BPMN_Health_Snapshots").sort(current.prop("Sampled_At")),
latestSnap, snaps.last(),
snapAgeHours, if(empty(latestSnap) || empty(latestSnap.prop("Sampled_At")), 9999, dateBetween(now(), latestSnap.prop("Sampled_At"), "hours")),
ifs(
overdueGates.length() > 0,
style("🚨 流程故障修复超期:" + format(overdueGates.length()) + " 项 BPMN 熔断工单逾期", "red", "bold", "red_background"),
frozen || openGates.length() > 0,
style("🛑 新版 BPMN 部署已冻结:尚有 " + format(openGates.length()) + " 项阻塞工单待闭环", "red", "bold", "red_background"),
!empty(latestSnap) && (latestSnap.prop("Active_Incidents") >= threshold || latestSnap.prop("Overdue_User_Tasks") >= 5),
style("⚠️ 流程实例大面积阻塞:Incident " + format(latestSnap.prop("Active_Incidents")) + " · 超时任务 " + format(latestSnap.prop("Overdue_User_Tasks")), "red", "bold"),
!empty(latestSnap) && (latestSnap.prop("Active_Incidents") > 0 || latestSnap.prop("Overdue_User_Tasks") > 0),
style("⏳ 存在零星阻塞/超时:Incident " + format(latestSnap.prop("Active_Incidents")) + " · 超时 " + format(latestSnap.prop("Overdue_User_Tasks")), "orange", "bold"),
snaps.length() == 0,
style("⚪ 尚无 Camunda / Flowable 运行快照", "gray"),
snapAgeHours > 2,
style("⏳ BPMN 引擎遥测断更:已超过 " + format(snapAgeHours) + " 小时未上报窗口快照", "orange", "bold"),
style("🟢 流程编排健康受控:无阻塞 Incident · 可正常迭代发版", "green", "bold", "green_background")
)
)
五、Camunda 8 (Zeebe) / Flowable 同步常見故障排查
在實施 BPMN 流程編排與 Notion 治理閉環時,以下四類高頻問題需重點排查(通用排障思路請參閱 Notion 常見報錯與故障診斷手冊):
- 大量
JOB_ACTIVATED與 Broker 心跳打爆 Notion429配額:未在閘道器入口過濾常規任務流轉事件。解法:直接丟棄心跳與常規啟用流水,僅按window_bucket聚合同步含異常或超時的視窗快照; - 故障工單把客戶身份證號、表單明文或 OAuth Token 寫入 Notion:直接序列化了原始事件。解法:通過
request.get_data(cache=False)校驗原始簽名後,呼叫sanitize_bpmn_payload()剝離process_variables與form_submission_raw並執行 PII 正則脫敏; - 同一條聯結器異常導致每輪巡檢新增多條工單:工單主鍵混入了自增 Zeebe Incident Key。解法:固定使用
{process_key}:{gate_category}:{day_bucket}作為Gate_Key冪等主鍵; - 修復表示式並批次重試失敗例項後門禁公式仍呈紅色凍結:僅上報了健康新快照,未解除工單與釋出鎖。解法:在
DB_BPMN_Incident_Gates將工單狀態流轉為RESOLVED_AND_RETRIED並取消勾選Deploy_Freeze_Lock。
核心手冊與速查工具
高頻手冊與實用生產力工具直達常見問題與答疑 (FAQ)
高頻疑難解析與避坑指南完全不需要。绝大多数核心功能在免费 Starter 计划中均可完整体验与实操练习,无需额外付费购买付费团队版。
建议从理解弹性盒子模型(Flexbox)开始,熟练运用 Hug(适应内容)、Fill(填充容器)与 Fixed(固定尺寸),再结合绝对定位和负间距完成复杂响应式组件构建。
在 Notion 画布中按快捷键 Shift + I 打开 Resources 资源弹窗,切换到「Plugins」选项卡,即可直接搜索并一键运行海量社区优质插件。
Notion Variables 支持颜色、数值、字符串和布尔值等多种类型,可建立轻暗色模式切换、多平台间距规范等,配合 Dev Mode 可无缝导出为前端生产代码。