Magnetic Software is a single integrated cloud Project Management, Sales CRM & Accounts platform.
Magnetic is a project management and workflow automation platform designed to help agencies stay organized and streamline operations. With the Magnetic API on Pipedream, you can automate routine tasks, sync data across various apps, and create custom workflows to enhance productivity. From task creation and time tracking to financial management and reporting, Pipedream’s serverless execution model lets you connect Magnetic with a plethora of other services without the need for a dedicated server setup.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
magnetic: {
type: "app",
app: "magnetic",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.magnetichq.com/Magnetic/rest/coreAPI/users`,
params: {
token: `${this.magnetic.$auth.token}`,
},
})
},
})
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:
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}}