Automatically convert sales order to invoice after 30 mins

Automatically convert sales order to invoice after 30 mins

Hi team - is there a way to automatically convert sales orders to invoices after 30 mins. I tried to do a workflow but there is no field update for sales orders status. Can this be done? Is this done using a custom function? Can anyone help me with the custom function? Thanks in advance