Skip to content
github/awesome-copilot

Salesforce Flow Design and Validation

GitHub CopilotGemini CLIClaude CodeOpenAI CodexCursorDevin / Windsurf

About this skill

A text-based skill that guides decisions on building Salesforce Flow automations and selecting the correct type (Record-Triggered, Screen, Autolaunched, Scheduled, and Platform Event), verifying bulkification safety by avoiding DML operations and Get Records queries inside loops, adding error handling paths (Fault Connectors) for every element that changes data, checking the density of overlapping automation before deployment, plus guidance on screen flow user experience and deployment safety by publishing as a draft first.
Start here

How do you use this skill?

1. Ask the assistant to evaluate whether a Flow is the right tool or whether a formula field, validation rule, Roll-up Summary, or Apex suffices. Example user request: "I want to update a field on the same record before save, should I use Flow or another rule?" 2. Determine the appropriate flow type: before-save for modifying fields of the triggering record only, and after-save for related records, email, and external callouts. 3. Review bulkification safety: move any DML or Get Records outside loops using collection variables, and use the Transform element to reshape collections. 4. Add fault connectors for every Create/Update/Delete element, Send Email, Callout, and Apex action, logging the error and showing a friendly message to the user without connecting the path back to the same element. 5. Check for automation overlap (other flows, Process Builder, Workflow rules, and Apex triggers) on the same object and document the inventory. 6. Publish as a Draft and test with a single record, then 200 or more records before activation, including testing the actual entry conditions for scheduled records.

Requirements and limitations

Relies on a plain-text SKILL.md file with no tools or hooks specific to any agent, making it portable across supported agents. Requires an understanding of the Salesforce environment, its objects, and Governor Limits, as well as a Sandbox test environment for validation before production deployment. The skill does not execute or test flows at runtime; it is design and review guidance only, and does not guarantee compatibility with all Salesforce versions.

Installation by agent

Download and extract the ZIP. It contains the folder salesforce-flow-design and the file SKILL.md with the original attachments and license.

GitHub Copilot
  1. Create this path inside your project if it does not exist:.github/skills/
  2. Copy the entire extracted skill folder to this path:.github/skills/salesforce-flow-design/SKILL.md
  3. Open the project in your agent or refresh the skills list and look for salesforce-flow-design.
  4. Request the task shown above and select the skill. Grant only necessary permissions.
Guide GitHub Copilot official documentation ↗
Gemini CLI
  1. Create this path inside your project if it does not exist:.gemini/skills/
  2. Copy the entire extracted skill folder to this path:.gemini/skills/salesforce-flow-design/SKILL.md
  3. Open the project in your agent or refresh the skills list and look for salesforce-flow-design.
  4. Request the task shown above and select the skill. Grant only necessary permissions.
Guide Gemini CLI official documentation ↗
Claude Code
  1. Create this path inside your project if it does not exist:.claude/skills/
  2. Copy the entire extracted skill folder to this path:.claude/skills/salesforce-flow-design/SKILL.md
  3. Open the project in your agent or refresh the skills list and look for salesforce-flow-design.
  4. Request the task shown above and select the skill. Grant only necessary permissions.
Guide Claude Code official documentation ↗
OpenAI Codex
  1. Create this path inside your project if it does not exist:.agents/skills/
  2. Copy the entire extracted skill folder to this path:.agents/skills/salesforce-flow-design/SKILL.md
  3. Open the project in your agent or refresh the skills list and look for salesforce-flow-design.
  4. Request the task shown above and select the skill. Grant only necessary permissions.
Guide OpenAI Codex official documentation ↗
Cursor
  1. Create this path inside your project if it does not exist:.cursor/skills/
  2. Copy the entire extracted skill folder to this path:.cursor/skills/salesforce-flow-design/SKILL.md
  3. Open the project in your agent or refresh the skills list and look for salesforce-flow-design.
  4. Request the task shown above and select the skill. Grant only necessary permissions.
Guide Cursor official documentation ↗
Devin / Windsurf
  1. Create this path inside your project if it does not exist:.devin/skills/
  2. Copy the entire extracted skill folder to this path:.devin/skills/salesforce-flow-design/SKILL.md
  3. Open the project in your agent or refresh the skills list and look for salesforce-flow-design.
  4. Request the task shown above and select the skill. Grant only necessary permissions.
Guide Devin / Windsurf official documentation ↗

Original files retain their language to preserve tool names and paths. Compatibility is classified by review, not runtime testing on every agent version.