Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

With the webhook step, you can introduce automation to your approval process management. You can place the webhook step at any place in the approval path. With the automation plugin, you can alter the page if the approval path reached the webhook step. Example automation actions upon webhook:

  • Add comment

  • Add or remove a label

  • Archive pageArchive page

  • Update page

  • Update content

With the webhook step at the beginning, you could prepare the page for the approval process. With the webhook step at the end of the process, you could transition the page to the next phase. Webhook is an HTTP call. You have to specify a URL and the method (GET/PUT/POST/DELETE). Optionally, you can specify HTTP body and headers.

Info

Note it’s possible to add a comment & add or remove a label using an Automation action.

Refer to We have introduced Automation Step which makes most popular Confluence automations like changing issue status, adding/ removing labels or adding comment much simpler, without the need of creating webhooks.
Check out: Automation step

Dynamics Values

Inside URL, headers and body you can use dynamic values:
You have to put names inside ${…}

Name

 Description

collection.id

Project id

ref.id

Page id

approval.name

Approval name

approval.id

Approval id

Action Type

In case of Approval and Consent types, we expect the HTTP endpoint to return HTTP code between 200 and 299 inclusive. This will result in the “Approved” step. In case of other response code or problem with connection step will be marked as “Rejected”.

...