Skip to content
Back to skills

hubspot-workflow-documenter

ASecurity

Use when documenting or auditing a HubSpot portal's workflows, when asked what a portal's automation actually does, or when looking for broken automation such as duplicate enrolment, dead email references or unreachable steps. Read only.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 6, 2026
developmentpythongobashgitapidocumentation

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned September 6, 2026

npx -y skills add meticulosity/hubspot-workflow-documenter --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of hubspot-workflow-documenter?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for hubspot-workflow-documenter
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/meticulosity-hubspot-workflow-documenter/badge)](https://www.skillsdirectory.com/skills/meticulosity-hubspot-workflow-documenter)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: hubspot-workflow-documenter
description: Use when documenting or auditing a HubSpot portal's workflows, when asked what a portal's automation actually does, or when looking for broken automation such as duplicate enrolment, dead email references or unreachable steps. Read only.
---

# HubSpot Workflow Documenter

Reads a HubSpot portal's workflows and writes documentation for them: what each
one does in plain English, a Mermaid diagram of its logic, and a severity-ranked
list of what is broken.

**This skill only ever reads.** It never creates, edits or deletes anything in
the portal.

## Before you run it

The agency needs a HubSpot private app token in the client's portal. Point them
at `SETUP.md`, which lists the exact scopes and explains why none of them can be
read-only. Then:

```bash
export HUBSPOT_TOKEN='pat-na1-...'
PYTHONPATH=src python3 -m workflow_documenter --out output/portal.md
```

To show somebody the output before any access is granted:

```bash
PYTHONPATH=src python3 -m workflow_documenter --dry-run --out output/sample.md
```

Generated documents contain the client's workflow names and internal structure,
so they belong in `output/`, which is git-ignored.

That renders from bundled fixtures and opens no network connection.

If the client will not grant API access at all, export what you can and use
`--from-dir ./export`. Say plainly that a file-mode run is a thinner analysis.

## Reading the output

The document has four sections. **Findings** is the one that matters: it is
sorted worst first, where "worst" means most able to reach a real person right
now. A defect in a disabled workflow ranks below the same defect in a live one.

Lead with anything under **Critical**. Overlapping enrolment sits there because
two live workflows triggered by the same form catch the same contact twice,
which is the usual cause of duplicate emails and is invisible in the HubSpot UI.

## Things to tell the client honestly

- Webhook URLs are redacted by default because they are credentials. Only pass
  `--include-webhook-urls` if the document is going somewhere private.
- If a scope is missing the run still produces a document, with the unresolved
  names labelled. It does not fail.
- HubSpot has no read-only scope for workflows, so the token can technically
  write. This tool cannot: every call it makes is a GET, and `tests/test_no_writes.py`
  proves it mechanically.

Files in this skill

  • SETUP.md3.1 KB
  • SKILL.md2.4 KB
  • docs/design.md18.7 KB
  • pyproject.toml581 B
  • tests/conftest.py1.5 KB
  • tests/test_cli.py6.5 KB
  • tests/test_diagnose.py7.3 KB
  • tests/test_docs.py3.1 KB
  • tests/test_enrolment.py12.1 KB
  • tests/test_fetch.py2 KB
  • tests/test_filemode.py2.8 KB
  • tests/test_graph.py1.8 KB
  • tests/test_http.py1.8 KB
  • tests/test_integration.py3.8 KB
  • tests/test_labels.py5.4 KB
  • tests/test_mermaid.py7.2 KB
  • tests/test_model.py5 KB
  • tests/test_no_writes.py8.4 KB
  • tests/test_redact.py1.5 KB
  • tests/test_render.py8.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.