with Agiliron and Addressfinder?
Emit new event when a new contact is created in Agiliron. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
agiliron: {
type: "app",
app: "agiliron",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.agiliron.$auth.subdomain}.agiliron.net/agiliron/api-40/Accounts`,
headers: {
"Accept": `application/json`,
"apiKey": `${this.agiliron.$auth.api_key}`,
},
params: {
filter: `CreatedTime,bt,01-15-2000 | 01-31-2025`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
addressfinder: {
type: "app",
app: "addressfinder",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.addressfinder.io/api/email/v1/verification/`,
headers: {
"Authorization": `${this.addressfinder.$auth.secret}`,
},
params: {
key: `${this.addressfinder.$auth.key}`,
email: `hello@addressfinder.com`,
format: `json`,
},
})
},
})