Back to Blog
1 min read

Building Power Automate Custom Connectors

When your API isn’t in the Power Automate connector gallery, build your own custom connector.

OpenAPI Definition

Start with a Swagger/OpenAPI spec:

swagger: "2.0"
info:
  title: Inventory API
  version: "1.0"
host: api.company.com
basePath: /v1
schemes:
  - https
securityDefinitions:
  apiKey:
    type: apiKey
    in: header
    name: X-API-Key
paths:
  /inventory/{sku}:
    get:
      operationId: GetInventory
      summary: Get inventory level for a SKU
      parameters:
        - name: sku
          in: path
          required: true
          type: string
      responses:
        200:
          description: Success
          schema:
            type: object
            properties:
              sku:
                type: string
              quantity:
                type: integer
              warehouse:
                type: string

Creating the Connector

  1. Navigate to make.powerapps.com
  2. Data → Custom Connectors → New
  3. Import your OpenAPI file
  4. Configure authentication
  5. Test and create

Usage in Flows

Once created, business users can use it like any other connector:

When an item is created in SharePoint (Trigger)

Get Inventory (Custom Connector)

Condition: If quantity < 10

Send email notification

The power of custom connectors: developers build once, business users consume forever.

Michael John Peña

Michael John Peña

Senior Data Engineer based in Sydney. Writing about data, cloud, and technology.