As I promised, I will write more about custom bulk actions. Because this is very easy technic, I decided to create basic plugin, so you may see source code and bulk actions in…, well, action.
Important: this requires WordPress 4.7 or higher!
You may find source code at github. Simply download it and put it into plugins directory.