Damstra's Digital Forms replaces paper and manual processes with a convenient paperless app that runs on a smartphone, tablet, or PC for fast, easy data capture.
Write Python and use any of the 350k+ PyPi packages available. Refer to the Pipedream Python docs to learn more.
The Damstra Forms API provides a digital solution for creating, managing, and submitting forms vital to workplace safety and compliance. By integrating this API with Pipedream, you can automate form-related workflows to efficiently handle data collection, processing, and analysis. Use cases include automatically triggering actions upon form submission, syncing form data to other business systems, and monitoring submissions for compliance.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
damstra_forms: {
type: "app",
app: "damstra_forms",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.damstra_forms.$auth.domain}.au.damstraforms.com/public_api/v2/projects`,
headers: {
"Authorization": `Token token=${this.damstra_forms.$auth.api_key}`,
"Accept": `application/json`,
},
})
},
})
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}}