get Outlook Category

Hi,   we got a shared mailbox and do categorise the emails. I want to forward the emails by category.    I already wrote a vba solution but i cant figure out how to trigger my script by Power Automate.   Is there a way to get the category property in a flow or to trigger my vba script?