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}`,
},
})
},
})
Credit Repair Cloud API provides a suite of tools to manage and automate tasks for credit repair businesses. With this API, you can create and manage clients, leads, affiliates, and credit reports, as well as automate the credit repair process. Integrating this API with Pipedream allows you to build serverless workflows that can harness data from Credit Repair Cloud and connect it with other services to enhance your credit repair operations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
credit_repair_cloud: {
type: "app",
app: "credit_repair_cloud",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://app.creditrepaircloud.com/api/lead/viewRecord`,
params: {
apiauthkey: `${this.credit_repair_cloud.$auth.api_key}`,
secretkey: `${this.credit_repair_cloud.$auth.api_secret}`,
xmlData: `<crcloud><client><id>Mg==</id></client></crcloud>`,
},
})
},
})