Skip to main content

Notifications

Power Automate - Connector Development
Unanswered

Trigger configuration

(0) ShareShare
ReportReport
Posted on by 2

Hi,

 

I'm trying to create a connector with a polling trigger for my REST API, as described here: Polling trigger - Learn | Microsoft Docs. My API returns an array of objects. As described in the doc, I modified my API to return an object. This object has exactly one property, the array. Also as described in the documentation, my array is sorted in descending order, the newest object is at the top.

 

When I create a new custom connector from blank and import the request and response for my trigger from sample, I end up with this Trigger configuration that can also be seen in the documentation:trigger-config-1-png.PNG

 

With this everything works as desired. Maybe someone can tell me what Trigger Hint is used for. The field is marked as required, but it does not need to be filled out. There is nothing about it in the documentation either.

 

But if I now import a custom connector from an OpenAPI file, I get the following trigger configuration. It doesn't matter whether I use the OpenAPI file that is generated by my API or download the previous custom connector.

trigger-config-2.png

In both cases I have the following schema:

 

 

type: object
 properties:
 array_of_objects:
 type: array
 items: {type: object}

 

 

In the first configuration I can use the array_of_objects and in the second only the final objects.

 

So can someone tell me why I end up with the second Trigger configuration?

 

Thanks in advance for your help

  • MiSchroe Profile Picture
    MiSchroe 15 on at
    Re: Trigger configuration

    At least for the trigger hint field I can help: This is some descriptive text that will be displayed if you test your flow.

    MiSchroe_1-1650923091658.png

     

    MiSchroe_0-1650923054848.png

     

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

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

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,422

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,711

Leaderboard

Featured topics