Anything you can do with Node.js, you can do in a Pipedream workflow. This includes using most of npm's 400,000+ packages.
Go to site// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})
from pipedream.script_helpers import (steps, export)
# Reference data from previous steps
print(steps["trigger"]["context"]["id"])
# Return data for use in future steps
export("foo", {"test":True})