with Procore Sandbox and Python?
Emit new event when a new budget snapshot event is created. See the documentation
Emit new event when a new change order package event is created. See the documentation
Emit new event when a new commitment change order event is created. See the documentation
Emit new event depending on the resource name selected. See the documentation
Emit new event when a new prime contract event is created. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
procore_sandbox: {
type: "app",
app: "procore_sandbox",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://sandbox.procore.com/rest/v1.0/me`,
headers: {
Authorization: `Bearer ${this.procore_sandbox.$auth.oauth_access_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}}