Motion

Manage calendars, meetings, projects & tasks in one tool

Integrate the Motion API with the Python API

Setup the Motion API trigger to run a workflow which integrates with the Python API. Pipedream's integration platform allows you to integrate Motion and Python remarkably fast. Free for developers.

Run Python Code with Python API on Task Status Updated from Motion API
Motion + Python
 
Try it
Task Status Updated from the Motion API

Emit new event when the status of a specific task is updated.

 
Try it
Create Task with the Motion API

Create a new task. See the documentation

 
Try it
Run Python Code with the Python API

Write Python and use any of the 350k+ PyPi packages available. Refer to the Pipedream Python docs to learn more.

 
Try it
Delete Task with the Motion API

Delete a specific task by Id. See the documentation

 
Try it
Move Workspace with the Motion API

Move a specific task to another workspace. When moving tasks from one workspace to another, the tasks project, status, and label(s) and assignee will all be reset. See the documentation

 
Try it
Retrieve Task with the Motion API

Retrieve a specific task by Id. See the documentation

 
Try it

Overview of Motion

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.

Connect Motion

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    motion: {
      type: "app",
      app: "motion",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.usemotion.com/v1
    /users/me`,
      params: {
        "X-API-Key": `${this.motion.$auth.api_key}`,
      },
    })
  },
})

Overview of Python

Develop, run and deploy your Python code in Pipedream workflows. Integrate seamlessly between no-code steps, with connected accounts, or integrate Data Stores and manipulate files within a workflow.

This includes installing PyPI packages, within your code without having to manage a requirements.txt file or running pip.

Below is an example of using Python to access data from the trigger of the workflow, and sharing it with subsequent workflow steps:

Connect Python

1
2
3
4
5
def handler(pd: "pipedream"):
  # Reference data from previous steps
  print(pd.steps["trigger"]["context"]["id"])
  # Return data for use in future steps
  return {"foo": {"test":True}}