Wrike API on Pipedream exposes the robust task and project management features of Wrike, enabling you to automate workflows across various apps and services. With it, you can programmatically access and manipulate tasks, folders, projects, and users within Wrike. This API lends itself to a multitude of automation possibilities, like synchronizing project updates across platforms, streamlining notifications and reporting, or even managing resource allocation based on project workload.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
wrike: {
type: "app",
app: "wrike",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.wrike.$auth.host}/api/v4/contacts`,
headers: {
Authorization: `Bearer ${this.wrike.$auth.oauth_access_token}`,
},
params: {
me: `true`,
},
})
},
})
Project Status Updates to Slack: Automatically send project status updates from Wrike to a designated Slack channel. When a Wrike task reaches a certain status, trigger a workflow that posts a message in Slack, keeping your team informed and aligned without manual intervention.
Sync Wrike Tasks with Google Calendar: Create a workflow that adds new Wrike tasks to Google Calendar as events. When a new task is created in Wrike, Pipedream can capture that event, and use the Google Calendar API to schedule it, ensuring your schedule is always up-to-date with your task list.
GitHub Issues to Wrike Tasks: Convert new GitHub issues into Wrike tasks to streamline bug tracking and feature requests. When a new issue is reported on GitHub, trigger a Pipedream workflow that creates a corresponding task in Wrike, tagged and categorized for your dev team to tackle.
Update the custom fields for a task. See the documentation
Wrike uses OAuth authentication. When you connect your Wrike account, Pipedream will open a popup window where you can sign into Wrike and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Wrike API.
Pipedream requests the following authorization scopes when you connect your account:
GET
https://login.wrike.com/oauth2/authorize/v4
?
client_id={{oauth.client_id}}
&
redirect_uri={{oauth.redirect_uri}}
&
state={{oauth.state}}
&
response_type=code
&
scope={{oauth.space_separated_scopes}}
POST
https://login.wrike.com/oauth2/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
client_secret={{oauth.client_secret}}
&
redirect_uri={{oauth.redirect_uri}}
&
grant_type=authorization_code
&
code={{oauth.code}}
POST
https://login.wrike.com/oauth2/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
client_secret={{oauth.client_secret}}
&
grant_type=refresh_token
&
refresh_token={{oauth.refresh_token}}