See this post : Create Note using shotgun-api - #9 by purplepaulette
Hey, I know this discussion is from a while ago, I had the same problem and I was able to solve it. On the scripts page in shotgrid there is a field called Generate Events and I needed to have that checked on for my scripts.