with Jotform and Airweave?
Create a new Airweave collection. Collections are logical groups of data sources that provide unified search capabilities. The newly created collection is initially empty until you add source connections to it. See the documentation
Delete a collection and all associated data. This permanently removes the collection including all synced data and source connections. This action cannot be undone. See the documentation
Gets number of form submissions received this month. Also, get number of SSL form submissions, payment form submissions and upload space used by user See the docs here
Retrieve details of a specific collection by its readable ID. See the documentation
Jotform’s API is a powerhouse for automating form and survey data management. With Pipedream, harness this API to trigger workflows from new form submissions, manipulate and analyze your form data, and sync it across various platforms. Think streamlined data entry to CRMs, instant notifications for new leads or feedback, and timely data backups to cloud storage.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
jotform: {
type: "app",
app: "jotform",
}
},
methods: {
_getBaseUrl() {
return this.jotform.$auth.subdomain
? `https://${this.jotform.$auth.subdomain}.jotform.com/API/`
: `https://${this.jotform.$auth.region}.jotform.com/`;
},
},
async run({steps, $}) {
const baseUrl = this._getBaseUrl();
return await axios($, {
url: `${baseUrl}user`,
params: {
apiKey: `${this.jotform.$auth.api_key}`,
},
})
},
})
import { AirweaveSDKClient } from "@airweave/sdk";
export default defineComponent({
props: {
airweave: {
type: "app",
app: "airweave",
}
},
async run({steps, $}) {
const client = new AirweaveSDKClient({
apiKey: this.airweave.$auth.api_key,
base_url: this.airweave.$auth.base_url
});
return await client.collections.list({
skip: 1,
limit: 1
});
},
})