Jotform enables you to create online forms, collect responses directly in your email, and create fillable PDF forms.
Adds a new lead or modifies an existing lead on your campaign. See the documentation.
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
Remove a lead from your campaign. See the documentation.
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 KickoffLabs API enables you to automate your referral marketing campaigns by integrating with their service. With this API, you can programmatically manage campaigns, leads, and rewards, allowing you to dynamically respond to new sign-ups or reward achievements. By connecting the KickoffLabs API to Pipedream, you can create powerful workflows that react to events in real-time, synchronize data across multiple services, or even trigger custom logic tailored to your marketing strategy.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
kickofflabs: {
type: "app",
app: "kickofflabs",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://api.kickofflabs.com/v1/${this.kickofflabs.$auth.campaign_id}/subscribe`,
headers: {
"Content-Type": `application/json`,
},
params: {
email: `sergio@pipekit.pro`,
api_key: `${this.kickofflabs.$auth.api_key}`,
},
})
},
})