Jotform enables you to create online forms, collect responses directly in your email, and create fillable PDF forms.
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 Mem API lets you interact with a unique knowledge base that adapts to your needs. Using Pipedream, you can automate tasks, sync information across apps, and trigger actions based on events in Mem. Think of pulling in tasks, pushing notifications, or archiving ideas - Pipedream serves as a superhighway for your Mem data to connect with over 800 apps.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mem: {
type: "app",
app: "mem",
}
},
async run({steps, $}) {
const data = {
"content": `Pipedream test - new mem`,
}
return await axios($, {
method: "post",
url: `https://api.mem.ai/v0/mems`,
headers: {
"Content-Type": `application/json`,
"Authorization": `ApiAccessToken ${this.mem.$auth.api_key}`,
},
data,
})
},
})