with Nifty and Referral Rocket?
Assigns a specific task to a team member in Nifty. See the documentation
Creates a new project in a designated portfolio. See the documentation
The Nifty API allows for streamlined project management, facilitating task automation and data synchronization within Pipedream. By integrating with the Nifty API, you can automate workflows involving project tracking, task assignments, and progress monitoring, effectively reducing manual overhead. On Pipedream, the API's endpoints can trigger actions, respond to changes, and update records across different services, bringing cohesion to your project management ecosystem.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
nifty: {
type: "app",
app: "nifty",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://openapi.niftypm.com/api/v2.0/users/me`,
headers: {
Authorization: `Bearer ${this.nifty.$auth.oauth_access_token}`,
"accept": `application/json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
referral_rocket: {
type: "app",
app: "referral_rocket",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.referralrocket.io/api/v1/getAllParticipants`,
headers: {
"x-api-key": `${this.referral_rocket.$auth.api_key}`,
},
params: {
id: `${this.referral_rocket.$auth.campaign_id}`,
},
})
},
})