Microsoft Power Automate · Capability

Microsoft Power Automate Management API — Flows

Microsoft Power Automate Management API — Flows. 8 operations. Lead operation: Microsoft Power Automate List Flows. Self-contained Naftiko capability covering one Microsoft Power Automate business surface.

Run with Naftiko Microsoft Power AutomateFlows

What You Can Do

GET
Listflows — Microsoft Power Automate List Flows
/v1/providers/microsoft-processsimple/environments/{environmentname}/flows
POST
Createflow — Microsoft Power Automate Create Flow
/v1/providers/microsoft-processsimple/environments/{environmentname}/flows
GET
Getflow — Microsoft Power Automate Get Flow
/v1/providers/microsoft-processsimple/environments/{environmentname}/flows/{flowname}
PATCH
Updateflow — Microsoft Power Automate Update Flow
/v1/providers/microsoft-processsimple/environments/{environmentname}/flows/{flowname}
DELETE
Deleteflow — Microsoft Power Automate Delete Flow
/v1/providers/microsoft-processsimple/environments/{environmentname}/flows/{flowname}
POST
Listcallbackurl — Microsoft Power Automate List Callback URL
/v1/providers/microsoft-processsimple/environments/{environmentname}/flows/{flowname}/listcallbackurl
POST
Turnonflow — Microsoft Power Automate Turn on Flow
/v1/providers/microsoft-processsimple/environments/{environmentname}/flows/{flowname}/start
POST
Turnoffflow — Microsoft Power Automate Turn off Flow
/v1/providers/microsoft-processsimple/environments/{environmentname}/flows/{flowname}/stop

MCP Tools

microsoft-power-automate-list-flows

Microsoft Power Automate List Flows

read-only idempotent
microsoft-power-automate-create-flow

Microsoft Power Automate Create Flow

microsoft-power-automate-get-flow

Microsoft Power Automate Get Flow

read-only idempotent
microsoft-power-automate-update-flow

Microsoft Power Automate Update Flow

idempotent
microsoft-power-automate-delete-flow

Microsoft Power Automate Delete Flow

idempotent
microsoft-power-automate-list-callback

Microsoft Power Automate List Callback URL

read-only
microsoft-power-automate-turn-flow

Microsoft Power Automate Turn on Flow

microsoft-power-automate-turn-off

Microsoft Power Automate Turn off Flow

Capability Spec

management-flows.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Power Automate Management API — Flows
  description: 'Microsoft Power Automate Management API — Flows. 8 operations. Lead operation: Microsoft Power Automate List
    Flows. Self-contained Naftiko capability covering one Microsoft Power Automate business surface.'
  tags:
  - Microsoft Power Automate
  - Flows
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_POWER_AUTOMATE_API_KEY: MICROSOFT_POWER_AUTOMATE_API_KEY
capability:
  consumes:
  - type: http
    namespace: management-flows
    baseUri: https://api.flow.microsoft.com
    description: Microsoft Power Automate Management API — Flows business capability. Self-contained, no shared references.
    resources:
    - name: providers-Microsoft.ProcessSimple-environments-environmentName-flows
      path: /providers/Microsoft.ProcessSimple/environments/{environmentName}/flows
      operations:
      - name: listflows
        method: GET
        description: Microsoft Power Automate List Flows
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: environmentName
          in: path
          type: string
          description: The name of the environment.
          required: true
      - name: createflow
        method: POST
        description: Microsoft Power Automate Create Flow
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: environmentName
          in: path
          type: string
          description: The name of the environment.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: providers-Microsoft.ProcessSimple-environments-environmentName-flows-flowName
      path: /providers/Microsoft.ProcessSimple/environments/{environmentName}/flows/{flowName}
      operations:
      - name: getflow
        method: GET
        description: Microsoft Power Automate Get Flow
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: environmentName
          in: path
          type: string
          description: The name of the environment.
          required: true
        - name: flowName
          in: path
          type: string
          description: The name or ID of the flow.
          required: true
      - name: updateflow
        method: PATCH
        description: Microsoft Power Automate Update Flow
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: environmentName
          in: path
          type: string
          description: The name of the environment.
          required: true
        - name: flowName
          in: path
          type: string
          description: The name or ID of the flow.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deleteflow
        method: DELETE
        description: Microsoft Power Automate Delete Flow
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: environmentName
          in: path
          type: string
          description: The name of the environment.
          required: true
        - name: flowName
          in: path
          type: string
          description: The name or ID of the flow.
          required: true
    - name: providers-Microsoft.ProcessSimple-environments-environmentName-flows-flowName-li
      path: /providers/Microsoft.ProcessSimple/environments/{environmentName}/flows/{flowName}/listCallbackUrl
      operations:
      - name: listcallbackurl
        method: POST
        description: Microsoft Power Automate List Callback URL
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: environmentName
          in: path
          type: string
          description: The name of the environment.
          required: true
        - name: flowName
          in: path
          type: string
          description: The name or ID of the flow.
          required: true
    - name: providers-Microsoft.ProcessSimple-environments-environmentName-flows-flowName-st
      path: /providers/Microsoft.ProcessSimple/environments/{environmentName}/flows/{flowName}/start
      operations:
      - name: turnonflow
        method: POST
        description: Microsoft Power Automate Turn on Flow
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: environmentName
          in: path
          type: string
          description: The name of the environment.
          required: true
        - name: flowName
          in: path
          type: string
          description: The name or ID of the flow.
          required: true
    - name: providers-Microsoft.ProcessSimple-environments-environmentName-flows-flowName-st
      path: /providers/Microsoft.ProcessSimple/environments/{environmentName}/flows/{flowName}/stop
      operations:
      - name: turnoffflow
        method: POST
        description: Microsoft Power Automate Turn off Flow
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: environmentName
          in: path
          type: string
          description: The name of the environment.
          required: true
        - name: flowName
          in: path
          type: string
          description: The name or ID of the flow.
          required: true
    authentication:
      type: bearer
      token: '{{env.MICROSOFT_POWER_AUTOMATE_API_KEY}}'
  exposes:
  - type: rest
    namespace: management-flows-rest
    port: 8080
    description: REST adapter for Microsoft Power Automate Management API — Flows. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/providers/microsoft-processsimple/environments/{environmentname}/flows
      name: providers-microsoft-processsimple-environments-environmentname-flows
      description: REST surface for providers-Microsoft.ProcessSimple-environments-environmentName-flows.
      operations:
      - method: GET
        name: listflows
        description: Microsoft Power Automate List Flows
        call: management-flows.listflows
        with:
          environmentName: rest.environmentName
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createflow
        description: Microsoft Power Automate Create Flow
        call: management-flows.createflow
        with:
          environmentName: rest.environmentName
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/providers/microsoft-processsimple/environments/{environmentname}/flows/{flowname}
      name: providers-microsoft-processsimple-environments-environmentname-flows-flowname
      description: REST surface for providers-Microsoft.ProcessSimple-environments-environmentName-flows-flowName.
      operations:
      - method: GET
        name: getflow
        description: Microsoft Power Automate Get Flow
        call: management-flows.getflow
        with:
          environmentName: rest.environmentName
          flowName: rest.flowName
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: updateflow
        description: Microsoft Power Automate Update Flow
        call: management-flows.updateflow
        with:
          environmentName: rest.environmentName
          flowName: rest.flowName
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteflow
        description: Microsoft Power Automate Delete Flow
        call: management-flows.deleteflow
        with:
          environmentName: rest.environmentName
          flowName: rest.flowName
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/providers/microsoft-processsimple/environments/{environmentname}/flows/{flowname}/listcallbackurl
      name: providers-microsoft-processsimple-environments-environmentname-flows-flowname-li
      description: REST surface for providers-Microsoft.ProcessSimple-environments-environmentName-flows-flowName-li.
      operations:
      - method: POST
        name: listcallbackurl
        description: Microsoft Power Automate List Callback URL
        call: management-flows.listcallbackurl
        with:
          environmentName: rest.environmentName
          flowName: rest.flowName
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/providers/microsoft-processsimple/environments/{environmentname}/flows/{flowname}/start
      name: providers-microsoft-processsimple-environments-environmentname-flows-flowname-st
      description: REST surface for providers-Microsoft.ProcessSimple-environments-environmentName-flows-flowName-st.
      operations:
      - method: POST
        name: turnonflow
        description: Microsoft Power Automate Turn on Flow
        call: management-flows.turnonflow
        with:
          environmentName: rest.environmentName
          flowName: rest.flowName
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/providers/microsoft-processsimple/environments/{environmentname}/flows/{flowname}/stop
      name: providers-microsoft-processsimple-environments-environmentname-flows-flowname-st
      description: REST surface for providers-Microsoft.ProcessSimple-environments-environmentName-flows-flowName-st.
      operations:
      - method: POST
        name: turnoffflow
        description: Microsoft Power Automate Turn off Flow
        call: management-flows.turnoffflow
        with:
          environmentName: rest.environmentName
          flowName: rest.flowName
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: management-flows-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Power Automate Management API — Flows. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: microsoft-power-automate-list-flows
      description: Microsoft Power Automate List Flows
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: management-flows.listflows
      with:
        environmentName: tools.environmentName
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-power-automate-create-flow
      description: Microsoft Power Automate Create Flow
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: management-flows.createflow
      with:
        environmentName: tools.environmentName
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-power-automate-get-flow
      description: Microsoft Power Automate Get Flow
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: management-flows.getflow
      with:
        environmentName: tools.environmentName
        flowName: tools.flowName
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-power-automate-update-flow
      description: Microsoft Power Automate Update Flow
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: management-flows.updateflow
      with:
        environmentName: tools.environmentName
        flowName: tools.flowName
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-power-automate-delete-flow
      description: Microsoft Power Automate Delete Flow
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: management-flows.deleteflow
      with:
        environmentName: tools.environmentName
        flowName: tools.flowName
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-power-automate-list-callback
      description: Microsoft Power Automate List Callback URL
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: management-flows.listcallbackurl
      with:
        environmentName: tools.environmentName
        flowName: tools.flowName
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-power-automate-turn-flow
      description: Microsoft Power Automate Turn on Flow
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: management-flows.turnonflow
      with:
        environmentName: tools.environmentName
        flowName: tools.flowName
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-power-automate-turn-off
      description: Microsoft Power Automate Turn off Flow
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: management-flows.turnoffflow
      with:
        environmentName: tools.environmentName
        flowName: tools.flowName
      outputParameters:
      - type: object
        mapping: $.