with OneDesk and GitHub?
Emit new event when a new item is created. See the documentation
Emit new event when a new project is created. See the documentation
Emit new event when a new public message is created. See the docs
The OneDesk API allows for the automation and integration of project management and customer support tasks. Through Pipedream, users can leverage this API to create custom workflows that streamline processes, sync data across platforms, and react to events in real-time. By using OneDesk's capabilities in task and ticket management within Pipedream's serverless platform, users can create powerful automations that enhance productivity and coordination between teams.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
onedesk: {
type: "app",
app: "onedesk",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.onedesk.com/rest/public/organization/profileAndPolicy`,
headers: {
"OD-Public-API-Key": `${this.onedesk.$auth.api_key}`,
},
})
},
})
The GitHub API is a powerful gateway to interaction with GitHub's vast web of data and services, offering a suite of endpoints to manipulate and retrieve information on repositories, pull requests, issues, and more. Harnessing this API on Pipedream, you can orchestrate automated workflows that respond to events in real-time, manage repository data, streamline collaborative processes, and connect GitHub with other services for a more integrated development lifecycle.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
github: {
type: "app",
app: "github",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.github.com/user`,
headers: {
Authorization: `Bearer ${this.github.$auth.oauth_access_token}`,
"X-GitHub-Api-Version": `2022-11-28`,
},
})
},
})