Skip to main content

Notifications

Community site session details

Community site session details

Session Id : FfFJVGF+ZQHxYSNMqkqBmZ
Power Automate - Using Connectors
Unanswered

Power Automate Custom Connector not displaying nested array properties

Like (0) ShareShare
ReportReport
Posted on 9 Dec 2024 16:01:53 by

Hi everyone,

I’m building a custom connector in Power Automate and encountering an issue where a property from my Swagger/OpenAPI definition isn’t showing up when I test the connector. Specifically, I’m trying to send an array of objects as part of the request body, but the property (products) doesn’t appear in the UI.

Here’s the relevant part of my Swagger definition:

parameters:
  - name: promotionId
    in: path
    required: true
    type: string
    description: Identifiant unique promotion
  - name: body
    in: body
    required: false
    schema:
      type: object
      properties:
        triggers:
          type: array
          items:
            type: object
            properties:
              shop:
                type: object
                properties:
                  id:
                    type: string
              products:
                type: array
                items:
                  type: object
                  properties:
                    ean:
                      type: string
                    quantity:
                      type: integer
              logical_operator:
                type: object
                properties:
                  value:
                    type: string
              trigger_type:
                type: object
                properties:
                  value:
                    type: string
 

The Problem:

When I test the connector in Power Automate, I can see fields like shop.id, logical_operator.value, and trigger_type.value, but the products property doesn’t show up at all.

What I’ve Tried:

  1. Using Example Payloads: I added examples to my Swagger file to make the structure explicit.
  2. Raw Body Input: I toggled the raw body mode in Power Automate, which works, but it’s not ideal since I need the fields to appear in the UI.

Questions:

  1. Has anyone successfully used arrays of objects in Power Automate custom connectors?
  2. Is there a workaround to make the products property appear in the UI while keeping it as an array?
  3. Do I need to restructure the schema, or is this a known Power Automate limitation?

Any help or insights would be greatly appreciated!

Thanks in advance!

Categories:

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Thomas Rice – Community Spotlight

We are honored to recognize Thomas Rice as our March 2025 Community…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,513 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,574 Most Valuable Professional

Leaderboard

Featured topics

Loading started