---
title: "Workflow Handlers"
description: "Integrate custom business logic into workflow events with comprehensive handler options. (Gitana 4.0)"
product: "Gitana"
version: "4.0"
url: "/documentation/gitana/4.0/engine/workflow/workflow-handlers"
---

# Workflow Handlers

Workflow events are raised as a workflow "flows" through its lifecycle (for example, `START`, `END`, `ENTER`, `LEAVE` and `TRANSITION`). Workflow handlers let you hook custom business logic into these events.

Workflow event handlers are registered within your workflow model at either the instance-scope or the task-scope. As with other elements in your model, the task-scope inherits from the instance-scope which means that you are allowed to globally declare task events (like `ENTER` or `LEAVE`) at the instance level if you wish to. Doing so will apply the same task event handlers to all tasks.

Each handler registration provides a `type` and an optional `config`. Some handlers require config and others do not. For example:

```
{
    "handlers": {
        "START": [{
            "type": "logger",
            "config": {}
        }]
    }
}
```

For a complete example of a workflow model with handlers, see [Workflow](/documentation/gitana/4.0/engine/workflow/overview.md).

The following handlers are available out-of-the-box:

- [Add Features](/documentation/gitana/4.0/engine/workflow/workflow-handlers/add-features.md)
- [Copy Node](/documentation/gitana/4.0/engine/workflow/workflow-handlers/copy-node.md)
- [Email](/documentation/gitana/4.0/engine/workflow/workflow-handlers/email.md)
- [Lock Node](/documentation/gitana/4.0/engine/workflow/workflow-handlers/lock-node.md)
- [Logger](/documentation/gitana/4.0/engine/workflow/workflow-handlers/logger.md)
- [Move Node](/documentation/gitana/4.0/engine/workflow/workflow-handlers/move-node.md)
- [Remove Features](/documentation/gitana/4.0/engine/workflow/workflow-handlers/remove-features.md)
- [Remove Properties](/documentation/gitana/4.0/engine/workflow/workflow-handlers/remove-properties.md)
- [Script](/documentation/gitana/4.0/engine/workflow/workflow-handlers/script.md)
- [Set Properties](/documentation/gitana/4.0/engine/workflow/workflow-handlers/set-properties.md)
- [Slack Message](/documentation/gitana/4.0/engine/workflow/workflow-handlers/slack-message.md)
- [Sync Node](/documentation/gitana/4.0/engine/workflow/workflow-handlers/sync-node.md)
- [Unlock Node](/documentation/gitana/4.0/engine/workflow/workflow-handlers/unlock-node.md)
- [Web Hook](/documentation/gitana/4.0/engine/workflow/workflow-handlers/webhook.md)
