with Teamgate and GitHub?
Emit new event when a activity status is changed. See docs here
Emit new event when a deal stage is changed. See docs here
Teamgate's API provides the ability to manage a sales pipeline, customer data, and interactions within the Teamgate CRM system. By leveraging the Teamgate API on Pipedream, you can automate various aspects of the sales process, synchronize customer information across platforms, and generate insights from sales data. With Pipedream's serverless integration capabilities, connecting Teamgate to other services becomes a streamlined process, enabling users to create custom workflows that trigger actions, process data, and manage tasks without manual intervention.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
teamgate: {
type: "app",
app: "teamgate",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.teamgate.com/v4/users`,
headers: {
"X-App-Key": `${this.teamgate.$auth.app_key}`,
"X-Auth-Token": `${this.teamgate.$auth.auth_token}`,
},
})
},
})
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`,
},
})
},
})