Merge event_id into redirect link. | Community
Skip to main content
Answered

Merge event_id into redirect link.


We are using the api and getting a payload whenever a user finishes taking the quiz which is awesome, and inside that payload there is an “event_id” which is awesome! Because if a user fails to enter their name, but makes a purchase after the quiz we can tie their quiz answers to their event_id! 

ONE PROBLEM!! We need to redirect the user to our shop after they finish the quiz, so in the final step we have a redirect which looks something like. 

https://n8n.oursite.com/webhook/getCartUrl_v2?email=@{enter your email}&eventId=@??????

QUESTION - How do you merge the event_id into the redirect link? This is meant to catch quiz answers for the many people who change their email address at checkout breaking the truthiness of email.  

URGENT! - This is a dealbreaker if we cannot find a way to connect these redirects to quiz answers then we will have to find another option. 

Best answer by mathio-tf

Would it be sufficient to use response ID? If yes, you can embed your typeform and do the redirect in onSubmit callback where you receive response ID as a parameter.

View original

3 replies

Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 15035 replies
  • September 1, 2022

Hi @noteworthy I don’t believe it is possible to add the event ID into the webhook link, but @mathio or @picsoung may or may not know some workarounds or other ideas. 


mathio-tf
Typeform
Forum|alt.badge.img+5
  • Typeform
  • 888 replies
  • Answer
  • September 1, 2022

Would it be sufficient to use response ID? If yes, you can embed your typeform and do the redirect in onSubmit callback where you receive response ID as a parameter.


Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 15035 replies
  • September 6, 2022

Hi @noteworthy Were you able to give Mathio’s suggestion a try? Let us know how it went!


Reply