How to create automated online sales machines