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`,
},
})
},
})
Automate Task Creation for New Deals: When a new deal is closed in a CRM like Salesforce, automatically create a corresponding project and tasks in Nifty to kickstart the workflow without manual entry.
Sync Project Updates with Communication Platforms: Whenever a Nifty project status updates, post a message to a Slack channel to keep the team informed in real-time, ensuring everyone is aligned with the latest project developments.
Consolidate Timesheet Entries: At the end of each day, collect time tracking data from Nifty and compile it into a Google Sheets document for easy review and reporting, streamlining the timesheet management process.
Assigns a specific task to a team member in Nifty. See the documentation
Creates a new project in a designated portfolio. See the documentation
Nifty uses OAuth authentication. When you connect your Nifty account, Pipedream will open a popup window where you can sign into Nifty and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Nifty API.
Pipedream requests the following authorization scopes when you connect your account:
file
doc
message
project
task
member
label
milestone
subtask
task_group
subteam
GET
https://nifty.pm/authorize
?
client_id={{oauth.client_id}}
&
redirect_uri={{oauth.redirect_uri}}
&
state={{oauth.state}}
&
response_type=code
&
scope={{oauth.space_separated_scopes}}
POST
https://openapi.niftypm.com/oauth/token
content-type: application/x-www-form-urlencoded
accept: application/json
redirect_uri={{oauth.redirect_uri}}
&
grant_type=authorization_code
&
code={{oauth.code}}
POST
https://openapi.niftypm.com/oauth/token
content-type: application/x-www-form-urlencoded
accept: application/json
grant_type=refresh_token
&
refresh_token={{oauth.refresh_token}}