Route tickets in helpdesk based on skills agent’ functionality in a workflow

I would like to use the ‘Route tickets in helpdesk based on skills agent’ functionality in a workflow, and not just when a ticket enter the inbox.