# `DripDrop.OnReply`
[🔗](https://github.com/agoodway/dripdrop/blob/v0.1.0/lib/dripdrop/on_reply.ex#L1)

Default reply handler for inbound provider events.

Replies are recorded as message events. A step can additionally set
`config["reply_behavior"] = "pause_enrollment"` to pause the enrollment when
a reply is received. Host applications may configure
`config :dripdrop, :on_reply, {Module, :fun}` to replace this behavior.

# `handle_reply`

```elixir
@callback handle_reply(map(), Ecto.Schema.t() | nil) :: :ok | {:error, term()}
```

Handles an inbound reply event using the configured or default reply callback.

# `handle_reply`

```elixir
@spec handle_reply(map(), Ecto.Schema.t() | nil) :: :ok | {:error, term()}
```

Handles an inbound reply event using the configured or default reply callback.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
