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,
})
},
})
Create or update a contact a on Gozen Growth. See the documentation
GoZen Growth uses API keys for authentication. When you connect your GoZen Growth account, Pipedream securely stores the keys so you can easily authenticate to GoZen Growth APIs in both code and no-code steps.
To retrieve your GoZen Growth's Webhook URL and Authentication Token,