auths
objectreturn
or this.key = 'value'
, pass input data to your code viaparams
, and maintain state across executions with$checkpoint.async
(event, steps) => {
}
const axios = require("axios")
const cheerio = require("cheerio")
async function fetchHTML(url) {
const { data } = await axios.get(url)
return cheerio.load(data)
}
const $ = await fetchHTML("https://example.com")
// Save the HTML in the $event object, which allows you to
// store data in one step and use it in another. See
// https://docs.pipedream.com/notebook/dollar-event/#modifying-event
this.html = $.html()
The name of the S3 bucket you'd like to send data to
An object, either a reference to a variable from a previous step (for example, event.body), or a set of hardcoded key-value pairs.
async
params => {
}
$send.s3({
bucket: params.bucket,
prefix: params.prefix,
payload: params.payload,
})