Custom action and conditions

Exactly. Made this feature request last month;