with Asana and Gainsight?
Create or update a company record. See the documentation
Create or update a custom object record. See the documentation
Create or update a person's record. See the documentation
Add a task to a specific, existing section. This will remove the task from other sections of the project. See the documentation
The Asana API taps into the feature-rich project management platform, allowing you to automate tasks, sync data across apps, and enhance team collaboration. With the Asana API on Pipedream, you can create tasks, update project timelines, and trigger workflows from events within Asana—like new tasks or comments—streamlining your project management processes. Pipedream’s serverless platform empowers you to build complex workflows with minimal overhead, integrating Asana with numerous other services to maximize productivity and reduce manual workload.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
asana: {
type: "app",
app: "asana",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.asana.com/api/1.0/users/me`,
headers: {
Authorization: `Bearer ${this.asana.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
gainsight_nxt: {
type: "app",
app: "gainsight_nxt",
}
},
async run({steps, $}) {
const data = {
"includeTotal": true,
"limit": 25,
"page": 0,
"orderBy": {
"ModifiedDate": "desc"
},
"select": [
"Name",
"SFDCUserName",
"Email",
"IsSuperAdmin",
"ModifiedDate",
"LicenseType"
]
}
return await axios($, {
method: "post",
url: `${this.gainsight_nxt.$auth.customer_domain}/v1/users/services/list`,
headers: {
"content-type": `application/json`,
"accept": `application/json, text/plain, */*`,
"accept-language": `en-GB,en-US;q=0.9,en;q=0.8`,
"accesskey": `${this.gainsight_nxt.$auth.access_key}`,
},
data,
})
},
})