Does Post from PowerApps trigger the on insert trigger?

Hi everyone

I am creating a Power App that communicates to BC using a custom connector. I am able to post new table records from the app.

I would like to perform some actions that are depending on the incoming record. I would like to add this code in the on insert trigger.

It seems to me that the trigger is not triggered when inserting records using a Post request, Is this correct and how would I achieve my goal?

Thanks in advance