Gravity Forms redirect based on conditions

I think there is no need for this approach. You should try this:

  1. Go to Form editor / Confirmations
  2. Create confirmation
  3. At the bottom of the screen you can find Conditional Logic, from there you can select specific field values.
  4. Set Confirmation Type as Redirect

Repeat process for all Confirmation options / redirects you need to offer.

enter image description here