Created
February 9, 2018 23:30
-
-
Save geomagilles/8dec7425ad7b05db3a9b9d8905af495f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var { Workflow, Wait } = require("zenaton"); | |
var SendMyBeautfulEmail1 = require("./SendMyBeautfulEmail1"); | |
var SendMyBeautfulEmail2 = require("./SendMyBeautfulEmail2"); | |
var SendMyBeautfulEmail3 = require("./SendMyBeautfulEmail3"); | |
module.exports = Workflow("WelcomeEmailSerie", function() { | |
new SendMyBeautfulEmail1(this.email).execute(); | |
new Wait().days(3).execute(); | |
new SendMyBeautfulEmail2(this.email).execute() | |
new Wait().days(3).execute(); | |
new SendMyBeautfulEmail3(this.email).execute(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment