salesforce-flow

Generate Salesforce Flow XML via a mandatory 3-step pipeline.

803|289|Updated Nov 7, 2025
One-click install
npx skills add https://github.com/forcedotcom/afv-library --skill salesforce-flow
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: salesforce-flow
Source: https://github.com/forcedotcom/afv-library/tree/main/skills/salesforce-flow
Command: npx skills add https://github.com/forcedotcom/afv-library --skill salesforce-flow

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generate Salesforce Flows using a mandatory 3-step MCP pipeline to produce flow metadata, ensuring consistent flow automation.

Core Features & Use Cases

  • Enforces the 3-step pipeline: fetchGroundedObjectMetadata, flowElementSelection, flowElementGeneration.
  • Supports all Flow types (Screen, Autolaunched, Record-Triggered, Scheduled, Platform Event-Triggered) and outputs Flow XML for deployment.
  • Uses inflightMetadata to map relevant custom objects/fields from the local sfdx project when needed.

Quick Start

Provide a natural language request to create a Salesforce Flow and the system will execute the 3-step pipeline to return the final Flow XML.

Frequently Asked Questions about salesforce-flow

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate Salesforce Flow metadata using natural language?

To generate Salesforce Flow metadata, provide a natural language request and the system executes a mandatory 3-step pipeline to return deployment-ready Flow XML.

What types of Salesforce Flows can I automate and create?

You can automate and create Screen, Autolaunched, Record-Triggered, Scheduled, and Platform Event-Triggered Salesforce Flows using this pipeline.

How does the 3-step pipeline ensure reliable Flow automation?

The 3-step pipeline enforces fetchGroundedObjectMetadata, flowElementSelection, and iterative flowElementGeneration with inflightMetadata to ensure reliable Flow automation.

Do I need a local sfdx project to map custom objects in Salesforce Flows?

Yes, the pipeline uses inflightMetadata to map relevant custom objects and fields from your local sfdx project when needed for Flow generation.

What is the best way to output deployment-ready Flow XML?

The best way to output deployment-ready Flow XML is by following the 3-step pipeline which systematically fetches grounded metadata, selects elements, and iteratively generates the flow.

Can I use this to generate Record-Triggered Flows without manual coding?

Yes, you can generate Record-Triggered Flows without manual coding by submitting a natural language request that triggers the automated 3-step metadata pipeline.