How to Trigger Webhook on Project Upon Repository Check-in
Hello,
I have a webhook that I would like to send a POST request to when a project has been checked in to a repository. The webhook is already created, but I have the following questions: From which flow should this webhook be called, so that it runs when a project is checked in? Where in the flow should the webhook be called, so that it only runs after successful check in?
Thanks!
Comments
-
Hello,
Thank you for contacting Decisions Customer Support. To address your questions—since your webhooks have already been created:
From which flow should this webhook be called, so that it runs when a project is checked in?
You would need to create a "Repository Action Flow" and change the flow behavior type to "After Checkin Flow" (also called "After Checkin Handler Flow"). This flow is triggered automatically after a project is successfully checked in to the repository.
Where in the flow should the webhook be called, so that it only runs after successful check in?
You would place your webhook POST request step within this flow—ideally right before the End step—so it only runs after a successful check-in.
Hope this answered your questions and here are some documentation links you can use as a reference.
https://documentation.decisions.com/docs/repository-action-flows
https://documentation.decisions.com/docs/about-flow-behaviors
Howdy, Stranger!
Categories
- 4.4K All Categories
- 86 General
- 13 Training
- 212 Installation / Setup
- 1.2K Flows
- 112 Rules
- 282 Administration
- 216 Portal
- 501 General Q & A
- 719 Forms
- 353 Reports
- 3 Designer Extensions
- 48 Example Flows
- 58 CSS Examples
- 1 Diagram Tile
- 8 Javascript Controls
- 189 Pages
- 5 Process Mining
- New Features
- 187 Datastructures
- 71 Repository
- 233 Integrations
- 30 Multi-Tenant
- 27 SDK
- 81 Modules
- 60 Settings
- 27 Active Directory
- 12 Version 7
- 36 Version 8
- 143 Lunch And Learn Questions