Jotform enables you to create online forms, collect responses directly in your email, and create fillable PDF forms.
Compress files provided through URLs into a zip folder. 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
Gets a list of all submissions for all forms on the account See the docs here
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() {
let baseUrl = `https://${this.jotform.$auth.region}.jotform.com/`;
const standardSubdomains = [
"api",
"eu-api",
"hipaa-api",
];
if (!standardSubdomains.includes(this.jotform.$auth.region)) {
baseUrl += "API/";
}
return baseUrl;
},
},
async run({steps, $}) {
const baseUrl = this._getBaseUrl();
return await axios($, {
url: `${baseUrl}user`,
params: {
apiKey: `${this.jotform.$auth.api_key}`,
},
})
},
})
The Zip Archive API allows you to manage zip archives programmatically. You can create, extract, and modify zip files, making it ideal for automating routine file management tasks. Integrating this API with Pipedream enables you to automate workflows that involve file compression or decompression, combine it with triggers from other apps, and process large batches of files efficiently, saving time and reducing manual effort.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
zip_archive_api: {
type: "app",
app: "zip_archive_api",
}
},
async run({steps, $}) {
const data = {
"file": `https://www.learningcontainer.com/wp-content/uploads/2020/05/sample-zip-file.zip`,
}
return await axios($, {
method: "post",
url: `https://api.archiveapi.com/extract`,
headers: {
"Accept": `text/plain`,
},
params: {
secret: `${this.zip_archive_api.$auth.secret}`,
},
data,
})
},
})