← Getform + HTTP / Webhook integrations

Send PUT Request with HTTP / Webhook API on New Submission Received from Getform API

Pipedream makes it easy to connect APIs for HTTP / Webhook, Getform and 1000+ other apps remarkably fast.

Trigger workflow on
New Submission Received from the Getform API
Next, do this
Send PUT Request with the HTTP / Webhook 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 Getform trigger and HTTP / Webhook 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 Received trigger
    1. Connect your Getform account
    2. Configure timer
    3. Configure Form ID
  3. Configure the Send PUT Request action
    1. Connect your HTTP / Webhook account
    2. Configure HTTP Request Configuration
    3. Optional- Configure Include Response Headers
  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 on each new feedback received.
Version:0.0.1
Key:getform-new-submission-received

Getform Overview

Getform allows you to build powerful forms and surveys without code. You can
use Getform to collect leads, orders, feedback, and more. Getform makes it easy
to build forms and surveys that look great and work well.

Here are some examples of what you can build with Getform:

  • A contact form for your website
  • A survey to collect customer feedback
  • An order form for your ecommerce store
  • A lead capture form for your sales team

Trigger Code

import getform from "../../getform.app.mjs";
import { DEFAULT_POLLING_SOURCE_TIMER_INTERVAL } from "@pipedream/platform";

export default {
  name: "New Submission Received",
  version: "0.0.1",
  key: "getform-new-submission-received",
  description: "Emit new event on each new feedback received.",
  type: "source",
  dedupe: "unique",
  props: {
    getform,
    db: "$.service.db",
    timer: {
      type: "$.interface.timer",
      static: {
        intervalSeconds: DEFAULT_POLLING_SOURCE_TIMER_INTERVAL,
      },
    },
    formId: {
      label: "Form ID",
      description: "The form ID",
      type: "string",
    },
  },
  methods: {
    emitEvent(data) {
      this.$emit(data, {
        id: data.id,
        summary: `New submission received with ID ${data.id}`,
        ts: Date.parse(data.submissionDate),
      });
    },
    _setLastSyncDate(date) {
      this.db.set("lastSyncDate", date);
    },
    _getLastSyncDate() {
      return this.db.get("lastSyncDate");
    },
  },
  hooks: {
    async deploy() {
      const { submissions } = await this.getform.getSubmissions({
        params: {
          size: 10,
        },
      });

      submissions.reverse().forEach(this.emitEvent);
    },
  },
  async run() {
    const lastSyncDate = this._getLastSyncDate() ?? (new Date).getTime();
    this._setLastSyncDate((new Date).getTime());

    let page = 1;

    while (true) {
      const { submissions } = await this.getform.getSubmissions({
        params: {
          page,
          size: 100,
        },
      });

      submissions
        .filter((submission) => Date.parse(submission.submissionDate) > lastSyncDate)
        .reverse()
        .forEach(this.emitEvent);

      if (submissions.length < 100) {
        break;
      }

      page++;
    }
  },
};

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
GetformgetformappThis component uses the Getform app.
N/Adb$.service.dbThis component uses $.service.db to maintain state between executions.
timer$.interface.timer
Form IDformIdstring

The form ID

Trigger Authentication

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

You can find your form specific API token under your "Form Settings" page on your form dashboard. More in documentation.

About Getform

Easy form endpoints for your forms

Action

Description:Send an HTTP PUT request to any URL. Optionally configure query string parameters, headers and basic auth.
Version:1.1.1
Key:http-put-request

Action Code

import customRequest from "../custom-request/custom-request.mjs";

export default {
  ...customRequest,
  key: "http-put-request",
  name: "Send PUT Request",
  description: "Send an HTTP PUT request to any URL. Optionally configure query string parameters, headers and basic auth.",
  type: "action",
  version: "1.1.1",
  props: {
    ...customRequest.props,
    /* eslint-disable-next-line pipedream/props-label,pipedream/props-description */
    httpRequest: {
      ...customRequest.props.httpRequest,
      default: {
        method: "PUT",
      },
    },
  },
};

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
HTTP / WebhookhttpappThis component uses the HTTP / Webhook app.
HTTP Request ConfigurationhttpRequesthttp_request
Include Response HeadersincludeHeadersboolean

Optionally export the full response headers

Action Authentication

The HTTP / Webhook API does not require authentication.

About HTTP / Webhook

Get a unique URL where you can send HTTP or webhook requests

More Ways to Connect HTTP / Webhook + Getform

Send any HTTP Request with HTTP / Webhook API on New Submission Received from Getform API
Getform + HTTP / Webhook
 
Try it
Send GET Request with HTTP / Webhook API on New Submission Received from Getform API
Getform + HTTP / Webhook
 
Try it
Send POST Request with HTTP / Webhook API on New Submission Received from Getform API
Getform + HTTP / Webhook
 
Try it
Return HTTP Response with HTTP / Webhook API on New Submission Received from Getform API
Getform + HTTP / Webhook
 
Try it
New Submission Received from the Getform API

Emit new event on each new feedback received.

 
Try it
New Requests from the HTTP / Webhook API

Get a URL and emit the full HTTP event on every request (including headers and query parameters). You can also configure the HTTP response code, body, and more.

 
Try it
New Requests (Payload Only) from the HTTP / Webhook API

Get a URL and emit the HTTP body as an event on every request

 
Try it
New event when the content of the URL changes. from the HTTP / Webhook API

Emit new event when the content of the URL changes.

 
Try it
Send any HTTP Request with the HTTP / Webhook API

Send an HTTP request using any method and URL. Optionally configure query string parameters, headers, and basic auth.

 
Try it
Send GET Request with the HTTP / Webhook API

Send an HTTP GET request to any URL. Optionally configure query string parameters, headers and basic auth.

 
Try it
Send POST Request with the HTTP / Webhook API

Send an HTTP POST request to any URL. Optionally configure query string parameters, headers and basic auth.

 
Try it
Send PUT Request with the HTTP / Webhook API

Send an HTTP PUT request to any URL. Optionally configure query string parameters, headers and basic auth.

 
Try it
Return HTTP Response with the HTTP / Webhook API

Use with an HTTP Source that uses Return a custom response from your workflow as its HTTP Response

 
Try it