{
  "schemaVersion": "1.0.0.0",
  "templateName": "Zetaleap_Regex_And_CSV_Parser_PowerAutomate",
  "provider": "Zetaleap (https://zetaleap.com)",
  "openApiSpecUrl": "https://zetaleap.com/api/openapi/pp-toolkit.swagger.json",
  "definition": {
    "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
    "triggers": {
      "Manual_CSV_Import": {
        "type": "Request",
        "kind": "Button"
      }
    },
    "actions": {
      "Parse_CSV_With_Zetaleap": {
        "type": "Http",
        "inputs": {
          "method": "POST",
          "uri": "https://zetaleap.com/api/pp/csv-to-json",
          "headers": {
            "Authorization": "Bearer REPLACE_WITH_YOUR_ZL_TOKEN",
            "Content-Type": "application/json"
          },
          "body": {
            "delimiter": "auto",
            "normalizeHeaders": true,
            "autoType": true,
            "csv": "Vendor;InvoiceNo;Amount\nContoso;INV-1001;4500"
          }
        }
      }
    }
  }
}