Velo custom Triggers

I’m having trouble with
I am trying to set up a trigger to track clicks on a link sent in an email campaign so that it will automatically move leads through my sales pipeline when they interact with the email sent. So far I set up a router page that briefly passes a lead through and on to the main page on my website (this is tracking the click) This part is working and triggering the automation. The issue that I am running into is after the automation is triggered it can’t complete the action moving the lead in the pipeline, which I assume is due to not having the right contact data from the user that made the click.
Has anyone worked on something like this before? If so what am I missing is there something I can change to make this work?

Working in
Wix Studio

What I’m trying to do
I want my automation to fire and complete the lead movement in my pipeline

I’m not sure if you’ve tried the run log but regardless, can you share the flowchart of your pipeline and is the code meant to change the pipeline? It sounds like you have the code working correctly so it might be a case of checking the conditions; you might be able to try running it in parallel to see if that works.