The awork API allows for automation and integration of project management features within awork, such as tasks, projects, time tracking, and team collaborations. By leveraging the awork API on Pipedream, you can create seamless workflows that connect project activities with other apps and services, streamline processes, and enhance productivity. With Pipedream, you can trigger actions based on specific events in awork or schedule periodic tasks that synchronize data across multiple platforms, all with minimal coding.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
awork: {
type: "app",
app: "awork",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.awork.com/api/v1/me`,
headers: {
Authorization: `Bearer ${this.awork.$auth.oauth_access_token}`,
},
})
},
})
Project Task Sync with Google Calendar: Automatically create or update Google Calendar events when new tasks are assigned in awork. This keeps your scheduling in sync and ensures that deadlines are reflected in your calendar.
Slack Notifications for Project Updates: Set up notifications to a Slack channel when a project's status is updated in awork. This allows teams to stay informed in real-time about project progress without having to constantly check the awork platform.
Time Tracking Integration with QuickBooks: Connect awork time tracking entries with QuickBooks to automate the invoicing process for completed tasks or projects. This streamlines billing and ensures accurate and timely invoicing for work done.
awork uses OAuth authentication. When you connect your awork account, Pipedream will open a popup window where you can sign into awork and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any awork API.
Pipedream requests the following authorization scopes when you connect your account:
offline_access
GET
https://api.awork.com/api/v1/accounts/authorize
?
client_id={{oauth.client_id}}
&
redirect_uri={{oauth.redirect_uri}}
&
state={{oauth.state}}
&
response_type=code
&
scope={{oauth.space_separated_scopes}}
POST
https://api.awork.com/api/v1/accounts/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://api.awork.com/api/v1/accounts/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}}