Jotform enables you to create online forms, collect responses directly in your email, and create fillable PDF forms.
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 Omnivore API offers a platform to integrate with various Point of Sale (POS) systems, streamlining data access across multiple restaurant locations and systems. With Pipedream, you can harness this API to automate tasks, sync data, and connect with other services like CRMs, messaging apps, or analytics tools. By setting up triggers and actions, workflows can process transactions, update menus, gather sales reports, and more, all in real time.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
omnivore: {
type: "app",
app: "omnivore",
}
},
async run({steps, $}) {
const data = {
"query": `query Viewer { me { id name } }`,
}
return await axios($, {
method: "POST",
url: `https://api-prod.omnivore.app/api/graphql`,
headers: {
"authorization": `${this.omnivore.$auth.api_key}`,
},
data,
})
},
})