Skip to content
forcedotcom avatar

Automation Flow Generate

Generate Salesforce Flow metadata XML through a mandatory three-step execute_metadata_action pipeline.

CCM score
69 of 100
skills.sh installs
6.8K
GitHub stars
1.2K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers Screen, Autolaunched, Record-Triggered (before and after save), and Scheduled Flow types from natural-language requests
  • Runs fetchGroundedObjectMetadata, flowElementSelection, and flowElementGeneration in order, looping until the generator reports completion
  • Enforces returning generated XML unmodified, with no hand-edited nodes, tags, or coordinates added by the assistant
  • Designed for requests to create, build, or automate Salesforce flows, including custom objects supplied via inflightMetadata

Install

$ npx -y skills add forcedotcom/sf-skills --skill automation-flow-generate -y

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

Files

Goal

Generate Salesforce Flow metadata by running the required 3-step MCP pipeline (fetchGroundedObjectMetadata → flowElementSelection → flowElementGeneration) and return the flow XML.

When to Use This Skill

Use this skill when you need to:

  • Create any type of Flow (Screen, Autolaunched, Record-Triggered, Scheduled)
  • Generate Flow metadata XML
  • Automate business processes without code
  • Build user-guided workflows or background automation
  • Troubleshoot deployment errors related to Flows

Specification

Flow Metadata Specification

Overview

Salesforce Flows are powerful automation tools that enable complex business process automation without code. Flows can collect and process data through interactive screens, execute logic and calculations, manipulate records, call external services, and trigger based on various events. Flow types include Screen Flows (user-guided), Autolaunched Flows (background processing), Record-Triggered Flows (database events) and Scheduled Flows (time-based).

Flow Generation Pipeline

Details

Repository
github.com/forcedotcom/sf-skills
Category
Workflow Automation
First seen
Jul 14, 2026

Questions

What does the automation-flow-generate skill do?

The automation-flow-generate skill generates Salesforce Flow metadata, including Screen, Autolaunched, Record-Triggered and Scheduled flows, by running a three-step MCP pipeline through the execute_metadata_action tool and returning the flow XML. It also handles flow-like requests such as record-triggered automation, scheduled runs and email alerts.

How do I install the automation-flow-generate skill?

Run npx -y skills add forcedotcom/sf-skills --skill automation-flow-generate -y in a project to install it. Once installed, the agent can build Salesforce flows from natural-language requests using the required grounded metadata pipeline.

Where does automation-flow-generate rank in its category?

It is in the Workflow Automation category on Claude Marketplaces and ranks in the top 50 there. Other skills in that category include computer-use and python-executor, but this skill is the Salesforce-specific option for generating Flows.

More from forcedotcom/sf-skills

All 78

Similar to Automation Flow Generate

More Workflow Automation