umbraco / Umbraco.Forms.Issues

Public issue tracker for Umbraco Forms
29 stars 0 forks source link

Webhooks for WorkflowExecution #1151

Closed erikjanwestendorp closed 4 months ago

erikjanwestendorp commented 5 months ago

Is it a good idea to add a number of webhook events for Umbraco Forms? For example, I would like to set up a webhook for when a workflow fails, so that we are notified and can check what is wrong.

It would be great if something like this could be configured in the same way as within the CMS. Something like this:

public class ApplicationComposer : IComposer
{
    public void Compose(IUmbracoBuilder builder)
    {
        builder.WebhookEvents()
            .AddForms(formsBuilder => formsBuilder.AddWorkflow());
    }
}  

This would then add webhook events for the following notifications, for example:

WorkflowExecutionFailedNotification WorkflowExecutionCancelledNotification WorkflowExecutionCompletedNotification


This item has been added to our backlog AB#37295

AndyButland commented 4 months ago

Webhooks for workflow execution will be part of the next feature release, 13.1.