with UniOne and ServiceNow?
UniOne is an email service provider that offers a broad range of features for sending and managing email campaigns. Through its API, you can programmatically send transactional emails, organize mailing lists, track email delivery statuses, and analyze recipient engagements. When integrated on Pipedream, UniOne becomes a part of your serverless workflow, enabling you to automate email operations with various triggers and actions from other apps.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
unione: {
type: "app",
app: "unione",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://${this.unione.$auth.server}/en/transactional/api/v1/system/info.json`,
headers: {
"X-API-KEY": `${this.unione.$auth.api_key}`,
"Content-Type": `application/json`,
"Accept": `application/json`,
},
data: {} //this empty object is required for the test request to work
})
},
})
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}`,
},
})
},
})