Jotform

Jotform enables you to create online forms, collect responses directly in your email, and create fillable PDF forms.

Integrate the Jotform API with the Hugging Face API

Setup the Jotform API trigger to run a workflow which integrates with the Hugging Face API. Pipedream's integration platform allows you to integrate Jotform and Hugging Face remarkably fast. Free for developers.

Document Question Answering with Hugging Face API on New Submission (Instant) from Jotform API
Jotform + Hugging Face
 
Try it
Image Classification with Hugging Face API on New Submission (Instant) from Jotform API
Jotform + Hugging Face
 
Try it
Language Translation with Hugging Face API on New Submission (Instant) from Jotform API
Jotform + Hugging Face
 
Try it
Object Detection with Hugging Face API on New Submission (Instant) from Jotform API
Jotform + Hugging Face
 
Try it
Text Classification with Hugging Face API on New Submission (Instant) from Jotform API
Jotform + Hugging Face
 
Try it
New Submission (Instant) from the Jotform API

Emit new event when a form is submitted

 
Try it
Document Question Answering with the Hugging Face API

Want to have a nice know-it-all bot that can answer any question?. This action allows you to ask a question and get an answer from a trained model. See the docs.

 
Try it
Get Form Submissions with the Jotform API

Gets a list of form responses See the docs here

 
Try it
Image Classification with the Hugging Face API

This task reads some image input and outputs the likelihood of classes. This action allows you to classify images into categories. See the docs.

 
Try it
Get Monthly User Usage with the Jotform API

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

 
Try it
Language Translation with the Hugging Face API

This task is well known to translate text from one language to another. See the docs.

 
Try it

Overview of Jotform

Using the Jotform API, you can easily add forms to your website or application.
You can also use the Jotform API to manage your form submissions, gather
insights from your form data, and more.

Here are some examples of what you can build using the Jotform API:

  • A contact form for your website
  • A survey form to collect data from your users
  • A registration form for your events or courses
  • A payment form for your products or services
  • A lead capture form to collect leads from your website visitors

Connect Jotform

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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}`,
      },
    })
  },
})

Connect Hugging Face

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    hugging_face: {
      type: "app",
      app: "hugging_face",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://huggingface.co/api/whoami-v2`,
      headers: {
        Authorization: `Bearer ${this.hugging_face.$auth.access_token}`,
      },
    })
  },
})