Use three tests: is it still used, is it still needed by the business, and can standard no-code tools do it. Unused items are retired. Needed items that no-code tools can cover are rebuilt. Items that connect to outside systems are kept as integrations.