All-in-one marketing automation tool.
Emit new event when a webhook automation step is triggered in BenchmarkONE.
Adds a note to a BenchmarkONE contact. See the documentation
Adds tags to a contact. If the contact does not exist, it will be created first. See the documentation
Creates a new contact in BenchmarkONE. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
benchmarkone: {
type: "app",
app: "benchmarkone",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.hatchbuck.com/api/v1/settings/source`,
params: {
api_key: `${this.benchmarkone.$auth.api_key}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})