User actions - action types

Did you read the topic that JammyDodger linked to? It explains how to do it.