Click the links below for examples, and remember to view logs in the Dev Console