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 Loops.so API enables you to automate repetitive tasks, create custom integrations, and manage video campaigns directly from Pipedream. It offers endpoints to manage videos, incorporate user-generated content, and track metrics. On Pipedream, you can connect Loops.so with a multitude of other services for seamless data flow across platforms, enabling efficient automation of content distribution, marketing analytics, and customer engagement workflows.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
loops_so: {
type: "app",
app: "loops_so",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.loops.so/api/v1/api-key`,
headers: {
Authorization: `Bearer ${this.loops_so.$auth.api_key}`,
"Accept": `application/json`,
},
})
},
})