I have my FM database integrated with a website running WooCommerce. The web guy has been able to create orders and line items via API no problem and everything is working fine. My problem is that when an order has been created in FM I need to run a script that processes the line items and takes appropriate actions based on the product type. Ideally I need this to run at the time the order is received.
I could create a server-side script on FMS that looks for new orders every few minutes but that really seems like overkill.
Does anyone know if it's possible to trigger a script after a remote API call?