trigger-flow

A command that starts a deployed Postman Flow with chosen inputs. A Postman Flow is a visual workflow for connecting API requests and other processing steps.

In plain words
What is it for?
Use it to resolve a flow by name or ID, pass inputs, query parameters, headers, or a scenario, and optionally handle flows that are not deployed or have triggering disabled.
Why use it?
It lets you test or use a flow from the command line and exposes the run ID, HTTP result, response, and per-step details when something fails.

Command

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/postman-devrel/postman-claude-code-plugin/trigger-flow
Clone the repo
git clone --depth 1 https://github.com/Postman-Devrel/postman-claude-code-plugin
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 371 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00023 $0.00371
Opus 5 $0.00012 $0.00186
Sonnet 5 $0.00005 $0.00074
Haiku 4.5 $0.00002 $0.00037

Measured 2d ago against content hash 57890fd62510, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

trigger-flow scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/trigger-flow.md · 25 lines

What it actually says

Trigger a deployed Postman Flow from natural language, using the Postman CLI. Follow the trigger-flow skill.

Inputs (from the user's message)

  • The flow (a 24-char ID, or a name to resolve via list-flows)
  • Any inputs / query params / headers / scenario
  • The workspace ID (ask if a name needs resolving and you don't have it)

Steps

  1. Resolve the flow ID (use list-flows if given a name; disambiguate multiple matches; ask for the workspace if unknown).
  2. Build the flags from natural language: -i k=v, -q k=v, --headers k=v, -s "<scenario>".
  3. Show the command, then run it:
    POSTMAN_CLI_SOURCE=claude-code-plugin postman flows trigger <flowId> -i amount=4200
    
  4. Report the Run ID, HTTP status, and response body.
  5. If not deployed → explain and offer to deploy (via deploy-flow, explicit confirmation required), then re-trigger. If the trigger is disabled → offer postman flows update <flowId> --trigger on (confirm), then trigger.
  6. On a non-2xx response → surface status + body and offer get-flow-run --run-id <id> for per-block detail.

Always prefix CLI calls with POSTMAN_CLI_SOURCE=claude-code-plugin. Reuse existing postman login credentials — never authenticate twice. Confirm before any mutating action (deploy, enable trigger).

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 25 lines · 23 tokens per session scan A 57890fd62510

Subscribe to this mod's changes

trigger-flow is a command published in the GitHub repository Postman-Devrel/postman-claude-code-plugin (38 stars, last pushed 27d ago), licensed Apache-2.0. It adds 23 tokens to every session and 371 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other commands, from other repositories