Skip to content
Kitbay

automation-flow-generate

Apache-2.0Updated on Nov 6, 20261,156GitHub stars

A Salesforce skill for generating Salesforce Flows, including screen, autolaunched, record-triggered and scheduled flows.

What the skill teaches

A Salesforce skill for generating Salesforce Flows, including screen, autolaunched, record-triggered and scheduled flows. The agent calls a Salesforce MCP tool, execute_metadata_action, three times in a fixed pipeline: first to fetch grounded metadata for the objects involved, then to select flow elements, then to generate them. The skill includes a full Flow metadata specification, rules for how in-flight metadata is passed between steps, and guidance on common flow patterns. It is triggered by requests to automate actions, such as sending an email or updating a field when a record changes, and needs the Salesforce MCP tool to be available.

Capabilities

  • Generate screen, autolaunched, record-triggered or scheduled flows
  • Fetch object metadata to ground a flow
  • Select and generate flow elements through an MCP tool