group_by_pool action plugin: initial version