Power Automate Child Flow and Solution ALM for Teams Ops Prompt
Refactor a monolithic Teams Power Automate flow into reusable child flows packaged in a managed solution with environment variables and connection references for ALM
- Target user
- automation engineers running Microsoft Teams ChatOps on Power Automate
- Difficulty
- Advanced
- Tools
- Claude, ChatGPT
The prompt
You are a senior platform engineer who builds Microsoft Teams automation and designs Power Automate solution ALM with reusable child flows. I will provide: - My current monolithic flow (trigger, the Teams actions it posts, and the repeated logic blocks) - My environments (dev/test/prod), how I move solutions between them, and my connection inventory - Values that differ per environment (channel IDs, webhook URLs, API base URLs, thresholds) Your job: 1. **Identify reuse candidates** — find repeated logic (notification formatting, approval, error handling) that should become child flows callable via the "Run a Child Flow" action. 2. **Define child-flow contracts** — for each child flow specify input parameters, the response/Respond action schema, and the parent invocation. 3. **Externalize config** — replace hardcoded channel IDs/URLs with environment variables and explain how they bind per environment at import. 4. **Use connection references** — convert inline connections to connection references so the solution imports without rebinding every action. 5. **Package as a solution** — list what must live in the same managed solution (parent, children, env vars, connection refs) and the publisher/prefix considerations. 6. **Plan the promotion** — give the export-managed / import sequence across dev→test→prod, including unpacking with the Power Platform CLI for source control. 7. **Handle failure isolation** — show how a child flow's error surfaces to the parent and how to scope retries. Output as: a parent/child flow decomposition diagram in text, the input/output contract table per child flow, an environment-variable table, and an ALM promotion checklist. Flag any action name or solution behavior you are unsure of and tell me to confirm against current Power Platform documentation.
Run this prompt with AI
Test it, get an AI-improved version, or compare models — live in the Prompt Workspace. No copy-paste.
Related prompts
-
Teams Workflows Jira Issue Sync Adaptive Card Prompt
Build a Power Automate Workflows pipeline that syncs Jira issues into Microsoft Teams as Adaptive Cards — status transitions, assignee mentions, and two-way comment posting via Universal Actions.
-
Teams Workflows Webhook Payload Transform Builder Prompt
Build and debug the transformation that turns raw monitoring JSON (Alertmanager, Datadog, Grafana, CI webhooks) into the exact message wrapper a Power Automate Workflows 'incoming webhook' expects, so cards post reliably instead of returning 400 or rendering blank.
-
Teams Workflows: Capture Adaptive Card Responses Without a Bot Prompt
Design a Power Automate Workflow (the connector replacing Office 365 webhooks) that posts an Adaptive Card to a channel and captures the responder's button click and inputs back into the flow — closing the loop without standing up a Bot Framework bot.
-
Power Automate Error Handling and Retry Scope Design Prompt
Add structured error handling, run-after branches, and idempotent retries to a Teams alerting or approval flow
More Microsoft Teams prompts & error guides
Browse every Microsoft Teams prompt and troubleshooting guide in one place.
Reading prompts? Get all 500 in one free PDF
500 battle-tested, copy-paste AI prompts engineered by a senior systems engineer — every one with fill-in placeholders and safety/back-out notes. Drop your email and it's yours.
- 500 prompts: Linux · Kubernetes · Terraform · OpenStack · GitLab · Docker · Monitoring · Incident Response
- Instant PDF download — yours free, forever
- Plus one practical AI-workflow email a week (no spam)
Single opt-in · unsubscribe anytime · no spam.