RESTful web API that enables you to access Microsoft Cloud service resources. For daemon applications, it uses the standard OAuth 2.0 client credentials grant.
Emit new event when a ticket message is created. See the documentation
Emit new event when a ticket is updated. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
microsoft_graph_api_daemon_app: {
type: "app",
app: "microsoft_graph_api_daemon_app",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://graph.microsoft.com/v1.0/users`,
headers: {
Authorization: `Bearer ${this.microsoft_graph_api_daemon_app.$auth.oauth_access_token}`,
},
})
},
})
Gorgias is a helpdesk platform that centralizes customer interactions and automates common support tasks. Utilizing the Gorgias API on Pipedream allows you to streamline customer service processes by creating automated workflows. With these integrations, you can sync customer data, manage tickets, automate responses, and track support metrics, effectively turning Gorgias into an engine for customer support automation.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
gorgias_oauth: {
type: "app",
app: "gorgias_oauth",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.gorgias_oauth.$auth.domain}.gorgias.com/api/users/0`,
headers: {
Authorization: `Bearer ${this.gorgias_oauth.$auth.oauth_access_token}`,
"Accept": `application/json`,
},
})
},
})