auths
objectreturn
or this.key = 'value'
, pass input data to your code viaparams
, and maintain state across executions with$checkpoint.async
(event, steps, auths) => {
}
const axios = require("axios")
// Make an HTTP GET request using axios
const resp = await axios({
method: "GET",
url: `https://swapi.co/api/films/`,
})
// Retrieve just the data from the response
const { data } = resp
// export this data for use in a future step
// https://docs.pipedream.com/workflows/steps/#step-exports
this.films = data