← Jotform + GoDial integrations

Add Member with GoDial API on New Submission (Instant) from Jotform API

Pipedream makes it easy to connect APIs for GoDial, Jotform and 1,600+ other apps remarkably fast.

Trigger workflow on
New Submission (Instant) from the Jotform API
Next, do this
Add Member with the GoDial API
No credit card required
Intro to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜

Trusted by 750,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo

Developers Pipedream

Getting Started

This integration creates a workflow with a Jotform trigger and GoDial action. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Select this integration
  2. Configure the New Submission (Instant) trigger
    1. Connect your Jotform account
    2. Select a Form
    3. Optional- Configure Encrypted
  3. Configure the Add Member action
    1. Connect your GoDial account
    2. Select one or more Teams ID
    3. Configure Name
    4. Optional- Configure Email
    5. Configure Username
    6. Configure Password
    7. Select a Role
  4. Deploy the workflow
  5. Send a test event to validate your setup
  6. Turn on the trigger

Details

This integration uses pre-built, source-available components from Pipedream's GitHub repo. These components are developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

Trigger

Description:Emit new event when a form is submitted
Version:0.1.2
Key:jotform-new-submission

Jotform Overview

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

Trigger Code

import jotform from "../../jotform.app.mjs";
import sampleEmit from "./test-event.mjs";

export default {
  key: "jotform-new-submission",
  name: "New Submission (Instant)",
  description: "Emit new event when a form is submitted",
  version: "0.1.2",
  type: "source",
  dedupe: "unique",
  props: {
    jotform,
    http: "$.interface.http",
    formId: {
      propDefinition: [
        jotform,
        "formId",
      ],
    },
    encrypted: {
      propDefinition: [
        jotform,
        "encrypted",
      ],
      reloadProps: true,
    },
  },
  async additionalProps() {
    const props = {};
    if (this.encrypted) {
      props.privateKey = jotform.propDefinitions.privateKey;
    }
    return props;
  },
  hooks: {
    async deploy() {
      const { content: form } = await this.jotform.getForm(this.formId);
      const { content: submissions } = await this.jotform.getFormSubmissions({
        formId: this.formId,
        params: {
          limit: 25,
          orderby: "created_at",
        },
      });
      for (let submission of submissions.reverse()) {
        if (this.encrypted) {
          submission = this.jotform.decryptSubmission(submission, this.privateKey);
        }
        const meta = {
          id: submission.id,
          summary: form.title,
          ts: Date.now(),
        };
        this.$emit(submission, meta);
      }
    },
    async activate() {
      return (await this.jotform.createHook({
        endpoint: this.http.endpoint,
        formId: this.formId,
      }));
    },
    async deactivate() {
      return (await this.jotform.deleteHook({
        endpoint: this.http.endpoint,
        formId: this.formId,
      }));
    },
  },
  async run(event) {
    const { body } = event;
    let { content: submission } = await this.jotform.getFormSubmission({
      submissionId: body.submissionID,
    });

    // insert answers from the webhook event
    const rawRequest = JSON.parse(body.rawRequest);
    for (const key of Object.keys(rawRequest)) {
      const regex = /^q(\d+)_/;
      const match = key.match(regex);
      if (match && match[1]) {
        submission.answers[match[1]].answer = rawRequest[key];
      }
    }

    if (this.encrypted) {
      submission = this.jotform.decryptSubmission(submission, this.privateKey);
    }

    this.$emit(submission, {
      summary: body.formTitle || JSON.stringify(body),
      id: body.submissionID,
      ts: Date.now(),
    });
  },
  sampleEmit,
};

Trigger Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
LabelPropTypeDescription
JotformjotformappThis component uses the Jotform app.
N/Ahttp$.interface.httpThis component uses $.interface.http to generate a unique URL when the component is first instantiated. Each request to the URL will trigger the run() method of the component.
FormformIdstringSelect a value from the drop down menu.
Encryptedencryptedboolean

Are the form responses encrypted? Set to true to decrypt responses.

Trigger Authentication

Jotform uses API keys for authentication. When you connect your Jotform account, Pipedream securely stores the keys so you can easily authenticate to Jotform APIs in both code and no-code steps.

  1. Get your Jotform API key. The API key must grant Pipedream Full Permissions. Pipedream requires this level of access to automatically register webhooks for your selected forms so you can trigger Pipedream workflows on form submissions.

apikey

  1. For the region field, enter api if none of the below apply.
  • If "Europe Datacenter" is selected in the "Data" section of your Jotform account, enter eu-api
  • If your account is HIPAA-compliant, enter hipaa-api
  • If you have an Enterprise Jotform account, enter the subdomain (if your Jotform URL is https://acmecompany.jotform.com, your subdomain is acmecompany)

About Jotform

Online form builder for business

Action

Description:Adds a member. [See docs here](https://godial.stoplight.io/docs/godial/b3A6MzAzMTY1Ng-accounts-add)
Version:0.0.1
Key:godial-add-member

GoDial Overview

The GoDial API can be used to build a variety of applications, including:

  • A dialer application to make phone calls
  • A VoIP application to make calls over the internet
  • A call center application to manage customer calls
  • An IVR system to manage phone calls for businesses

Action Code

import { ConfigurationError } from "@pipedream/platform";
import godial from "../../app/godial.app.mjs";
import constants from "../common/constants.mjs";

export default {
  name: "Add Member",
  version: "0.0.1",
  key: "godial-add-member",
  description: "Adds a member. [See docs here](https://godial.stoplight.io/docs/godial/b3A6MzAzMTY1Ng-accounts-add)",
  type: "action",
  props: {
    godial,
    teamsId: {
      label: "Teams ID",
      type: "string[]",
      propDefinition: [
        godial,
        "teamId",
      ],
    },
    name: {
      type: "string",
      label: "Name",
      description: "The name of the member to add",
    },
    email: {
      type: "string",
      label: "Email",
      description: "The email of the member to add",
      optional: true,
    },
    username: {
      type: "string",
      label: "Username",
      description: "The username of the member to add",
    },
    password: {
      type: "string",
      label: "Password",
      description: "The password of the member to add",
      secret: true,
    },
    role: {
      type: "string",
      label: "Role",
      description: "The role of the member to add",
      options: constants.ROLES,
    },
  },
  async run({ $ }) {
    console.log(this.teamsId);
    this.teamsId = typeof this.teamsId === "string"
      ? JSON.parse(this.teamsId)
      : this.teamsId;

    if (!this.teamsId || !this.teamsId?.length) {
      throw new ConfigurationError("TeamsId is required");
    }

    const response = await this.godial.addMember({
      $,
      data: {
        teamsId: this.teamsId,
        name: this.name,
        email: this.email,
        username: this.username,
        password: this.password,
        role: this.role,
      },
    });

    if (response) {
      $.export("$summary", `Successfully added member with ID ${response.id}`);
    }

    return response;
  },
};

Action Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI.

LabelPropTypeDescription
GoDialgodialappThis component uses the GoDial app.
Teams IDteamsIdstring[]Select a value from the drop down menu.
Namenamestring

The name of the member to add

Emailemailstring

The email of the member to add

Usernameusernamestring

The username of the member to add

Passwordpasswordstring

The password of the member to add

RolerolestringSelect a value from the drop down menu:ManagerSubManagerAgent

Action Authentication

GoDial uses API keys for authentication. When you connect your GoDial account, Pipedream securely stores the keys so you can easily authenticate to GoDial APIs in both code and no-code steps.

To retrieve your API Token,

  • Navigate to your GoDial account and sign in
  • Go to “Integration” > “External API” > “Connect”

About GoDial

GoDial is a mobile app to help increase sales. Simple import your contact lists. Auto dial calls. Save call status. Schedule Callbacks. Add Notes.

More Ways to Connect GoDial + Jotform

Add Contact with GoDial API on New Submission (Instant) from Jotform API
Jotform + GoDial
 
Try it
Get Form Submissions with Jotform API on New Updated Contact from GoDial API
GoDial + Jotform
 
Try it
Get Monthly User Usage with Jotform API on New Updated Contact from GoDial API
GoDial + Jotform
 
Try it
Get User Submissions with Jotform API on New Updated Contact from GoDial API
GoDial + Jotform
 
Try it
New Submission (Instant) from the Jotform API

Emit new event when a form is submitted

 
Try it
New Updated Contact from the GoDial API

Emit new event on a contact is updated.

 
Try it
Get Form Submissions with the Jotform API

Gets a list of form responses See the docs here

 
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
Get User Submissions with the Jotform API

Gets a list of all submissions for all forms on the account See the docs here

 
Try it
Add Contact with the GoDial API

Adds a contact. See docs here

 
Try it
Add Member with the GoDial API

Adds a member. See docs here

 
Try it

Explore Other Apps

1
-
12
of
1,600+
apps by most popular

HTTP / Webhook
HTTP / Webhook
Get a unique URL where you can send HTTP or webhook requests
Node
Node
Anything you can do with Node.js, you can do in a Pipedream workflow. This includes using most of npm's 400,000+ packages.
Beta
Python
Python
Anything you can do in Python can be done in a Pipedream Workflow. This includes using any of the 350,000+ PyPi packages available in your Python powered workflows.
Schedule
Schedule
Trigger workflows on an interval or cron schedule.
Beta
Data Stores
Data Stores
Use Pipedream Data Stores to manage state throughout your workflows.
Telegram Bot
Telegram Bot
Telegram is a cloud-based instant messaging and voice over IP service
OpenAI (ChatGPT)
OpenAI (ChatGPT)
OpenAI is an AI research and deployment company with the mission to ensure that artificial general intelligence benefits all of humanity. They are the makers of popular apps like ChatGPT and DALL·E 2.
Google Sheets
Google Sheets
With Google Sheets, you can create, edit, and collaborate wherever you are
Discord
Discord
Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
GitHub
GitHub
Where the world builds software. Millions of developers and companies build, ship, and maintain their software on GitHub—the largest and most advanced development platform in the world.
Formatting
Formatting
Pre-built actions to make formatting and manipulating data within your workflows easier.
Slack
Slack
Slack is a channel-based messaging platform. With Slack, people can work together more effectively, connect all their software tools and services, and find the information they need to do their best work — all within a secure, enterprise-grade environment.