I have a process which i want to automate
I have an entity called application whose form is in a power page portal which adds to record in the entity when filled and submitted
It also has a lookup field from leads table. So record is added for this lead.
I want that when an application is filled and submitted and record is created in the application table, I want that lead will be qualified automatically.
This is where its a bit confusing as here is what i have done so far

So i am selecting the environment and table and storing the lookup field in a variable
Next set of steps i want to do is that check if the lookup field in application table matches the name field in leads table and then i want to qualify the lead
So want to know the steps of how to do it in as many details as possible.
thank you.