agentleFS
zapierzapier/agent-skills/skills/workflows/history/SKILL.md

workflows-history

Skill28 starsChanged 14 days agoMITView on GitHub

Show run history for a specific durable workflow using the Zapier SDK experimental Code Workflows commands. Use when the user asks for run history, execution history, what happened with this Zap, or how a workflow fired.

1 other project uses a version of this, 1 of them edited.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 6 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use the public SDK CLI experimental command surface.

    line 15
  2. Distinctive:

    If the user provides a workflow ID, use it directly.

    line 23
  3. Distinctive:

    If the user refers to the workflow by name or description, list workflows first and find the matching ID:

    line 25
  4. Distinctive:

    If multiple workflows match, show the candidates and ask the user which one they mean.

    line 31
  5. Distinctive:

    When the workflow ID is known, include the Zapier editor link:

    line 41
  6. Distinctive:

    If a single deployed workflow run failed or the user wants step-level detail:

    line 49
  7. Distinctive:

    If a manual trigger response returns a trigger ID before a workflow run ID is available, bridge from trigger to run:

    line 59
  8. Very specific:

    If an open draft exists, tell the user their change is unpublished (note last_edited_at and the editor link) rather than concluding the …

    line 75

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Zapier Workflows History

Use the public SDK CLI experimental command surface. Do not use zapier-sdk-code-substrate.

Compatibility Gate

Before using this skill, run the workflows-doctor bundle compatibility check. If workflows-doctor is not installed or cannot be loaded, run workflows-install or install workflows-doctor from zapier/agent-skills before continuing. If workflows-doctor 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.

Identify 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:

zapier-sdk --stability experimental list-workflows --json

If multiple workflows match, show the candidates and ask the user which one they mean.

Fetch Run History

zapier-sdk --stability experimental list-workflow-runs <workflow-id> --json

Parse the JSON output. Useful fields may include id, status, started_at, finished_at, input, and output.

When the workflow ID is known, include the Zapier editor link:

https://zapier.com/workflow/<workflow-id>

Drill Into A Run

If a single deployed workflow run failed or the user wants step-level detail:

zapier-sdk --stability experimental get-workflow-run <run-id> --json

Draft test runs started with run-workflow-draft are workflow runs too (kind: "draft"); inspect them with get-workflow-run.

A held run is paused until someone acts on it. Report its status_reason, which says why it's held, and quote status_detail to the user as written, which adds the detail, such as when a limit resets or which authentication to reconnect.

If a manual trigger response returns a trigger ID before a workflow run ID is available, bridge from trigger to run:

zapier-sdk --stability experimental get-trigger-run <trigger-id> --json

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

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:

zapier-sdk --stability experimental list-workflow-drafts <workflow-id> --json

If an open draft exists, tell the user their change is unpublished (note last_edited_at and the editor link) rather than concluding the workflow is broken.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.