The CreatedFrom field on the IF should normally contain the name of the transaction along with it’s number - "CREATED FROM Sales Order #SO-000093” so you could use a ‘Starts With' filter on your criteria - otherwise trigger the workflow from a Saved Search and use createdfrom.type as the criteria.