How to save order item custom attributes save into custom table

You can use ‘woocommerce_checkout_order_processed‘ action or ‘woocommerce_thankyou‘ hook.

woocommerce_checkout_order_processed‘ is called when order is being processed, whereas ‘woocommerce_thankyou‘ is called when the order is being placed.