Created
February 10, 2018 00:15
-
-
Save geomagilles/10f7d1963f348e09fade05b7cd05f8dd 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_v1", function() { | |
new SendMyBeautfulEmail1(this.email).execute(); | |
new Wait().monday().at('08:00').execute(); | |
new SendMyBeautfulEmail2(this.email).execute() | |
new Wait().monday().at('08:00').execute(); | |
new SendMyBeautfulEmail3(this.email).execute(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment