Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

Trigger - Webhooks

Hi all


I created a GitHub webhook, following the documentation at


The webhook subscribes to `push` events. When I try to start the flow, the github connector fails with:


Invalid request. For 'properties/events', "push" is not an array.



Stepping through the flow definition I can't see where I'm going off course. It looks like the problematic step is the webhook trigger, which I "import from sample" as:

{"name": "web", 
"active": true,
"events": ["push"],
"config": {"url": ""}

When I download the flow in swagger format, I see:

        "events": {
          "default": [
          "description": "Events to listen on",
          "items": {
            "type": "string"
          "type": "array"


Community Support Team
Community Support Team

Re: Trigger - Webhooks

Hi @jean,


I'm investigating on this issue and will get back when I have further news.




Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Level: Powered On

Re: Trigger - Webhooks

Hi Mona, thanks for the answer!


I have a detail that may help. I finally figured out where I can view the webhook on the GitHub end, namely at . To get there, navigate to Settings, Webhooks of the relevant repository and look for the webhook created by Flow.


In my case, the hook is attempting delivery and is showing a 404 error. The payload URL is as shown in the image following the text Microsoft Flow automatically adds standard content-type and security headers, so we don’t need to define those while importing from a sample. on



I thought that that is a sample that would be updated by Flow with the proper callback URL.

What is the proper callback URL that should be specified there?



Here's the attempt at the GitHub side. Obviously that Request URL is never going to work ... :


Request URL:
Request method: POST
content-type: application/x-www-form-urlencoded
User-Agent: GitHub-Hookshot/7d741b5
X-GitHub-Delivery: bf9d6c60-565a-11e7-9e22-c46ce7ac59a8
X-GitHub-Event: push


Level: Power Up

Re: Trigger - Webhooks

any update ? same issue there, which url shall we specify in the GITHUB WEBHOOK payload URL when working with flow ? Nothing specified here neither :

Level: Powered On

Re: Trigger - Webhooks

Once you have created  a trigger with the sample request body, you should be able to see all the parameters as dropdown options in "Trigger Configuration".




Select config.url and flows will populate this property with call back url. (Note: this does not work as expected from Test tab, you will have to create a flow)

Helpful resources


Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.


Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.


Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Microsoft Learn

Learn how to build the business apps that you need.


Power Platform World Tour

Find out where you can attend!


Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 467 members 5,516 guests
Please welcome our newest community members: