Jotform enables you to create online forms, collect responses directly in your email, and create fillable PDF forms.
Emit new event when a new subscriber is added. 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 listmonk API enables you to interact programmatically with the listmonk platform, which specializes in managing mailing lists and sending out newsletters. Using this API, you can automate subscriber management, campaign dispatching, and performance tracking. When you integrate listmonk with Pipedream, you can create powerful workflows that react to events from other apps, process data, and use that data to trigger actions within listmonk.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
listmonk: {
type: "app",
app: "listmonk",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.listmonk.$auth.url}/api/lists`,
auth: {
username: `${this.listmonk.$auth.username}`,
password: `${this.listmonk.$auth.password}`,
},
})
},
})