Triggers Actions Hooks

action = something Drupal does
trigger = specific operation in a book

writing code, then applying it to a trigger

advanced actions
hook_action_info - describe the action
write the function that does the action

configurable actions
hook_action_info - describe
write the func
provided the form for the config form
validate
provide submit function

returned from submit function
keyed array of field and values returned
save to db

every action received object and context
if it is a node action, it is a node
if it is a user action, it is a user

what is context?