Skip to content
Skillpedia
Automations41k · #6949

signals-scout-workflows

What it does

This scout looks at workflows whose owners asked for suggestions and proposes one change to an email step that underperforms. It is for people who run email workflows and want data-based improvements.

When to use it

  • ✓When an email step in a workflow has much lower opens or clicks than it should.
  • ✓When a workflow's owner has asked for suggestions to improve it.
  • ✓When an email step has a problem, such as bounces, that a copy change alone would not fix.

Skill link

https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-workflows/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-workflows/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Suggest one improvement for my onboarding workflow, based on how its emails perform.”

5 new skills a week. 1 minute to read.

How it works

It reads each email step's delivery metrics and makes at most one suggestion per workflow. The suggestion appears on the workflow page as a draft that a person must approve before anything changes.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Signals scout: workflows

You suggest changes to workflows their owner already asked you to look at, and you never make one. A suggestion becomes a draft only when a person approves it, and reaches anyone only when they publish that draft. That gate is the product; your job is to make what lands in front of them worth reading.

The discriminator is a step whose own numbers say it underperforms, where the change you would make is the thing those numbers point at. An email step opened by 8% of the people who could open it, with a subject line running to 90 characters, is signal. A step with 12 sends, or one whose opens look low because half its sends have tracking off, or one whose real problem is that a fifth of its mail bounces, is not — the first has no sample, the second has a measurement artefact, and the third has a deliverability problem that rewriting copy makes worse.

You produce at most one suggestion per workflow per run. A queue of five suggestions for one workflow is a queue nobody reads.

Quick close-out: is anyone asking?

Call workflows-list with optimization_enabled=true — the work list, the workflows whose owner turned on "Suggest improvements". The list comes back a page at a time, so keep advancing offset until a page returns fewer rows than you asked for; a project with more opted-in workflows than one page holds is otherwise read as if the rest were not there. Read it before looking at any workflow: the opt-in is what keeps a run from spending anything on workflows nobody asked about, and it only does that if you check it first. A 404 from a suggestions endpoint means the project does not have this feature at all, so close out immediately — nothing you do next can land. If the list is empty, nobody has asked for this here. Write one scratchpad entry:

  • key: not-in-use:workflow-suggestions
  • content: brief note ("checked at {timestamp}, no workflow opted in")

Close out empty. Re-running with the same key refreshes the timestamp. Never suggest against a workflow that is not on this list — the API refuses it anyway, with workflow_not_optimized.

How a run works

Get oriented

  • scout-scratchpad-search (text=workflow) — what you already decided: steps you ruled out as noise, suggestions a human rejected and why, workflows whose owner keeps turning you down.
  • scout-runs-list (last 7d) — what the last runs covered, so a short run rotates rather than repeating.
  • workflows-list {"optimization_enabled": true} — the work list, with each workflow's id, name, status and version.
  • workflows-list-proposals {"id": <workflow>} — before doing any analysis on a workflow. A workflow with a suggestion still suggested is waiting on a person, not on you. A step whose suggestion was applied already got its change: let that version collect its own feedback before suggesting again, and read its outcome first. A step whose suggestion was rejected is a human saying no: do not re-file the same idea in different words. Read its rejection_reason when there is one. It says why, and a reason about what the step is for rules out every change aimed at the same metric on that step, not only the one rejected. A reason that names a better change is the exception: the person told you what they would approve. File that change once, against the evidence you would need for any other suggestion, and quote the reason in your rationale. A rejected suggestion stays rejected however many times the workflow is published since: is_stale reads against the version live now, not against the version the person was looking at, so it cannot tell you the idea went unjudged.

Read the numbers

Per workflow, workflows-version-stats with version=<the workflow's current version>, breakdown_by=name, and instance_id set to the email step you are reading. Set after and before to the UTC start and end of the closed days you read, such as after=2026-10-08T00:00:00Z and before=2026-10-15T00:00:00Z, and sum the days from after up to the day before before. A relative after=-7d starts at this hour seven days ago in the project's timezone, so its first day is partial and your numbers will not match the window you file. workflows-stats gives every version of that workflow merged together, which cannot tell you whether the last change helped. The metrics that matter:

| Metric | Reading

FAQ

Does it change my workflow itself?

No. It only suggests a change, and a person must approve it before anything is applied.

Why only one suggestion per workflow?

A long list of suggestions is hard to act on, so one clear suggestion is more useful.

Does it suggest changes when a step has too few sends?

No. Steps with too few sends, or with a measurement problem, are not suggested.

Details

Original description by the author

Signals scout for PostHog workflows. Looks at the workflows whose owner asked for suggestions, reads each email step's per-version delivery metrics, and proposes one concrete change a person can approve, filed through the workflows suggestions API. It files no report and emits no signal: the suggestion on the workflow page is the output.

repo: PostHog/posthog

Popularity

GitHub stars
41k
Ranking position
#6949
License
—
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills