with EmailVerify.io and Yext?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
emailverify_io: {
type: "app",
app: "emailverify_io",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.emailverify.io/api/v1/validate`,
params: {
key: `${this.emailverify_io.$auth.api_key}`,
email: `integrations@pipedream.com`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
yext: {
type: "app",
app: "yext",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.yext.$auth.api_url}/v2/accounts`,
headers: {
Authorization: `Bearer ${this.yext.$auth.oauth_access_token}`,
},
params: {
access_token: `${this.yext.$auth.oauth_access_token}`,
"v": `20240120`,
},
})
},
})