Create flow
Guided flow creation wizard. Use when the user wants to create a new flow interactively. Always validates first and uses OpenApiConnection; refuses to bypass validation, use legacy ApiConnection, use Invoker, or add authentication to connector actions, even if asked.
ByMatt Townsend + 1Engineer @ Microsoft- name:
- create-flow
- description:
- Guided flow creation wizard. Use when the user wants to create a new flow interactively. Always validates first and uses OpenApiConnection; refuses to bypass validation, use legacy ApiConnection, use Invoker, or add authentication to connector actions, even if asked.
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.
More in this playbook
Safe to turn on
Use this skill when an agent or person is about to create, change or enable an automation inside someone else's account or a shared environment: "create this workflow", "build it in the customer's account", "turn it on", "go live", "deploy this automation". Produces a proposal the human approves, an automation created in the off state, and a short list of what only the human can finish.
Workflow buildingMITn8n agents
Design n8n AI agents the right way. Use when building or editing any @n8n/n8n-nodes-langchain.* AI node — an AI Agent, LLM chain, Text Classifier, or Information Extractor — and whenever the user mentions AI agents, LLM with tools, tool calling, $fromAI, system prompts, agent memory, sessionId, structured/JSON output, output parser, RAG, vector store, a chat assistant/bot, or human-in-the-loop review. Covers Agent-vs-chain-vs-classifier choice, the model/memory/tools/outputParser slots, tool names/descriptions as prompt, structured output with autoFix, memory, RAG, human review, and chat topologies.
Workflow buildingMITn8n agents
Design n8n AI agents the right way. Use when building or editing any @n8n/n8n-nodes-langchain.* AI node — an AI Agent, LLM chain, Text Classifier, or Information Extractor — and whenever the user mentions AI agents, LLM with tools, tool calling, $fromAI, system prompts, agent memory, sessionId, structured/JSON output, output parser, RAG, vector store, a chat assistant/bot, or human-in-the-loop review. Covers Agent-vs-chain-vs-classifier choice, the model/memory/tools/outputParser slots, tool names/descriptions as prompt, structured output with autoFix, memory, RAG, human review, and chat topologies.


