MR
Mayur Rathi
@github
⭐ 34.1k GitHub stars

Azure-Logic-Apps-Power-Automate

Azure-Logic-Apps-Power-Automate是一款productivity方向的AI技能,核心价值是Guidelines for developing Azure Logic Apps and Power Automate workflows with best practices for Workflow Definition Language (WDL), integration patterns, and enterprise automation,可用于解决开发者在productivity领域的实际问题,帮助用户提升效率、自动化重复任务或优化工作流。

Guidelines for developing Azure Logic Apps and Power Automate workflows with best practices for Workflow Definition Language (WDL), integration patterns, and enterprise automation

Last verified on: 2026-05-30
mkdir -p ./skills/azure-logic-apps-power-automate && curl -sfL https://raw.githubusercontent.com/github/awesome-copilot/main/skills/azure-logic-apps-power-automate/SKILL.md -o ./skills/azure-logic-apps-power-automate/SKILL.md

Run in terminal / PowerShell. Requires curl (Unix) or PowerShell 5+ (Windows).

Skill Content

# Azure Logic Apps and Power Automate Instructions


Overview


These instructions will guide you in writing high-quality Azure Logic Apps and Microsoft Power Automate workflow definitions using the JSON-based Workflow Definition Language (WDL). Azure Logic Apps is a cloud-based integration platform as a service (iPaaS) that provides 1,400+ connectors to simplify integration across services and protocols. Follow these guidelines to create robust, efficient, and maintainable cloud workflow automation solutions.


Workflow Definition Language Structure


When working with Logic Apps or Power Automate flow JSON files, ensure your workflow follows this standard structure:


json
{
  "definition": {
    "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
    "actions": { },
    "contentVersion": "1.0.0.0",
    "outputs": { },
    "parameters": { },
    "staticResults": { },
    "triggers": { }
  },
  "parameters": { }
}

Best Practices for Azure Logic Apps and Power Automate Development


1. Triggers


- **Use appropriate trigger types** based on your scenario:

- **Request trigger**: For synchronous API-like workflows

- **Recurrence trigger**: For scheduled operations

- **Event-based triggers**: For reactive patterns (Service Bus, Event Grid, etc.)

- **Configure proper trigger settings**:

- Set reasonable timeout periods

- Use pagination settings for high-volume data sources

- Implement proper authentication


json
"triggers": {
  "manual": {
    "type": "Request",
    "kind": "Http",
    "inputs": {
      "schema": {
        "type": "object",
        "properties": {
          "requestParameter": {
            "type": "string"
          }
        }
      }
    }
  }
}

2. Actions


- **Name actions descriptively** to indicate their purpose

- **Organize complex workflows** using scopes for logical grouping

- **Use proper action types** for different operations:

- HTTP actions for API calls

- Connector actions for built-in integrations

- Data operation actions for transformations


json
"actions": {
  "Get_Customer_Data": {
    "type": "Http",
    "inputs": {
      "method": "GET",
      "uri": "https://api.example.com/customers/@{triggerBody()?['customerId']}",
      "headers": {
        "Content-Type": "application/json"
      }
    },
    "runAfter": {}
  }
}

3. Error Handling and Reliability


- **Implement robust error handling**:

- Use "runAfter" configurations to handle failures

- Configure retry policies for transient errors

- Use scopes with "runAfter" conditions for error branches

- **Implement fallback mechanisms** for critical operations

- **Add timeouts** for external service calls

- **Use runAfter conditions** for complex error handling scenarios


json
"actions": {
  "HTTP_Action": {
    "type": "Http",
    "inputs": { },
    "retryPolicy": {
      "type": "fixed",
      "count": 3,
      "interval": "PT20S",
      "minimumInterval": "PT5S",
      "maximumInterval": "PT1H"
    }
  },
  "Handle_Success": {
    "type": "Scope",
    "actions": { },
    "runAfter": {
      "HTTP_Action": ["Succeeded"]
    }
  },
  "Handle_Failure": {
    "type": "Scope",
    "actions": {
      "Log_Error": {
        "type": "ApiConnection",
        "inputs": {
          "host": {
            "connection": {
              "name": "@parameters('$connections')['loganalytics']['connectionId']"
            }
          },
          "method": "post",
          "body": {
            "LogType": "WorkflowError",
            "ErrorDetails": "@{actions('HTTP_Action').outputs.body}",
            "StatusCode": "@{actions('HTTP_Action').outputs.statusCode}"
          }
        }
      },
      "Send_Notification": {
        "type": "ApiConnection",
        "inputs": {
          "host": {
            "connection": {
              "name": "@parameters('$connections')['office365']['connectionId']"
            }
          },
         

🎯 Best For

  • UI designers
  • Product designers
  • Claude users
  • GitHub Copilot users
  • Knowledge workers

💡 Use Cases

  • Generating component mockups
  • Creating design system tokens
  • Using Azure-Logic-Apps-Power-Automate in daily workflow
  • Automating repetitive productivity tasks

📖 How to Use This Skill

  1. 1

    Install the Skill

    Copy the install command from the Terminal tab and run it. The SKILL.md file downloads to your local skills directory.

  2. 2

    Load into Your AI Assistant

    Open Claude or GitHub Copilot and reference the skill. Paste the SKILL.md content or use the system prompt tab.

  3. 3

    Apply Azure-Logic-Apps-Power-Automate to Your Work

    Provide context for your task — paste source material, describe your audience, or share existing work to guide the AI.

  4. 4

    Review and Refine

    Edit the AI output for accuracy, tone, and completeness. Add human insight where the AI lacks context.

❓ Frequently Asked Questions

Does this work with Figma?

Some design skills integrate with Figma plugins. Check the Works With section for supported tools.

How do I install Azure-Logic-Apps-Power-Automate?

Copy the install command from the Terminal tab and run it. The skill downloads to ./skills/azure-logic-apps-power-automate/SKILL.md, ready to use.

Can I customize this skill for my team?

Absolutely. Edit the SKILL.md file to add team-specific instructions, examples, or workflows.

⚠️ Common Mistakes to Avoid

Skipping usability testing

AI-generated designs should be validated with real users before development.

Not reading the full skill

Skills contain important context and edge cases beyond the quick start.

🔗 Related Skills