build-flow

Generates and creates complete Power Automate flow definitions from natural-language descriptions.

808|167|Updated Jan 21, 2026
One-click install
npx skills add https://github.com/microsoft/power-platform-skills --skill build-flow
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: build-flow
Source: https://github.com/microsoft/power-platform-skills/tree/main/plugins/power-automate/skills/build-flow
Command: npx skills add https://github.com/microsoft/power-platform-skills --skill build-flow

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Building Power Automate flows by hand requires knowing exact connector operation names, parameter schemas, action types, and connection reference formats. This Skill automates that process by discovering your environment, resolving connections and entities, generating a validated flow definition, and creating the flow through the FlowAgent MCP tools.

Core Features & Use Cases

  • Autonomous flow generation: Turns a plain-language description into a complete, validated Power Automate flow definition and creates it in your environment.
  • Connector and entity resolution: Looks up exact operation parameters, resolves display names (teams, channels, SharePoint lists, Dataverse tables) to IDs, and verifies connections before building.
  • Validation and iteration: Runs offline validation and preflight checks before creation, then supports surgical action-level edits on existing flows.
  • Use Case: Ask for a flow that posts a Teams message when a new SharePoint list item is created; the Skill resolves the site, list, team, and channel, builds the definition, validates it, and creates the flow in a stopped state.

Quick Start

Ask the agent to build a Power Automate flow that sends an Outlook email whenever a new response is submitted to a Microsoft Form.

Frequently Asked Questions about build-flow

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

FAQPage Schema
How do I create a Power Automate flow from a text description?

Describe the trigger and actions you want in plain language. The Skill checks built-in templates first, looks up exact connector operation parameters, resolves connections and entity IDs, validates the definition, and creates the flow in a stopped state.

How do I find the right connector operation and parameters for a flow?

Use the get_connector tool with a query to find candidate operations, then call get_operation_details to get exact parameter names, types, enum values, and the correct action type. Never guess parameter names, since they vary between operations.

Can I use HTTP request triggers on a free Power Automate plan?

No. HTTP Request triggers with kind Http require a Premium license. For free or seeded plans, use a Button trigger instead, which provides manual triggering without premium connector requirements.

Why does my flow fail when resolving Teams channels or Outlook folders?

The resolve_params tool often fails with 500 errors for folder, team, and channel resolution. Use resolve_entity instead, which queries the API Hub directly and returns resolved IDs, ambiguous matches, or not-found results.

Which deprecated Power Automate operations should I avoid?

Avoid Teams PostMessageToChannel variants (use PostMessageToConversation), Outlook SendEmail (use SendEmailV2), Approvals approvalSubscribeV2 (use StartAndWaitForAnApproval), Planner CreateTask (use CreateTask_V3), and Forms polling triggers (use the webhook trigger).