Facebook ads data

Hi all!

i would like to ask a question. I would like to make a simple flow that triggers on a cron. The purpose of the flow is simple. Get facebook ads data (CPA - recruitment campagne), if CPA is above X than add that campagne name (and other data like ad id) to an email and send it to Y.

My biggets issue getting the data form facebook ads. Could someone maybe point me in the right direction?