Versions Compared

Key

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

...

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

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 HTTP endpoint to return HTTP code between 200 and 299 inclusive. This will result “Approved” step. In case of other response code or problem with connection step will be marked as “Rejected”.

Notification type will always mark a step as “Approved”, no matter what kind of response we will receive or if there will be any problem with connection.