with quentn and Formatting?
Emit new event when a campaign contact is sent. You should set up a webhook in the Quentn UI workflow builder to send a POST request to this source by drag and drop the API Send
element.
Quentn is a marketing automation platform that enables users to streamline communication with their leads and customers. With the Quentn API on Pipedream, you can automate tasks like managing contacts, sending personalized emails, and triggering actions based on customer behaviors. It allows for a more targeted approach to marketing by engaging with your audience at critical points in the customer journey, all while saving time with automated workflows.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
quentn: {
type: "app",
app: "quentn",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.quentn.$auth.system_id}.${this.quentn.$auth.server_id}.quentn.com/public/api/V1/terms`,
headers: {
Authorization: `Bearer ${this.quentn.$auth.api_key}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})