with NioLeads and ServiceNow?
Emit new event when a new contact is added. See the documentation
Finds a business email address using a full name and a website domain. See the documentation
Retrieves the record identified by the specified sys_id from the specified table.
Checks the deliverability of a specified email address. See the documentation
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,
})
},
})
The ServiceNow API lets developers access and manipulate records, manage workflows, and integrate with other services on its IT service management platform. These capabilities support automating tasks, syncing data across platforms, and boosting operational efficiencies.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
servicenow: {
type: "app",
app: "servicenow",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.servicenow.$auth.instance_name}.service-now.com/api/now/table/incident`,
headers: {
Authorization: `Bearer ${this.servicenow.$auth.oauth_access_token}`,
},
})
},
})