with Swapcard Exhibitor and Anymail Finder?
Emit new event when a new connection is formed (new lead).
Searches for most popular emails based on company information. See the documentation
Searches for emails based on company information and, optionally, a person's name.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
swapcard_exhibitor: {
type: "app",
app: "swapcard_exhibitor",
}
},
async run({steps, $}) {
const data = {
"query": "query TestQuery { __typename }"
}
return await axios($, {
method: "post",
url: `https://developer.swapcard.com/exhibitor/graphql`,
headers: {
"Authorization": `${this.swapcard_exhibitor.$auth.api_key}`,
"x-apollo-operation-name": `TestQuery`,
},
data,
})
},
})
The Anymail Finder API lets you find and verify email addresses. Using Anymail Finder, you can look up emails by providing a person's name and their company's domain, or simply validate if an existing email is deliverable. When used in Pipedream, this API unlocks possibilities for automating outreach, enriching customer data, or cleaning your email lists. You can set up workflows that respond to various triggers (like a new lead in your CRM) and perform email lookups or verifications, streamlining tasks that would otherwise require manual intervention.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
anymail_finder: {
type: "app",
app: "anymail_finder",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.anymailfinder.com/v5.0/meta/account.json`,
headers: {
Authorization: `Bearer ${this.anymail_finder.$auth.api_key}`,
},
})
},
})