{
  "schemaVersion": "1.0.0.0",
  "templateName": "Zetaleap_AI_Markdown_To_Outlook_HTML_PowerAutomate",
  "provider": "Zetaleap (https://zetaleap.com)",
  "definition": {
    "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
    "triggers": {
      "Manual_AI_Prompt_Trigger": {
        "type": "Request",
        "kind": "Button"
      }
    },
    "actions": {
      "Convert_AI_Markdown_To_Clean_HTML": {
        "type": "Http",
        "inputs": {
          "method": "POST",
          "uri": "https://zetaleap.com/api/tools/convert",
          "headers": {
            "Authorization": "Bearer REPLACE_WITH_YOUR_ZL_TOKEN",
            "Content-Type": "application/json"
          },
          "body": {
            "mode": "md2html",
            "text": "## Weekly AI Report\n\n- **Status:** Operational\n- **Next Step:** Send clean HTML to Outlook."
          }
        }
      }
    }
  }
}