Jotform enables you to create online forms, collect responses directly in your email, and create fillable PDF forms.
Extract custom data from text using AI Textraction. 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}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ai_textraction: {
type: "app",
app: "ai_textraction",
}
},
async run({steps, $}) {
const data = {"text":"John Doe is a software engineer with 5 years of experience. He specializes in web development and has expertise in multiple programming languages such as JavaScript, Python, and HTML. John has worked on various projects, including e-commerce websites and mobile applications. In his free time, John enjoys playing the guitar, hiking, and reading books.","entities":[{"var_name":"first_name","type":"string","description":"first name of the person"},{"var_name":"last_name","type":"string","description":"last name of the person"},{"var_name":"years_of_experience","type":"integer","description":"years of experience"},{"var_name":"programming_languages","type":"array[string]","description":"programming languages experienced with"},{"var_name":"hobbies","type":"array[string]","description":"hobbies"}]}
return await axios($, {
method: "post",
url: `https://ai-textraction.p.rapidapi.com/textraction`,
headers: {
"x-rapidapi-host": `ai-textraction.p.rapidapi.com`,
"x-rapidapi-key": `${this.ai_textraction.$auth.rapid_key}`,
},
data,
})
},
})