added test file, use text template, added triggers, added input verification, added API key