auths
objectreturn
or this.key = 'value'
, pass input data to your code viaparams
, and maintain state across executions with$checkpoint.async
(event, steps) => {
}
// Use any npm package just by requiring it
const _ = require("lodash")
// standard output appears below the step that produced it
console.log(_.camelCase('hello world'))
// You can export data from steps and use it in another step
// by setting properties of the this object
this.subject = _.capitalize("HELLO WORLD")
async
params => {
}
const options = {
subject: params.subject,
text: params.text,
}
if (params.html) {
options.html = params.html
}
if (params.include_collaborators) {
options.include_collaborators = params.include_collaborators
}
$send.email(options)