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}`,
},
})
},
})
Tick is a time tracking and project management tool designed to help teams keep track of time spent on various tasks and projects. With the Tick API, you can automate project time entries, generate reports, and sync time data with other tools. Specifically, when you plug the Tick API into Pipedream, you leverage serverless workflows to connect Tick with hundreds of other apps. You can automate time tracking, streamline project updates, and trigger actions based on time entry events.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
tick: {
type: "app",
app: "tick",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.tickspot.com/${this.tick.$auth.subscription_id}/api/v2/users.json`,
headers: {
"Authorization": `Token token=${this.tick.$auth.api_token}`,
"User-Agent": `MyCoolApp (${this.tick.$auth.email})`,
},
})
},
})