add trigger snippets