with Intercom and NioLeads?
Finds a business email address using a full name and a website domain. See the documentation
Checks the deliverability of a specified email address. See the documentation
Adds a specific tag to a contact in Intercom. See the documentation
Add a reply or a note to an existing conversation thread. See the documentation
The Intercom API offers rich capabilities for enhancing customer communication and support workflows. By leveraging this API on Pipedream, you can automate tasks, sync customer data across platforms, and create personalized interactions. Whether you are managing user segments, sending targeted messages, or updating customer profiles, the Intercom API's robust set of endpoints allows for intricate and useful automations within your business processes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
intercom: {
type: "app",
app: "intercom",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.intercom.io/me`,
headers: {
Authorization: `Bearer ${this.intercom.$auth.oauth_access_token}`,
"accept": `application/json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
nioleads: {
type: "app",
app: "nioleads",
}
},
async run({steps, $}) {
const data = {
"email": `support@pipedream.com`,
}
return await axios($, {
method: "post",
url: `https://api.nioleads.com/v1/openapi/verify_email`,
headers: {
Authorization: `Bearer ${this.nioleads.$auth.api_key}`,
"Accept": `application/json`,
"Content-Type": `application/json`,
},
data,
})
},
})