Skip to content

Instantly share code, notes, and snippets.

@iaindooley
Created February 21, 2019 04:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iaindooley/debb3d15854a8db940f9d89f9a1d18b1 to your computer and use it in GitHub Desktop.
Save iaindooley/debb3d15854a8db940f9d89f9a1d18b1 to your computer and use it in GitHub Desktop.
Trigger Zapier by Email
function triggerZapierByEmail(notification)
{
var notif = new Notification(notification);
var card = notif.movedCard("Special Trigger List");
if(["alloweduser1","alloweduser2","alloweduser3"].indexOf(notif.member().name()) > -1)
{
MailApp.sendEmail("parseraddress@zapier.com",card.link(),"Hi there!");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment