Update Webhook of Custom App

I created a Dedicated Attached Webhook for a Instant Trigger module of my custom app.

How does the Update part work? I tried the same code like for my Attach logic, but it is never called.

I wish to let the customer edit the Instant Trigger Webhook.

When I put my Parameters in the Webhook then they can be configured once, but never edited. The edit function of the Webhook in the scenarios is greyed out.

When I put my Parameters in the Instant Trigger Module then they are editable in the module of a scenario, but the edit does not have an effect on the Webhook.

None of the example apps is using the update functionality.

The documentation on the Webhook Edit Page says:
“Describes the API call to be performed when a scenario containing the Webhook is published. Leave empty when there’s no such call. This specification does inherit from base.”

The documentation of the VS Code Extension says:
“Describes the API call to be performed when the webhook is updated. Leave empty when there’s no such call. This specification does inherit from base.”

None of both seems to be true.

Did anybody manage to use the Update functionality of webhooks?

Thanks in advance for your help!

Did you ever get this figured out? I can’t seem to get the edit button working despite code in the update section?

I also spent a while trying to figure out how to get this to work. I was able to get this to work by:

  1. Having at least 1 (static) parameter set - which I imagine everyone in this thread already has, as there’s not much need to edit a connection with no parameters!
  2. Having an update section configured, which will get called when saving the fields.
  3. Setting the editable field to true on the parameter. According to the docs, this defaults to false - so if no fields have this, the edit button is disabled.

(side-note: the {{webhook.url}} variable doesn’t seem to be available on updates, so you can’t rely on this, unless you’ve stored it when processing the response from the attach webhook)

2 Likes