Add template, submit trigger