New advertisers: 50% off your first month with code FIRSTMONTHSee slots
github avatar

Salesforce Flow Design

Architectural guidance for choosing Salesforce Flow types and enforcing bulk-safe, fault-tolerant design before deployment.

skills.sh installs
839
GitHub stars
41.4K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers flow type selection across before-save, after-save, Screen, Autolaunched, Scheduled, and Platform Event flows, plus when Apex or declarative tools are better
  • Includes bulk safety checks that flag DML or Get Records inside loops, with the Transform element as the preferred reshaping pattern
  • Enforces fault connectors on every data-changing, email, and callout element, and prohibits fault paths that loop back to the faulted element
  • Designed for Salesforce admins and developers reviewing Record-Triggered, Screen, and Scheduled flows before activation

Install

$ npx -y skills add github/awesome-copilot --skill salesforce-flow-design -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Salesforce Flow Design and Validation

Apply these checks to every Flow you design, build, or review.

Step 1 — Confirm Flow Is the Right Tool

Before designing a Flow, verify that a lighter-weight declarative option cannot solve the problem:

RequirementBest tool
Calculate a field value with no side effectsFormula field
Prevent a bad record save with a user messageValidation rule
Sum or count child records on a parentRoll-up Summary field
Complex multi-object logic, callouts, or high volumeApex (Queueable / Batch) — not Flow
Everything elseFlow ✓

If you are building a Flow that could be replaced by a formula field or validation rule, ask the user to confirm the requirement is genuinely more complex.

Step 2 — Select the Correct Flow Type

Details

Repository
github.com/github/awesome-copilot
Category
Backend & APIs
First seen
May 16, 2026

More from github/awesome-copilot

All 293

Similar to Salesforce Flow Design

More Backend & APIs