Jotform enables you to create online forms, collect responses directly in your email, and create fillable PDF forms.
Allows the user to generate a new check-in at a specific location on Foursquare. See the documentation
Allows the user to create a new tip for a venue on Foursquare. 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
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 Foursquare API empowers developers to tap into rich data about venues, user check-ins, and location-based experiences. On Pipedream, you can harness this API to automate tasks such as fetching venue recommendations based on user preferences, keeping a log of customer visits to your business, or integrating location insights into your CRM. Combining Foursquare data with other services on Pipedream allows you to create powerful, location-aware business solutions without the heavy lifting of manual data handling.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
foursquare: {
type: "app",
app: "foursquare",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.foursquare.com/v2/users/self`,
headers: {
Authorization: `Bearer ${this.foursquare.$auth.oauth_access_token}`,
},
params: {
oauth_token: `${this.foursquare.$auth.oauth_access_token}`,
"v": `20191001`,
},
})
},
})