Hi guys i need a help how i can run workflow for a costumer that returns from thanks you page to previous page and i need to run worflow that are previous page?
Ex:
I have payment popup that will redirect to thanks you page, and on thanks you page i have return to previous page, and when costumer returns to previous page i need to run a worflow on this previous page
Hello @adamhholmes i have explained better please see if u understand if u can help me out
Hi guys i need a help how i can run workflow for a costumer that returns from thanks you page to previous page and i need to run worflow that are previous page?
Ex:
I have payment popup, when sucess payment the costumer are redirect to thanks you page, and on thanks you page i have return to previous page, and when costumer returns to previous page i need to run a worflow on this previous page
Firstly, why not just run the workflow on the Thank You page? Wouldn’t that be simpler and more logical?
In any case, as you’re redirecting from the thank you page back to whatever ‘previous’ page you’re referring to, you can just add a URL query parameter that you can use as an identifier on the ‘previous’ page…
Then, just run a workflow when the ‘previous’ page is loaded, only when that URL parameter is present.
@adamhholmes thanks you for your answer, i am not add the flow on thank you page because i need to run an api flow with file that are uploaded on previous page…
Its good idea to add parameter but i have tried but the parameter to url are only added on the flow to go to specific page,
or there is another way?
On the flow with return previous page there is to option to add parameter to an url
You could use a cookie, or you could set a field in the database, or just find some other condition that can only be true when whatever it is that’s happened for you user to get to this point has happened.
Yes, you just need to somehow ‘mark’ that that has happened (i.e. by storing some data somewhere as I’ve previously suggested - e.g. using a cookie, URL parameters, or writing something to the database)