# Power Automate to n8n Migration Kit

> Give your agent a Power Automate export (package or solution .zip, or a single flow file) and get an n8n workflow skeleton per flow plus a migration report: inventory, Premium flags, risks, credentials, tests, cutover and rollback. Starting points you finish, not finished flows. Offline Python.

Power Automate to n8n Migration Kit is a paid AI agent skill on Agensi by QbitsLabs, in Workflow Automation. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $9.99 (one-time purchase)
- Creator: [QbitsLabs](https://www.agensi.io/creators/qbitslabs-creative)
- Category: [Workflow Automation](https://www.agensi.io/skills/workflow-automation)
- Version: 1.0.2
- Last updated: 2026-12-06
- Security: scan passed (2026-12-06); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/power-automate-to-n8n-migration-kit
- Tags: automation, productivity, devops, n8n, power-automate, microsoft-flow, migration, workflow-automation

## What it does

- Reads Power Automate package, solution or single-flow exports and lists every cloud flow and its connectors
- Flags Premium connectors, HTTP triggers and actions so you can see which flows drive licensing costs
- Builds an n8n skeleton per flow with conditions, switches, loops and failure paths via error outputs
- Translates Power Automate expressions and date formats into n8n expressions and flags what needs review
- Writes a migration report: risks, credentials per node, test checklist, cutover and rollback steps
- Redacts common hard-coded keys, passwords and tokens (pattern-based) and tells you to rotate them

## Who it's for

- **Teams moving Microsoft 365 automations to n8n:** An n8n starting point for every cloud flow, with the control flow and most expressions already rebuilt, plus a cutover and rollback plan. Try: "Here's our Power Automate solution export. Convert every flow to n8n and give me a cutover plan."
- **Freelancers and agencies quoting migrations:** Low/Medium/High complexity scores and Premium-connector flags per flow to scope and quote the work, and a report to share with the client. Try: "Score these client flows by complexity and tell me which ones use Premium connectors."
- **IT and ops admins auditing Power Automate:** An inventory of every flow with its connectors, connection references, risks and credentials, with common hard-coded keys flagged. Try: "Audit this export: list every flow, its connectors, Premium items and any hard-coded keys."
- **Developers moving flows to self-hosted n8n:** Workflow files for n8n 2.49 or newer, checked by a built-in validator, imported inactive, with credentials and settings left to finish. Try: "Turn this single flow file into an n8n workflow I can import into our self-hosted instance."

## About this skill

**The problem.** Leaving Power Automate means rebuilding every cloud flow by hand: finding the n8n node for each connector, rewriting every expression (triggerBody, body('...'), items('...'), variables, formatDateTime with .NET formats), recreating conditions, Apply to each, Do until, Scopes and "configure run after" failure paths, and knowing the behavior differences that break things quietly (SharePoint data comes back in a different shape, instant triggers become polling, approvals that are waiting do not move, HTTP-triggered flows get a new URL). Asking a chatbot to "convert this" can produce nodes, operations or credentials that do not exist.

**How it works.** The kit gives your agent a three-stage offline pipeline (plus a validator and an expression translator) and a playbook. Stage one parses the export into an inventory with Premium flags, connection references and secrets found. Stage two builds one n8n workflow skeleton per cloud flow from a table of 40 connectors and the common built-in actions. Stage three writes the migration report. The agent then validates every workflow, translates anything flagged for review, adds missing risks from a gotchas guide, and hands over the report, the workflow files and a cutover checklist. No export? The agent fills a template from each step's Peek code (or a description) and runs the same pipeline.

**Frameworks and tools.** Power Automate cloud flows (legacy package and solution exports, Workflow Definition Language: Recurrence, HTTP request, manual, Power Apps and child flow triggers, Condition, Switch, Apply to each, Do until, Scope, Terminate, variables, Compose, Parse JSON, Select, Filter array, HTML/CSV tables, HTTP, Response, Run a child flow, retry policies and run-after failure paths) with SharePoint, Outlook, Teams, Excel Online, OneDrive, Approvals, Planner, SQL Server, Dataverse, Office 365 Users, Entra ID and more; n8n 2.49 or newer (Schedule Trigger, Webhook, Respond to Webhook, If, Switch, Edit Fields, Code, Split Out, Loop Over Items, Aggregate, Merge, Wait, Stop and Error, Execute Workflow, HTTP Request and Microsoft, Google, Slack and other app nodes).

**Why this beats prompting.** Every n8n node type, version, operation and credential name in the kit's tables was checked against the node registry of n8n 2.50.7, so the output does not invent nodes. The workflow JSON is generated by tested scripts rather than typed out by a model, and a built-in validator checks node types, versions, connections, error outputs and webhook response settings before anything is handed over. In testing, the kit's four sample workflows were imported through the n8n 2.50.7 editor (and its command line) and run with mocked connectors, meaning fake data in place of the Microsoft, Google and Slack calls: the order webhook with a valid and an invalid order, the daily digest and the child flow. The invoice flow fails on one invoice on purpose, as its error path is designed to. n8n itself checked the control flow and the translated expressions; 70 expressions and patterns matched the results written down from Microsoft's documentation. The conversion was tested on synthetic sample Power Automate exports (they contain fake but realistic-looking secrets on purpose, to show the redaction), not on live Power Automate runs. The gotchas guide covers the behavior differences that break migrations, not just the syntax.

**Use cases.** Plan and start moving a team's cloud flows to n8n, self-hosted or Cloud. Find which flows use Premium connectors before deciding what to move. Scope and quote a client migration with a complexity score per flow. Audit a solution export for connectors, connection references, risks and hard-coded secrets. Translate a tricky Power Automate expression or date format into n8n.

**Known limitations.** Output is a starting skeleton, not a finished workflow. You still create your own credentials in n8n (Microsoft ones need an app registration in Entra ID) and confirm some app settings; each node's notes keep the original step JSON. Many instant Microsoft triggers become polling triggers in n8n. Approvals become an Outlook approval email (no Approvals center, no "everyone must approve"), and approvals waiting at cutover stay in Power Automate. Desktop flows (RPA), AI Builder, Power Apps notifications, Microsoft Forms triggers, Word templates and custom Teams adaptive cards do not convert and are listed for manual work. Do until timeouts, concurrency control, pagination thresholds and secure inputs/outputs are flagged, not reproduced. Uncommon expression functions (for example xpath, formatNumber, guid) are marked for you to rewrite. Connectors without an n8n node become HTTP Request nodes that need that API's details. Secret detection is pattern-based, so check the report and rotate any key found; a secret hidden inside an expression string or a trigger schema default may not be caught. Premium/Standard tiers are as Microsoft listed them in December 2026 and can change; a connector that is not in the kit's table and whose tier the export does not record is listed as "tier not known." The output needs n8n 2.49 or newer (checked on 2.50.7). The scripts were run on Linux with Python 3.8 and 3.13; Windows and macOS were not tested. It was tested on synthetic sample exports (they contain fake but realistic-looking secrets on purpose) and with mocked connectors, not on live Power Automate flows or with real service credentials.

## Requires

- Python 3.8+
- Power Automate flow export
- n8n 2.49 or newer (Cloud or self-hosted)

## Known limitations

Output is a starting skeleton, not a finished workflow. You still create your own credentials in n8n (Microsoft ones need an app registration in Entra ID) and confirm some app settings; each node's notes keep the original step JSON. Many instant Microsoft triggers become polling triggers. Approvals become an Outlook approval email, and approvals waiting at cutover stay in Power Automate. Desktop flows (RPA), AI Builder, Power Apps notifications, Microsoft Forms triggers, Word templates and custom Teams adaptive cards need manual work. Do until timeouts, concurrency control, pagination thresholds and secure inputs/outputs are flagged, not reproduced. Uncommon expression functions (for example xpath, formatNumber, guid) are marked for you to rewrite. Connectors without an n8n node become HTTP Request nodes. Secret detection is pattern-based; a secret hidden inside an expression string or a trigger schema default may not be caught. Premium/Standard tiers are as of December 2026 and can change; unknown connectors may be listed as "tier not known." The output needs n8n 2.49 or newer (checked on 2.50.7). The scripts were run on Linux with Python 3.8 and 3.13; Windows and macOS were not tested. It was tested on synthetic sample exports (they contain fake but realistic-looking secrets on purpose) and with mocked connectors, not on live Power Automate flows or with real service credentials.

## Technical details

- Five Python 3 scripts, standard library only: parse_export, build_n8n_workflows, write_report, validate_n8n_workflow, translate_expression (plus a shared connector table)
- Scripts run fully offline: no network calls, no subprocesses, no environment variables (your agent runs them with python3 in a terminal)
- Reads only the export files you name; writes only to the output folder you choose
- Input: Power Automate legacy package .zip, solution .zip, a single flow file or Workflows/*.json, or a template filled from Peek code
- Output: one n8n workflow JSON per cloud flow, migration-report.md, inventory/mapping/summary JSON
- Targets n8n 2.49 or newer (checked on 2.50.7); workflows import inactive with no credentials attached. HTTP Request nodes with a known auth type have Authentication preset, so n8n shows a missing-credential warning until you pick one; the report lists every node that needs a credential
- Includes references (connector/node map, expression map, gotchas, export formats, n8n JSON), report and cutover templates, and worked examples

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Power Automate to n8n Migration Kit skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### Does it produce finished, ready-to-run workflows?

No. It produces skeletons with the structure, control flow, most expressions and node choices done. You still connect credentials and confirm some resource, operation and field settings in n8n; each node's notes show the original step.

### Which connectors are supported natively?

The kit knows 40 connectors: 37 map to a native n8n node (including SharePoint, Outlook, Teams, Excel Online, OneDrive, SQL Server, Dataverse, Office 365 Users, Entra ID, Gmail, Slack and Google Sheets), plus the common built-in actions. Planner and a few Office 365 Users actions become Microsoft Graph calls. Microsoft Forms and mobile push notifications have no n8n equivalent. Any other connector becomes an HTTP Request node.

### Will it save me Premium licensing?

The report shows the Premium items per flow. Savings only happen once every premium flow of that user (or per-flow plan) has moved, and you still need your Microsoft 365 licenses. Check your Microsoft agreement.

### Does it upload my data anywhere?

The scripts never send data anywhere; everything they do is local and offline. Your agent reads your files the way it normally does, so check your agent's own data policy.

### How was it tested?

The generated workflows were imported through the n8n 2.50.7 editor and run with mocked connectors (webhook with valid and invalid orders, the digest, the child flow; the invoice error path fails on purpose as designed). The conversion was tested on synthetic sample Power Automate exports (they contain fake but realistic-looking secrets on purpose). Scripts were run on Linux with Python 3.8 and 3.13. It was not tested on live Power Automate runs, with real service credentials, or on Windows or macOS.

### What if I cannot export the flow?

Copy each step's Peek code (or the Code view tab) into the included template, or describe the flow; the agent fills the template and runs the same pipeline.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
