Basic tutorial on automation (scripting, templates, blueprints, ...)

You may also want to check out the Cookbook Index where we have been building and collecting subject-specific write-ups and collections of examples.