cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
LoisBarbassatCS
New Member

Moving from "When a HTTP Request is received" to a custom connector

Hi Everyone!

 

I am struggling with a Power Automate task and I need some advices.

 

Just in a few words,

I am using Dynamics 365 CE Online and I have created a custom button, which send a Json Request to a Power Automate for business purposes.

Right now, I am using the “When a HTTP Request is received” trigger. The PA is working fine, but the ALM is very limited and I need to change my script each time I save my flow. That’s very time consuming and error-prone, as you can guess.

I want to create a custom connector to address that issue. It would be a basic one, that can be used as a trigger in flow. I just need it to have a URL and a basic Json Schema to work. That’s where I am a bit lost between all technologies (Swagger? Postman? I don’t really know where to begin!)

 

I just spent the whole morning looking for documentation and I am a bit lost. Would it be possible to help me on that issue, and give me a few advices on where to start and if I can do it alone as a D365 Consultant, or if I need to be a proper dev?

Many thanks for your help!

Best Regards,

Loïs

1 ACCEPTED SOLUTION

Accepted Solutions
abm
Super User
Super User

Hi @LoisBarbassatCS 

 

Could you please explain more about the HTTP request you mentioned.  Also you mentioned ALM is very limited and I need to change my script each time I save my flow.

 

You could have a hidden field and update the value (eg: Boolean Yes/No) when you click the button. Use the hidden field for the trigger of your Power Automate.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

View solution in original post

3 REPLIES 3
abm
Super User
Super User

Hi @LoisBarbassatCS 

 

Could you please explain more about the HTTP request you mentioned.  Also you mentioned ALM is very limited and I need to change my script each time I save my flow.

 

You could have a hidden field and update the value (eg: Boolean Yes/No) when you click the button. Use the hidden field for the trigger of your Power Automate.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials
laura-borbolla
Microsoft
Microsoft

 @LoisBarbassatCS 

 

Hi! You can create a custom connector using the UX in Power Automate, [here] is a tutorial on how to create one from scratch. You can also check-out the Microsoft Power Platform Connectors open-source repository in github [here] for more examples, it contains the source code for some connectors.

LoisBarbassatCS
New Member

Hi, 

 

Thanks both of you for the answers!

@abm You might be right, I will change the design of my flow so that it's not triggered by an HTTP request but by a flip. That would prevent me from using the "When an HTTP Request is received"

@laura-borbolla Thanks for the documentation, that's really helpful!

 

Thanks for your help !

Helpful resources

Announcements
October Events

Mark Your Calendars

So many events happening this month - don't miss out!

 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Users online (3,013)