I am creating a custom connector and would like to make 3 Webhook Triggers with different event payloads. But the verb and path are same for all of them.
POST ->> "v1/Webhook"
So I am getting the error which says path and verb combination should be unique. I checked Githubs Triggers and saw that they have 3 Triggers and as per their documentation they have only one Webhook Url. I would like to do the same for my service
I have already tried putting dynamic path parameters but it also gives the same error.
Please help. Thanks
In Power Automate, select the Data > Custom connectors tab. In the Custom connectors pane, select New custom connector, and then select Create from blank. In the Create a custom connector dialog, enter the name of your custom connector (in this example, you can use Polling Test), and then select Continue.
Secure your API Use one of these standard authentication methods for your APIs and connectors (Azure Active Directory is recommended): Generic OAuth 2.0. OAuth 2.0 for specific services, including Azure Active Directory (Azure AD), Dropbox, GitHub, and SalesForce. Basic authentication.
As far as I know you cannot use the payload to specify the event type. As a work around, you could instead use a different webhook url to distinguish between events.
Did you try:
POST ->> "v1/Webhook#1"
POST ->> "v1/Webhook#2"
POST ->> "v1/Webhook#3"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With