Here's an example of how you can automate the flow of your money so that it's automatically invested.