Excellence driven software products + services
Write Python and use any of the 350k+ PyPi packages available. Refer to the Pipedream Python docs to learn more.
The Frappe API provides a robust interface to interact with the Frappe Framework, enabling developers to create, read, update, and delete records in Frappe apps, trigger workflows, and handle complex business logic. Leveraging Pipedream's capabilities, you can harness this API to automate tasks, sync data across different platforms, and build powerful serverless workflows that enhance the productivity and efficiency of your business processes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
frappe: {
type: "app",
app: "frappe",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.frappe.$auth.base_url}/api/method/frappe.auth.get_logged_user`,
auth: {
username: `${this.frappe.$auth.api_key}`,
password: `${this.frappe.$auth.api_secret}`,
},
})
},
})
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}}