with SmartReach and ServiceNow?
The SmartReach API integrates with Pipedream to enable automated workflows for email outreach and sales engagement. Within Pipedream, users can harness SmartReach's capabilities to create, update, track, and manage email campaigns, prospects, and templates. This allows for sophisticated outreach strategies that react to events in real-time, such as incoming emails, link clicks, or replied-to messages, and connect these events with other apps to streamline sales and marketing efforts.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
smartreach: {
type: "app",
app: "smartreach",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.smartreach.io/api/v1/campaigns`,
headers: {
"X-API-KEY": `${this.smartreach.$auth.api_key}`,
},
})
},
})
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}`,
},
})
},
})