← Jotform + Short.io integrations

Delete a Short Link with Short.io API on New Submission (Instant) from Jotform API

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

Trigger workflow on
New Submission (Instant) from the Jotform API
Next, do this
Delete a Short Link with the Short.io 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 Short.io 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 Delete a Short Link action
    1. Connect your Short.io account
    2. Select a Link
  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:Delete a Short Link. [See the docs](https://developers.short.io/reference/linksbylinkiddelete).
Version:0.0.1
Key:short-delete-a-link

Short.io Overview

With the Short.io API, you can create powerful links for a variety of
use-cases. It is possible to shorten, brand, measure, and even monetize your
links.

Here is a list of uses for the Short.io API:

  • Shorten URLs – Create shortened URLs you can share on social media, web
    pages, and other places where you want a clean, concise link.
  • Brand Links – Create SEO-friendly branded links with custom domains and
    analytics tracking.
  • Measure Performance – Analyze ROI and user engagement via links in app
    notifications, emails, SMS, etc.
  • Monetize Your Links – Monetize traffic with pay-per-click advertising links,
    affiliate programs, and subscription services.
  • Automation – Automatically shorten URLs for SEO purposes, or for integrating
    into other websites and services.
  • Track & Report – Get real-time statistics about link performance, as well as
    performance on integrated services.
  • Security & Privacy – Secure your links with password protection and UTM
    parameters to better protect your data.

Action Code

import shortApp from "../../short.app.mjs";

export default {
  key: "short-delete-a-link",
  name: "Delete a Short Link",
  description: "Delete a Short Link. [See the docs](https://developers.short.io/reference/linksbylinkiddelete).",
  version: "0.0.1",
  type: "action",
  props: {
    shortApp,
    shortLink: {
      propDefinition: [
        shortApp,
        "link",
      ],
    },
  },
  async run({ $ }) {
    const url = new URL(this.shortLink);
    const domain = url.host;
    const path = url.pathname.split("/").join("");
    const linkInfo = await this.shortApp.getLinkInfo(domain, path);

    const response = await this.shortApp.deleteLink($, linkInfo.idString);
    $.export("$summary", `Successfully deleted the link: ${linkInfo.idString}`);
    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
Short.ioshortAppappThis component uses the Short.io app.
LinkshortLinkstringSelect a value from the drop down menu.

Action Authentication

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

Get your secret key here.

About Short.io

White label URL Shortener

More Ways to Connect Short.io + Jotform

Create a Short Link with Short.io API on New Submission (Instant) from Jotform API
Jotform + Short.io
 
Try it
Expire a Link. with Short.io API on New Submission (Instant) from Jotform API
Jotform + Short.io
 
Try it
Domain Statistics. with Short.io API on New Submission (Instant) from Jotform API
Jotform + Short.io
 
Try it
Update a Short Link. with Short.io API on New Submission (Instant) from Jotform API
Jotform + Short.io
 
Try it
Get Form Submissions with Jotform API on New event for each link created. from Short.io API
Short.io + Jotform
 
Try it
New Submission (Instant) from the Jotform API

Emit new event when a form is submitted

 
Try it
New event for each link created. from the Short.io API

Emit new event when a link 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 a Short Link with the Short.io API

Create a Short Link. See the docs.

 
Try it
Delete a Short Link with the Short.io API

Delete a Short Link. See the docs.

 
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.