with Platform.ly and ServiceNow?
The Platform.ly API allows for deep integration with your marketing automation, CRM, and business intelligence data. Within Pipedream, you can leverage this API to automate workflows, sync data with other services, trigger actions based on customer interactions, and analyze business metrics. The seamless connection with Pipedream opens up possibilities for enriching customer profiles, managing campaigns, and driving analytics-driven decisions.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
platform_ly: {
type: "app",
app: "platform_ly",
}
},
async run({steps, $}) {
const data = {
"api_key": `${this.platform_ly.$auth.api_key}`,
"action": `profile`,
"value": `{}`,
}
return await axios($, {
method: "post",
url: `https://api.platform.ly/`,
headers: {
"Content-Type": `application/x-www-form-urlencoded`,
},
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}`,
},
})
},
})