Skip to main content

Notifications

Power Automate - General Discussion
Unanswered

Beginner webhook question (trigger, step by step)

(0) ShareShare
ReportReport
Posted on by

I am trying to learn how to use webhooks with Flow, but I cannot get it to work. I have looked for videos or tutorials online – and searched this forum - but found none that shows me step by step what to do. At least not in the most basic way that allows me to do it (wat trigger to start with, how do I get the URL I need etcetera).  

 

The solution is for a system where we create forms and can set either an outgoing or incoming webhook. When we complete a form, I wish to trigger a Flow. In a second step I could see a use for having an incoming webhook and sending data to the system in question. But for now more than happy to just get step 1 to work.  

 

Thanks! 

  • LeeHarris Profile Picture
    LeeHarris 1,026 on at
    Re: Beginner webhook question (trigger, step by step)

    Hi @Who 

    There are a few ways of achieving this depending on how you are planning on implementing your solution and how much control you have over the form page where the submission is coming from.

     

    Option 1 is to make use of a Custom Connector.

    Custom Connector overview can be found here

    https://docs.microsoft.com/en-us/connectors/custom-connectors/

    Details on how to implement a Webhook trigger in your Custom Connector can be found here

    https://docs.microsoft.com/en-us/connectors/custom-connectors/create-webhook-trigger

     

    Option 2 is to use the HTTP Request Trigger

    Whilst this isn't necessarily a webhook as such, it does allow you to very easily generate a url that you can pass data to (I tend to prefer a JSON object in the body of the request) and then process within the Flow.

    Details on this trigger can be found here
    https://docs.microsoft.com/en-us/azure/connectors/connectors-native-reqres

     

    Your URL will be automatically generated when the Flow is first saved. When defining the body data I find its a lot easier to create a structured example like the below first, and then pasting this in as a sample response to generate the schema (see screenshot).

     

    {
    "variableA":"valueA",
    "variableB":true,
    "variableC":200
    }

    chrome_2019-07-18_13-45-01.png

    All of your values within your JSON body will then be available as dynamic content.

    chrome_2019-07-18_13-46-26.png

    Hopefully this helps you get started.

     

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,526

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,907

Leaderboard