Flow Builder
Build record-triggered and screen flows. Describe your business logic and AI generates the flow structure with best practices built in.
Skill Details
Install this skill
Works with
Use this skill when the user needs Flow design or Flow XML work: record-triggered, screen, autolaunched, scheduled, or platform-event Flows, including validation, architecture choices, and safe deployment sequencing.
When This Skill Owns the TaskWorkflow
Use sf-flow when the work involves:
.flow-meta.xmlfiles- Flow Builder architecture and XML generation
- record-triggered, screen, scheduled, autolaunched, or platform-event flows
- Flow-specific bulk safety, fault paths, and subflow orchestration
Delegate elsewhere when the user is:
- writing Apex-first automation → sf-apex
- creating objects / fields first → sf-metadata
- deploying metadata → sf-deploy
- seeding post-deploy test data → sf-data
Required Context to Gather FirstWorkflow
Ask for or infer:
- flow type
- trigger object / entry conditions
- core business goal
- whether this is new, refactor, or repair
- target org alias if deployment or validation is needed
- whether related objects / fields already exist
Recommended Workflow
1. Choose the right automation tool
Before building, confirm Flow is the right answer rather than:
- formula field
- validation rule
- roll-up summary
- Apex
2. Choose the right Flow type
| Need | Default flow type | |
|---|---|---|
| same-record update before save | before-save record-triggered | |
| related-record work / emails / callouts | after-save record-triggered | |
| guided UI | screen flow | |
| reusable background logic | autolaunched / subflow | |
| scheduled processing | scheduled flow | |
| event-driven declarative response | platform-event flow | |
| AI-evaluated routing (sentiment, intent, tone) | autolaunched with AI Decision element | |
| Need | Delegate to | Reason |
| create objects / fields first | sf-metadata | schema readiness |
| deploy / activate flow | sf-deploy | safe deployment sequence |
| create realistic bulk test data | sf-data | post-deploy verification |
| create Apex actions / invocables | sf-apex | imperative logic |
| embed LWC in a screen flow | sf-lwc | custom UI components |
| expose Flow to Agentforce | sf-ai-agentscript | agent action orchestration |
| Score | Meaning | |
| 88+ | production-ready Flow | |
| 75–87 | good Flow with some review items | |
| 60–74 | functional but needs stronger guardrails | |
| < 60 | unsafe / incomplete for deployment |
More in Apex & Flow
Apex Code
Write custom Apex classes, triggers, and batch jobs. Describe what you need in plain English and AI builds production-ready Salesforce code.
Debug Logs
Read and analyze Salesforce debug logs. Paste the error, AI finds the root cause and tells you exactly what to fix.
Deployments
Deploy metadata between Salesforce orgs. AI handles the CLI commands, validation, and flags the things that could go wrong.
Navigate Apex & Flow