If you ever find yourself needing to create a process flow to automatically perform some action within the system based on specific conditions, or maybe just to create a more complex import template, the API Examples module is an excellent resource with a huge selection of API’s spanning almost every corner of the application.
Great thing about this is each one provides some guidance on how to use it.
Plus, from the Interactive API module you are able to actually test it against individual records to ensure it does what you expect before putting it to work for you!