with LoopMessage and ServiceNow?
Emit new event when an alert is received via webhook. See the documentation
Action to submit your request to the sending queue. When a request in the queue will be ready to send a reaction in iMessage, an attempt will be made to deliver it to the recipient. See the documentation
Retrieves the record identified by the specified sys_id from the specified table.
Action to send a text in iMessage to an individual recipient. See the documentation
The LoopMessage API offers you the ability to send, receive, and manage messages within your applications. Through Pipedream's integration, you can harness this API to automate communication processes, organize message flows, and even connect to various data sources or other APIs to create complex messaging workflows. With Pipedream, you can trigger actions based on events, schedule messages, and interact with users in real-time without managing servers or infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
loopmessage: {
type: "app",
app: "loopmessage",
}
},
async run({steps, $}) {
const data = {
"contact": `test@google.com`,
}
return await axios($, {
method: "post",
url: `https://lookup.loopmessage.com/api/v1/contact/lookup/`,
headers: {
"Content-Type": `application/json`,
"Authorization": `${this.loopmessage.$auth.authorization_key}`,
"Loop-Secret-Key": `${this.loopmessage.$auth.secret_api_key}`,
},
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}`,
},
})
},
})