Template examples
Action Template for Product and Category Views
Product view and category view operations create their action templates automatically. For some tasks, though — importing view history, for example — you need to add the templates to your account yourself.
For the general walkthrough, see How to create an action template.
What matters here is picking the right categories: