A simple, drag and drop tool for creating mobile forms.
The GoCanvas API enables you to build applications that can create, edit, and
view Canvas documents.
With the GoCanvas API, you can:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
gocanvas: {
type: "app",
app: "gocanvas",
}
},
async run({steps, $}) {
const data = {
"username": `${this.gocanvas.$auth.username}`,
}
return await axios($, {
url: `https://www.gocanvas.com/apiv2/forms.xml`,
headers: {
Authorization: `Bearer ${this.gocanvas.$auth.api_key}`,
},
data,
})
},
})
The Filter API is a great way to build powerful workflows that can manipulate
and transform data. Here are some examples of what you can build using the
Filter API:
export default defineComponent({
async run({ steps, $ }) {
let condition = false
if (condition == false) {
$.flow.exit("Ending workflow early because the condition is false")
} else {
$.export("$summary", "Continuing workflow, since condition for ending was not met.")
}
},
})