# `DripDrop.ShortLinks.Pipeline`
[🔗](https://github.com/agoodway/dripdrop/blob/v0.1.0/lib/dripdrop/short_links/pipeline.ex#L1)

Rewrites payload URLs through the configured short-link provider.

# `context`

```elixir
@type context() :: %{
  optional(:step_execution_id) =&gt; Ecto.UUID.t() | binary(),
  optional(:tenant_key) =&gt; binary() | nil,
  optional(:sequence) =&gt; Ecto.Schema.t() | map(),
  optional(:step) =&gt; Ecto.Schema.t() | map(),
  optional(:provider_opts) =&gt; keyword(),
  optional(:tenant_short_links) =&gt; keyword()
}
```

# `run`

```elixir
@spec run(map(), context()) :: {:ok, map()} | {:error, map()}
```

Rewrites eligible URLs in a rendered payload through the configured provider.

---

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