> ## Documentation Index
> Fetch the complete documentation index at: https://learn.workflow.dog/llms.txt
> Use this file to discover all available pages before exploring further.

# Redirect

> Redirect an HTTP caller to another URL.

**Redirect** finishes an HTTP-triggered workflow with a `Location` header. It is
available with **URL**, **Form Submission**, and **Webhook** triggers.

## Inputs

| Input      | Type   | Required | Description                                               |
| ---------- | ------ | -------- | --------------------------------------------------------- |
| **URL**    | String | Yes      | The absolute destination URL.                             |
| **Status** | Number | No       | A redirect status from `300` to `399`. Defaults to `302`. |

Use `302` for a temporary redirect or `301` for a permanent redirect. Choose
`307` or `308` when the caller must preserve its original request method.

<Warning>
  Permanent redirects can be cached by browsers and intermediaries. Use `302`
  while testing a workflow.
</Warning>
