{
  "source_url": "https://github.com/pnp/powerautomate-samples/tree/fe30effdf69dcbfef178d854aad47ac1bbfd9b1d/samples/convert-sharepoint-library-doc-file-to-pdf",
  "commit": "fe30effdf69dcbfef178d854aad47ac1bbfd9b1d",
  "public_package_sha256": "f367d674c8be5ffc1dfcb2884a7a1564e3890a5871a96b29f7c5502171de615a",
  "definition_sha256": "93c7d9d8f9a59bd7bf9ea5a6b8c37a9c6367732b625545e5c2a9c0b9b7644fb4",
  "connections": [
    "shared_sharepointonline",
    "shared_onedriveforbusiness"
  ],
  "triggers": [
    "When_a_file_is_created_(properties_only)"
  ],
  "actions": [
    {
      "path": "Get_file_content",
      "type": "OpenApiConnection",
      "operation": "GetFileContent",
      "runAfter": {}
    },
    {
      "path": "Create_Actual_File_to_OneDrive",
      "type": "OpenApiConnection",
      "operation": "CreateFile",
      "runAfter": {
        "Get_file_content": [
          "Succeeded"
        ]
      }
    },
    {
      "path": "Convert_file_to_PDF",
      "type": "OpenApiConnection",
      "operation": "ConvertFile",
      "runAfter": {
        "Create_Actual_File_to_OneDrive": [
          "Succeeded"
        ]
      }
    },
    {
      "path": "Create_PDF_File_to_OneDrive",
      "type": "OpenApiConnection",
      "operation": "CreateFile",
      "runAfter": {
        "Convert_file_to_PDF": [
          "Succeeded"
        ]
      }
    },
    {
      "path": "Add_PDF_File_to_Document_Library",
      "type": "OpenApiConnection",
      "operation": "CreateFile",
      "runAfter": {
        "Create_PDF_File_to_OneDrive": [
          "Succeeded"
        ]
      }
    },
    {
      "path": "Delete_Actual_File_From_OneDrive",
      "type": "OpenApiConnection",
      "operation": "DeleteFile",
      "runAfter": {
        "Add_PDF_File_to_Document_Library": [
          "Succeeded"
        ]
      }
    },
    {
      "path": "Delete_PDF_File_From_OneDrive",
      "type": "OpenApiConnection",
      "operation": "DeleteFile",
      "runAfter": {
        "Delete_Actual_File_From_OneDrive": [
          "Succeeded"
        ]
      }
    }
  ],
  "inspection": "Public package opened statically. No tenant import, connection authorisation or flow run performed."
}
