← Jotform + Badger Maps integrations

Create Check-In with Badger Maps API on New Submission (Instant) from Jotform API

Pipedream makes it easy to connect APIs for Badger Maps, Jotform and 1400+ other apps remarkably fast.

Trigger workflow on
New Submission (Instant) from the Jotform API
Next, do this
Create Check-In with the Badger Maps API
No credit card required
Into to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜

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

Adyen logo
Brex logo
Carta logo
Checkr logo
Chameleon logo
DevRev logo
LinkedIn logo
Netflix logo
New Relic logo
OnDeck logo
Replicated logo
Scale AI logo
Teamwork logo
Warner Bros. logo
Xendit logo

Developers Pipedream

Getting Started

This integration creates a workflow with a Jotform trigger and Badger Maps 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 Create Check-In action
    1. Connect your Badger Maps account
    2. Select a Account ID
    3. Optional- Configure Type
    4. Optional- Configure Comments
  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:Creates a check-in. [See the docs](https://badgerupdatedapi.docs.apiary.io/#reference/check-ins/create-check-in-for-account/save-new-check-in-for-an-account).
Version:0.0.1
Key:badger_maps-create-check-in

Action Code

import app from "../../badger_maps.app.mjs";
import utils from "../../common/utils.mjs";

export default {
  key: "badger_maps-create-check-in",
  name: "Create Check-In",
  description: "Creates a check-in. [See the docs](https://badgerupdatedapi.docs.apiary.io/#reference/check-ins/create-check-in-for-account/save-new-check-in-for-an-account).",
  type: "action",
  version: "0.0.1",
  props: {
    app,
    customer: {
      propDefinition: [
        app,
        "accountId",
      ],
    },
    type: {
      type: "string",
      label: "Type",
      description: "The type of check-in. Eg. `Drop-in`.",
      optional: true,
    },
    comments: {
      type: "string",
      label: "Comments",
      description: "Any comments about the check-in.",
      optional: true,
    },
  },
  methods: {
    createCheckIn(args = {}) {
      return this.app.create({
        path: "/appointments/",
        ...args,
      });
    },
  },
  async run({ $: step }) {
    const {
      customer,
      type,
      comments,
    } = this;

    const data = utils.reduceProperties({
      initialProps: {
        customer,
      },
      additionalProps: {
        type,
        comments,
      },
    });

    const response = await this.createCheckIn({
      step,
      data,
    });

    step.export("$summary", `Successfully created check-in 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
Badger MapsappappThis component uses the Badger Maps app.
Account IDcustomerstringSelect a value from the drop down menu.
Typetypestring

The type of check-in. Eg. Drop-in.

Commentscommentsstring

Any comments about the check-in.

Action Authentication

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

To connect Pipedream to Badger Maps, first make sure you've requested API access from the Badger Maps Support team. Once they've enabled API access,

  • Sign in to your Badger Maps account
  • Navigate to your "Settings" at the bottom left
  • Copy your "Developer API Key" and paste it below

About Badger Maps

The #1 Route Planner for Field Sales.

More Ways to Connect Badger Maps + Jotform

Create Account with Badger Maps API on New Submission (Instant) from Jotform API
Jotform + Badger Maps
 
Try it
Get Account with Badger Maps API on New Submission (Instant) from Jotform API
Jotform + Badger Maps
 
Try it
Retrieve Check-Ins with Badger Maps API on New Submission (Instant) from Jotform API
Jotform + Badger Maps
 
Try it
Search User with Badger Maps API on New Submission (Instant) from Jotform API
Jotform + Badger Maps
 
Try it
Update Account with Badger Maps API on New Submission (Instant) from Jotform API
Jotform + Badger Maps
 
Try it
New Submission (Instant) from the Jotform API

Emit new event when a form is submitted

 
Try it
New Check-In Created from the Badger Maps API

Emit new event each time a new check-in is created.

 
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
Create Account with the Badger Maps API

Creates an account. See the docs.

 
Try it
Create Check-In with the Badger Maps API

Creates a check-in. See the docs.

 
Try it

Explore Other Apps

1
-
12
of
1400+
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.
Schedule
Schedule
Trigger workflows on an interval or cron schedule.
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.
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.