## Spec for Redirect Node​

A node in the funnel builder that will redirect users to a specified url

## Table of Contents​

- [Spec for Redirect Node​](#spec-for-redirect-node%e2%80%8b)
- [Table of Contents​](#table-of-contents%e2%80%8b)
- [Workflow](#workflow)
- [User Stories](#user-stories)
- [Test Plan](#test-plan)
- [Acceptance Tests​](#acceptance-tests%e2%80%8b)
- [Screens / States​](#screens--states%e2%80%8b)
  ​

## Workflow

(N/A)
​

## User Stories

- As a user, I can create a node that re-routes traffic to a custom URL when triggered

## Test Plan

| Scenario                                                | Expected                                                            |
| ------------------------------------------------------- | ------------------------------------------------------------------- |
| When the user opens the [add new] > [funnel actions]    | A [Redirect Node] apppears                                          |
| When the user drags a redirect node to the canvas       | Node app0ears on the canvas                                         |
| User Double-clicks the redirect node                    | Redirect configuration popup shows (user can enter destination url) |
| User enters desitnation url                             | Configuration information is saved                                  |
| Visitor visits the url representing a redirect url node | Visitor is redirected to selected destination url                   |

## Acceptance Tests​

(N/A)​

## Screens / States​

![](http://ambid-backups.s3.amazonaws.com/screenshots/redirect-node.png)
![](http://ambid-backups.s3.amazonaws.com/screenshots/redirect-node-pop.png)
