with BenchmarkONE and Mailjet?
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
Add a new unique contact to your global contact list and select its exclusion status. See the docs here
Creates a new contact in BenchmarkONE. See the documentation
Retrieve details for all contact lists - name, subscriber count, creation timestamp, deletion status. See the docs here
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}`,
},
})
},
})
Mailjet's API offers the power to craft, send, and track emails with finesse. You can wield it to automate email sequences, synchronize email lists with your databases, and send transactional emails with personalized content. It's a playground for creating tailored email campaigns and dissecting campaign performance with rich analytics.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mailjet: {
type: "app",
app: "mailjet",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.mailjet.com/v3/REST/contactslist`,
auth: {
username: `{{custom_fields.public_key}}`,
password: `${this.mailjet.$auth.secret_key}`,
},
})
},
})