Node package manager
Emit new event with the latest count of downloads for an npm package. See the documentation.
Emit new event when a new version of an npm package is published. See the documentation
Create or update a contact a on Gozen Growth. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
gozen_growth: {
type: "app",
app: "gozen_growth",
}
},
async run({steps, $}) {
const data = {
"contact" :{
"first_name" : "John",
"email_address" : "john@example.com"
}
}
return await axios($, {
method: "post",
url: `${this.gozen_growth.$auth.webhook_url}`,
headers: {
"Authorization": `${this.gozen_growth.$auth.authentication_token}`,
},
data,
})
},
})