workflows-history
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseZapier Workflows History
Zapier工作流运行历史
Use the public SDK CLI experimental command surface. Do not use .
zapier-sdk-code-substrate使用公开的SDK CLI实验性命令接口。请勿使用。
zapier-sdk-code-substrateCompatibility Gate
兼容性检查
Before using this skill, run the bundle compatibility check. If is not installed or cannot be loaded, run or install from before continuing. If reports SDK/skill drift, follow its refresh instructions, stop this skill invocation, reload the agent workspace if needed, and ask the user to rerun the original request.
workflows-doctorworkflows-doctorworkflows-installworkflows-doctorzapier/agent-skillsworkflows-doctor使用此技能前,请运行工具包兼容性检查。如果未安装或无法加载,请先运行或从安装。如果报告SDK/技能版本不一致,请按照其刷新说明操作,停止当前技能调用,必要时重新加载Agent工作区,然后请用户重新发起原始请求。
workflows-doctorworkflows-doctorworkflows-installzapier/agent-skillsworkflows-doctorworkflows-doctorIdentify The Workflow
定位目标工作流
If the user provides a workflow ID, use it directly.
If the user refers to the workflow by name or description, list workflows first and find the matching ID:
bash
zapier-sdk --experimental list-workflows --jsonIf multiple workflows match, show the candidates and ask the user which one they mean.
如果用户提供了工作流ID,直接使用该ID即可。
如果用户通过名称或描述指代工作流,请先列出所有工作流并找到匹配的ID:
bash
zapier-sdk --experimental list-workflows --json如果有多个工作流匹配,请列出候选选项并询问用户具体指的是哪一个。
Fetch Run History
获取运行历史
bash
zapier-sdk --experimental list-workflow-runs <workflow-id> --jsonParse the JSON output. Useful fields may include , , , , , and .
idstatusstarted_atfinished_atinputoutputWhen the workflow ID is known, include the Zapier editor link:
text
https://zapier.com/durables-editor/<workflow-id>bash
zapier-sdk --experimental list-workflow-runs <workflow-id> --json解析JSON输出。有用的字段可能包括、、、、和。
idstatusstarted_atfinished_atinputoutput当已知工作流ID时,请附上Zapier编辑器链接:
text
https://zapier.com/durables-editor/<workflow-id>Drill Into A Run
深入查看单次运行详情
If a single deployed workflow run failed or the user wants step-level detail:
bash
zapier-sdk --experimental get-workflow-run <run-id> --jsonUse only for one-off synthetic runs created by , not for deployed workflow runs returned by .
get-durable-run <run-id>zapier-sdk --experimental run-durablelist-workflow-runsIf a manual trigger response returns a trigger ID before a workflow run ID is available, bridge from trigger to run:
bash
zapier-sdk --experimental get-trigger-run <trigger-id> --jsonSummarize the failure, status, timing, input, output, and any step error details that appear in the response. Avoid dumping raw JSON unless the user asks for it.
如果某个已部署工作流的单次运行失败,或者用户需要步骤级详细信息:
bash
zapier-sdk --experimental get-workflow-run <run-id> --json仅对通过创建的一次性合成运行使用命令,请勿用于返回的已部署工作流运行。
zapier-sdk --experimental run-durableget-durable-run <run-id>list-workflow-runs如果手动触发响应返回了触发ID,但工作流运行ID尚未可用,请通过以下命令从触发信息关联到运行信息:
bash
zapier-sdk --experimental get-trigger-run <trigger-id> --json总结响应中显示的失败原因、状态、时间信息、输入、输出以及任何步骤错误详情。除非用户要求,否则请勿直接输出原始JSON数据。
Draft State
草稿状态
Runs execute published versions — unpublished draft edits never show up in run history. If the user expects a recent change to be reflected in runs and it isn't, check for an open draft holding that change:
bash
zapier-sdk --experimental list-workflow-drafts <workflow-id> --jsonIf an open draft exists, tell the user their change is unpublished (note and the editor link) rather than concluding the workflow is broken.
last_edited_at工作流运行基于已发布版本——未发布的草稿修改不会出现在运行历史中。如果用户期望最近的修改能在运行中体现但未实现,请检查是否存在包含该修改的未提交草稿:
bash
zapier-sdk --experimental list-workflow-drafts <workflow-id> --json如果存在未提交草稿,请告知用户其修改尚未发布(备注时间和编辑器链接),而不是判定工作流出现故障。
last_edited_at