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

# Redirect to URL

Use the **Redirect to URL** action to send respondents to a specific webpage when a defined condition is met.

This is useful when you want to send customers to a relevant page based on their survey responses - such as a product page, thank-you page, external resource, or another destination.

For example:

> **IF** Question 1 is equal to **"Yes"**<br />**THEN** Redirect to URL → [https://yourstore.com/products/example](https://yourstore.com/products/example)

## Set Up a URL Redirect

<Steps>
  <Step title="Step 1: Open Survey Branching">
    Open the survey you want to configure.

    <Frame>
      <img src="https://mintcdn.com/apricot-survey/j_rIWlobp1yr8cT1/images/all-surveys-page.png?fit=max&auto=format&n=j_rIWlobp1yr8cT1&q=85&s=933ba70c3de0ae53e56015629d1f2cb7" alt="All Surveys Page" width="2612" height="1054" data-path="images/all-surveys-page.png" />
    </Frame>

    From the survey editor, click **Survey Branching.**

    <Frame>
      <img src="https://mintcdn.com/apricot-survey/j_rIWlobp1yr8cT1/images/branching-survey-button.png?fit=max&auto=format&n=j_rIWlobp1yr8cT1&q=85&s=8b19db0457a52662a7c0ab9760e84c3f" alt="Branching Survey Button" width="2102" height="1218" data-path="images/branching-survey-button.png" />
    </Frame>
  </Step>

  <Step title="Step 2: Select the question">
    Click the question block that contains the answer you want to use as the condition.

    <Frame>
      <img src="https://mintcdn.com/apricot-survey/j_rIWlobp1yr8cT1/images/branching-logic-survey-1.png?fit=max&auto=format&n=j_rIWlobp1yr8cT1&q=85&s=3eb0814d16a0a51babd9e3f7e3811b1f" alt="Branching Logic Survey 1" width="2834" height="1136" data-path="images/branching-logic-survey-1.png" />
    </Frame>
  </Step>

  <Step title="Step 3: Create your condition">
    Click **Add Rule** and configure the **IF** condition.

    Select the question, operator, and value that should trigger the redirect.

    For example:

    **IF** Question 1 → **Is equal to** → **"Yes"**

    <Frame>
      <img src="https://mintcdn.com/apricot-survey/j_rIWlobp1yr8cT1/images/survey-rule-page.png?fit=max&auto=format&n=j_rIWlobp1yr8cT1&q=85&s=23f649f4412a2a4c3f5ee39bf6fcff0c" alt="Survey Rule Page" width="1774" height="964" data-path="images/survey-rule-page.png" />
    </Frame>
  </Step>

  <Step title="Step 4: Choose Redirect to URL">
    Under **THEN**, select **Redirect to URL.**

    Enter the URL where you want respondents to be redirected.

    For example:

    **THEN** → **Redirect to URL** → [https://yourstore.com/products/example](https://yourstore.com/products/example)

    <Frame>
      <img src="https://mintcdn.com/apricot-survey/9PJBlmIfLLkWNGpQ/images/redirection-to-url.png?fit=max&auto=format&n=9PJBlmIfLLkWNGpQ&q=85&s=b43241686c17871d31375260d2c19751" alt="Redirection To Url" width="1774" height="972" data-path="images/redirection-to-url.png" />
    </Frame>

    Save the rule to apply the redirect.

    When a respondent meets the specified condition, Apricot will redirect them to the URL you provided.
  </Step>
</Steps>

## Example

Imagine you're asking customers whether they want to learn more about a product.

**Question**: Would you like to learn more about this product?<br />- Yes<br />- No

You could create a rule such as:

> **IF** Answer is equal to "Yes"<br />**THEN** Redirect to URL → Your product page

This lets you turn a survey response into a direct next step for the customer.
