Hi All,
I have a power apps flow created to get "EmployeeID" following video - https://www.youtube.com/watch?v=i5j_ztO6BIw&t=386s&pp=ygUbZ2V0IGVtcGxveWVlaWQgaW4gcG93ZXJhcHBz and I am successfully able to retrieve info.
However, I am trying to get the value now in my power apps, so I created a label and I want to populate the label with the output from power automate flow.
So on the start of screen I put :
Set(useremail, User().Email);
Set (empid, GetEmployeeID.Run(useremail).empid);
I am getting error like :

I have saved my flow and tested it , it was successful. The flow and app is in same environment. Do I need to add the flow to powerapps first or publish the flow somehow? Can someone please help me here? I am a beginner in power apps.
Appreciate your help !