@pipedream/motion 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -0
- package/actions/get-schedules/get-schedules.mjs +25 -0
- package/package.json +2 -2
package/README.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Overview
|
|
2
|
+
|
|
3
|
+
The Motion API empowers users to streamline project management and productivity tasks. Within Pipedream's environment, you can leverage this API to automate actions based on project updates, task completions, and team collaborations. It's a toolset that sails smoothly with Pipedream's knack for creating swift integrations and workflows, making it possible to connect Motion with other apps to optimize project tracking, notifications, and data synchronization.
|
|
4
|
+
|
|
5
|
+
# Example Use Cases
|
|
6
|
+
|
|
7
|
+
- **Task Completion Notifications**: Send real-time alerts via Slack or email when tasks in Motion are marked as complete. This ensures that team members stay informed about project progress without constantly checking the project management tool.
|
|
8
|
+
|
|
9
|
+
- **Sync Tasks with Google Calendar**: Automatically add Motion tasks with due dates as events in Google Calendar. This integration can help you visualize your workload and deadlines in a calendar format, making time management more intuitive.
|
|
10
|
+
|
|
11
|
+
- **Aggregate Project Updates**: Compile updates from Motion projects into a weekly digest, which can then be sent to team members or stakeholders. This workflow can be set to pull the latest project changes and format them into a neat report, thus keeping everyone in the loop with minimal manual effort.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import motion from "../../motion.app.mjs";
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
key: "motion-get-schedules",
|
|
5
|
+
name: "Retrieve Schedules",
|
|
6
|
+
version: "0.0.1",
|
|
7
|
+
description: "Get a list of schedules for your user. [See the documentation](https://docs.usemotion.com/docs/motion-rest-api/f9fec7bb61c6f-get-schedules)",
|
|
8
|
+
type: "action",
|
|
9
|
+
props: {
|
|
10
|
+
motion,
|
|
11
|
+
},
|
|
12
|
+
methods: {
|
|
13
|
+
getSchedules($) {
|
|
14
|
+
return this.motion._makeRequest({
|
|
15
|
+
$,
|
|
16
|
+
path: "schedules",
|
|
17
|
+
});
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
async run({ $ }) {
|
|
21
|
+
const response = await this.getSchedules($);
|
|
22
|
+
$.export("$summary", `Successfully fetched ${response?.length} schedules`);
|
|
23
|
+
return response;
|
|
24
|
+
},
|
|
25
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pipedream/motion",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Pipedream Motion Components",
|
|
5
5
|
"main": "motion.app.mjs",
|
|
6
6
|
"keywords": [
|
|
@@ -13,6 +13,6 @@
|
|
|
13
13
|
"access": "public"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@pipedream/platform": "^
|
|
16
|
+
"@pipedream/platform": "^3.0.3"
|
|
17
17
|
}
|
|
18
18
|
}
|