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 Vitel Phone API allows you to integrate a suite of telephony services into your applications, enabling you to automate calls, manage voicemails, send text messages, and track communications. Leveraging Pipedream's serverless platform, you can create workflows that react to events from Vitel Phone and connect them with hundreds of other apps to streamline processes, alert teams, log activities, or even analyze call data for insights.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
vitel_phone: {
type: "app",
app: "vitel_phone",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://billing.vitelglobal.com/vitel_incomingsms.php`,
headers: {
"accept": `application/json`,
},
params: {
username: `${this.vitel_phone.$auth.username}`,
password: `${this.vitel_phone.$auth.password}`,
line: `Line`,
startdate: `{{your_startdate}}`, //ex. 09102023
enddate: `{{your_enddate}}`, //ex. 09132023
},
})
},
})