with Pitchlane and ServiceNow?
The Pitchlane API enables users to automate and integrate media planning and buying processes. This API can streamline the creation, management, and optimization of advertising campaigns across various channels. By utilizing Pitchlane within Pipedream, users can connect their media planning tools with other business systems (like CRM, analytics, or communication platforms), automate repetitive tasks, and orchestrate complex workflows that respond to real-time data changes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pitchlane: {
type: "app",
app: "pitchlane",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.pitchlane.com/api/public/v1/campaigns`,
headers: {
"accept": `application/json`,
"X-API-Key": `${this.pitchlane.$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}`,
},
})
},
})