Hi @bwavell ,
First u need to call in powerapps for flows,
in tat flow create a select ur destop flows,
in desktop pad create output variable nd pass ur data
while selecting desktop flow in cloud u will get tat variable names wat u created in pad.
pass it into powerapps in respond option,
again after ur process if u need u can call cloud flow nd update as per ur requirements,
so tat u need to call u cloud flows,one is for extract data, second as per ur 2nd requirements.

If it works please mark it as a solution ,and like it from that it will help for others also.
Regards,
Ahammad Riyaz