build-flow
Skill3 starsChanged 7 months agoMITView on GitHub
Build email/SMS automation flows with triggers, steps, waits, splits, and webhooks. Covers welcome series, cart abandonment, post-purchase, win-back, browse abandonment, and custom event-driven flows. Use when: "automation flow", "welcome series", "drip campaign", "cart abandonment flow", "win-back flow", "build flow", or "email sequence".
4 other projects use a version of this.
Adopted by
Most recently taken up by
- OwnOptic/power-automate-mcptheir own version, first seen Nov 4, 2026
- crewAIInc/skillstheir own version, first seen Oct 13, 2026
- microsoft/power-platform-skillstheir own version, first seen Oct 13, 2026
- ian-lawrence423/Claude-skillstheir own version, first seen Oct 11, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- microsoft/power-platform-skills★ 1.1ksame name
- crewAIInc/skills★ 45same name
- ian-lawrence423/Claude-skills★ 0same name
- OwnOptic/power-automate-mcp★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository6 other files it gives its agents.
- compose-emailSkill
- import-contactsSkill
- nitrosend-analyticsSkill
- nitrosend-setupSkill
- send-campaignSkill
- send-transactionalSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 3 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Ask what kind of flow they need.
- Very specific: line 46
Use the filter schema returned by the intent response or nitro://schema.
- Distinctive: line 54
Prefer behavior-based branches when the necessary evidence exists.
- Very specific: line 69
Treat next_call.input as the selected complete baseline for the flow and its email steps.
- Distinctive: line 93
Create for real (without dry_run)
- Very specific: line 104
Every nitro_control_delivery call requires the expected_brand_sid brand assertion from the result you reviewed — it never switches brands.
- Very specific: line 110
Use nitro_compose_flow with mode: "replace", flow_id, confirm: true, expected_draft_revision_id (the current draft revision), and a stable …
- Very specific: line 115
Use nitro_compose_flow with mode: "patch", flow_id, an idempotency_key, targeting email actions by action_name + their if_version …
- Very specific: line 119
Every non-dry-run persistence mutation (create, rename patch, replace) requires an idempotency_key.
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Build Flow
Help the user design and create automation flows using Nitrosend.
Understand the Goal
Ask what kind of flow they need. Common patterns:
| Flow Type | Trigger Event | Typical Steps |
| Welcome series | contact_add | Email 1 (immediate) -> Wait 1d -> Email 2 -> Wait 2d -> Email 3 |
| Cart abandonment | cart_abandoned | Wait 1h -> Email 1 -> Wait 1d -> Email 2 (with discount) |
| Post-purchase | checkout or custom | Email 1 (thank you) -> Wait 3d -> Email 2 (review request) |
| Win-back | Custom event or segment | Email 1 -> Wait 3d -> Split (opened?) -> Yes: Email 2 / No: Email 3 |
| Browse abandonment | browse_abandoned | Wait 2h -> Email with viewed products |
| Onboarding | contact_add or custom | Welcome -> Wait 1d -> Getting started -> Wait 2d -> Feature highlight |
| Re-engagement | Custom trigger | Email 1 -> Wait 7d -> Split (engaged?) -> Yes: normal cadence / No: final offer |
Design the Flow
Available Step Types
| Step | Required Props | Notes |
email | subject + (design or body) | Design uses {sections, theme} |
sms | body | SMS text content |
wait | duration (seconds) | 3600=1hr, 86400=1day, 604800=1week |
split | filters, yes steps, no steps | Conditional branching; splits may nest inside yes/no branches |
emit_event | event_name | Fire event to trigger other flows |
webhook | url | POST or PUT to external URL |
subscribe | channel (phone/email/all) | Opt contact in |
unsubscribe | channel (phone/email/all) | Opt contact out |
Split Filters
Use the filter schema returned by the intent response or nitro://schema; do
not assume this document is an exhaustive registry. Common current filters
include contact identity and subscription fields, tags and lists, creation and
interaction timestamps, delivery/engagement metrics such as
contact_last_opened_at and contact_last_clicked_at, event history, and
custom or enrichment fields. Use only names and predicates accepted by the live
schema.
Prefer behavior-based branches when the necessary evidence exists. Keep waits and message frequency proportionate to the user's audience and test the cadence against account performance rather than asserting universal timings.
Create the Flow
Use nitro_compose_flow with:
name: Descriptive flow nametrigger:{ event: "trigger_event_name" }— optionally addsegment_idorcontact_list_idsteps: Array of step objects
Offer dry_run: true first to preview the flow graph.
Composition contract: any newly authored email step enters the contract
before persistence. Call nitro_compose_flow with composition_mode: "intent".
Treat next_call.input as the selected complete baseline for the flow and its
email steps; preserve and fill it by default. Use the compact
composition_contract.creative_routes menu and start a fresh intent with
creative_route_id to select another ready route (that top-level field applies
one route to the whole sequence; to assign routes per email in a multi-email
flow, use email_baseline_selections entries of action_name + route_id —
plus that email's image_binding_ids when the route is image-led — as the
returned contract describes). If that route lacks frozen
evidence, obtain the exact reported facts. Never fall back silently or invent
evidence.
For image-led routes, follow next_call.image_choice and supply an exact image
URL plus an accurate description. Preserve all contract, binding, user
constraint, and idempotency fields. Optionally validate, then persist with
composition_mode: "draft"; full section authoring is an intentional escape
hatch. The returned metered optional_server_authoring_call
(composition_mode: "generate") may instead author, validate, and persist one
draft. SMS-only flows and rename-only patches do not need email authoring
context.
Review and Approve
- Show the dry-run preview (node types and connections)
- Get user approval on the flow design
- Create for real (without dry_run)
- Review:
nitro_review_deliverywithtarget_type: "flow",target_id, and the exact currentrevision_id(flow reviews require it) - Approve:
nitro_control_deliverywithtarget_type: "flow",target_id,operation: "approve", the exact current draftrevision_id, andexpected_brand_sid(copymeta.current_brand.sidfrom the review result) - Go live:
nitro_control_deliverywithtarget_type: "flow",target_id,operation: "live",revision_id, andexpected_brand_sid
Flow approve, reject, and live all require the exact current draft
revision_id; pause/resume omit it, and resume never publishes a draft.
Every nitro_control_delivery call requires the expected_brand_sid brand
assertion from the result you reviewed — it never switches brands.
Modify Existing Flows
To rebuild an existing flow:
- Use
nitro_compose_flowwithmode: "replace",flow_id,confirm: true,expected_draft_revision_id(the current draft revision), and a stableidempotency_key
To rename or update selected email actions:
- Use
nitro_compose_flowwithmode: "patch",flow_id, anidempotency_key, targeting email actions byaction_name+ theirif_versionconcurrency token
Every non-dry-run persistence mutation (create, rename patch, replace) requires
an idempotency_key; drafts persisted through the composition contract reuse
the stable key supplied by the returned next_call.
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
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.

