# Waiting for events

Source: https://docs.formance.com/modules/flows/stages/wait-event

Stack: v3.2

Using the `wait_event` stage, you can wait for an event to be submitted to a running workflow instance before continuing. This is useful for workflows that require user input, such as a manual approval of a transaction.

```yaml
---
stages:
- wait_event:
    event: "payout.confirmed"
```

Events can be then submitted to running workflow instances using the API or fctl:

curl

```bash
curl -X POST $FORMANCE_API_URL/api/orchestration/instances/1234-5678-9012-3456/events \
  -H "Content-Type: application/json" \
  -d '{
    "name": "payout.confirmed"
  }'
```

fctl

```bash
fctl orchestration instances send-event 1234-5678-9012-3456 payout.confirmed
```
