workflow extension not created

I cannot create workflow extension even though i provided the hapikey and application Id hapikey hidden for security purposes

Hey @test132,

When looking to create a workflow extension definition via

POST https://api.hubapi.com/automationextensions/v1/definitions?hapikey=<<hapikey>>&applicationId=<<app ID>

You’d need to ensure that the hapikey is the Developer API key from the developer account where your app is defined. Here’s the step by step guide on where to get your developer API key within your app dashboard: Developer API keys.

If you’re using the Developer API key and you’re still seeing the same error, could you share with me the following:

1. The developer portal in question

2. The JSON POST body that you’re using

Thanks i was using the wrong key,

Now that i have created a workflow extenstion and installed the app and attached it to a workflow but i cant see the request at my webhook url and also on the network tab when workflow is triggered

Hey @test132,

Are you referring to the ‘Create New Appointment’ workflow extension on portal 713xxxx? If so, looking at the workflow (Unamed workflow - Tues Jul 07 2020) history, there’s an error stating that the required properties were missing. Could you ensure that the property isn’t missing and try again?

Hey @WendyGoh,

Thank you so much you have been a great help and So sorry for the trouble.

One More question can i send custom request headers like authentication using workflow extenstion?.

If yes,then can u provide the procedure to implement it.

Hey @test132,

As stated on our documentation,

At this time, every HTTP request made for a workflow extension will share the exact same URL. Therefore it’s not possible to customize the path or query parameters. Custom header values are also not supported at this time.