with Chat Data and SolarWinds Service Desk?
Create a chatbot with the specified properties. See the documentation
Get status of the Chatbot with the specified ID. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
chat_data: {
type: "app",
app: "chat_data",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.chat-data.com/api/v2/current-plan`,
headers: {
Authorization: `Bearer ${this.chat_data.$auth.api_key}`,
},
})
},
})
The SolarWinds Service Desk API provides a way to automate and integrate your IT service management processes. Using this API in Pipedream, you can create, update, and track service requests, manage incidents, problems, and changes, access asset information, and leverage user data within your workflows. It's about connecting your service desk with other apps to streamline processes, reduce response times, and enhance service delivery.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
solarwinds_service_desk: {
type: "app",
app: "solarwinds_service_desk",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.samanage.com/users.json`,
headers: {
"X-Samanage-Authorization": `Bearer ${this.solarwinds_service_desk.$auth.json_web_token}`,
"Accept": `application/json`,
},
})
},
})