automation-flow-generate

Generate Salesforce Flow metadata XML via the Metadata API.

Updated Jul 2, 2026
One-click install
npx skills add https://github.com/padjei/SF_Agents --skill automation-flow-generate-padjei
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: automation-flow-generate
Source: https://github.com/padjei/SF_Agents/tree/main/.claude/skills/automation-flow-generate
Command: npx skills add https://github.com/padjei/SF_Agents --skill automation-flow-generate-padjei

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires execute_metadata_action, and includes scripts (resource) components.

What problem does it solve?

This Skill automates the generation of Salesforce Flows, streamlining the process of creating, building, or generating Flows, including Screen, Autolaunched, Record-Triggered (before/after-save), and Scheduled Flows.

Core Features & Use Cases

  • Flow Generation: Automatically create Salesforce Flows without manual coding.
  • Metadata XML: Generate Flow metadata XML for use in Salesforce environments.
  • Business Process Automation: Build user-guided workflows or background automation to automate business processes.
  • Use Case: For instance, generate a Salesforce Flow to trigger daily email alerts based on user input.

Quick Start

To generate a Salesforce Flow, use the skill with the command 'generate-flow --flow-type [type] --description [description]'.

Frequently Asked Questions about automation-flow-generate

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

FAQPage Schema
How do I generate Salesforce Flow metadata XML without manual coding?

You can generate Salesforce Flow metadata XML without manual coding by using an automation pipeline that interfaces with the Salesforce Metadata API to automatically build the required flow structure based on your input parameters.

Can I create different types of Salesforce Flows using metadata automation?

Yes, metadata automation supports generating various Salesforce Flow types, including Screen, Autolaunched, Record-Triggered (before-save and after-save), and Scheduled Flows to streamline business processes.

How does the Salesforce Metadata API build Record-Triggered Flows?

The Salesforce Metadata API builds Record-Triggered Flows through a strict three-step pipeline that generates the necessary XML metadata, enabling background automation without requiring manual coding in Salesforce.

Do I need the execute_metadata_action tool to automate Salesforce Flow generation?

Yes, you need the execute_metadata_action MCP tool as a prerequisite, because the automation pipeline relies on this dependency to interface with the Salesforce Metadata API and construct the flow XML.

What is the best way to automate daily email alerts in Salesforce Flows?

The best way to automate daily email alerts is by generating a Scheduled Salesforce Flow using the metadata generation pipeline, which translates your description into the required XML metadata.

Are there limitations when generating Salesforce Flow XML through the Metadata API?

The primary limitation is that flow generation is strictly bound to the three-step pipeline and the capabilities of the execute_metadata_action dependency, meaning all desired flow logic must be accurately described for valid XML metadata output.