Jotform enables you to create online forms, collect responses directly in your email, and create fillable PDF forms.
Creates a sign-up nudge for a user in Nudgify. See docs here
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 Nudgify API lets you create and manage social proof notifications, aimed at increasing user engagement and conversions on your website. By leveraging this API on Pipedream, you can automate the interaction with Nudgify notifications and integrate them into your site's workflow. This could include creating notifications based on user behavior, updating them in real-time as data changes, or deleting them once they're no longer needed. The Pipedream platform simplifies the process of working with the Nudgify API by handling authentication, providing a code-free interface for setting up workflows, and enabling connections with numerous other apps for extended functionality.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
nudgify: {
type: "app",
app: "nudgify",
}
},
async run({steps, $}) {
const data = {
"site_key": `${this.nudgify.$auth.site_key}`,
"conversions": [{
"date":"2021-04-15 04:29:42",
"email":"john0941034@gmail.com",
"first_name":"John",
"last_name":"Mendes",
"ip":"92.21.8.106",
"city":"Houston",
"state":"Texas",
"country":"US"
}],
}
return await axios($, {
method: "POST",
url: `https://app.nudgify.com/api/conversions`,
headers: {
Authorization: `Bearer ${this.nudgify.$auth.api_key}`,
"content-type": `application/json`,
"accept": `application/json`,
},
data,
})
},
})