create-flow
Guided flow creation wizard. Use when the user wants to create a new flow interactively.
How do I install this agent skill?
npx skills add https://github.com/microsoft/power-platform-skills --skill create-flowIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill acts as a guided wizard for Power Automate flow creation. It involves processing external data such as templates and connector details, which introduces a surface for potential indirect prompt injection.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
Guided Flow Creation Wizard
Walk the user through creating a Power Automate flow step by step.
Tools
This skill uses the FlowAgent MCP tools. Clients surface them with a
client-specific prefix — mcp__flowagent__<tool> (Claude Code) or
flowagent-<tool> (Copilot CLI) — so they're referred to by bare name below
(e.g. create_flow). Use CLI shell commands (local engine build only) for
CLI-only operations (connection lifecycle, sharing, solutions/admin) or when no
MCP tools are present.
Steps
-
Gather requirements: Ask what the flow should do. Identify triggers, actions, connectors.
-
Select environment: Call
list_environments(usequeryto filter). Let user pick or auto-select. -
Check for templates: Call
list_templates. If a template matches (approval, digest, webhook, etc.), offer to usescaffold_flowas a starting point. -
Discover connectors: For each connector, call
get_connectorwithqueryto find the operation, thenget_operation_detailsfor exact parameters. Never guess parameter names or types. -
Verify connections: Call
list_connectionsfiltered by each connector. Confirm Connected status. -
Resolve dynamic values: For params with
dynamicValues/dynamicTreeannotations, callinvoke_operationto get actual values (Teams channels, SharePoint sites, etc.). -
Review with user: Present the flow design. Use AskUserQuestion to confirm trigger, actions, and connections before creating.
-
Generate definition: Build following all rules:
- Always declare
$authentication(SecureObject) and$connections(Object) parameters - Use correct action type:
OpenApiConnectionorOpenApiConnectionWebhook(fromget_operation_details) - Do NOT include
authenticationin action inputs - Use
Embeddedsource in connection references - HTTP Request triggers require Premium; prefer
Buttonkind
- Always declare
-
Validate: Call
validate_flow(and optionallypreflight_flow) to pre-check. For expressions, look up syntax withget_expression_help. -
Create: Call
create_flowin Stopped state. Report ID and name. -
Optionally publish: Ask if user wants to enable. If yes, call
publish_flow. For later one-off tweaks, useedit_flow(surgical) rather than resending the whole definition.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/microsoft/power-platform-skills/create-flow">View create-flow on skillZs</a>