← Close + HTTP / Webhook integrations

Send any HTTP Request with HTTP / Webhook API on New Custom Event from Close API

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

Trigger workflow on
New Custom Event from the Close API
Next, do this
Send any HTTP 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 Close 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 Custom Event trigger
    1. Connect your Close account
    2. Configure Object Type
    3. Configure Action
  3. Configure the Send any HTTP 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 when configured type of events triggered, [See all possibilities](https://developer.close.com/resources/event-log/list-of-events/)
Version:0.1.0
Key:close-custom-event

Close Overview

With the Close API, you can build a number of applications and integrations
that can automate your sales process and make your life easier. Here are some
examples:

  • An integration that automatically updates your CRM with information from
    Close
  • A custom sales dashboard that displays your team's sales pipeline and
    performance
  • A lead capture form thatcollects information from potential customers and
    adds them to your Close account
  • An automated email campaign that sends follow-up emails to your customers
    after they purchase a product from you

Trigger Code

import common from "../common.mjs";

export default {
  ...common,
  key: "close-custom-event",
  name: "New Custom Event",
  description: "Emit new event when configured type of events triggered, [See all possibilities](https://developer.close.com/resources/event-log/list-of-events/)",
  version: "0.1.0",
  type: "source",
  dedupe: "unique",
  props: {
    ...common.props,
    objectType: {
      label: "Object Type",
      description: "Object type, e.g. 'lead'",
      type: "string",
    },
    action: {
      label: "Action",
      description: "Name of the action, e.g. 'created'",
      type: "string",
    },
  },
  methods: {
    ...common.methods,
    getEvents() {
      return [
        {
          object_type: this.objectType,
          action: this.action,
        },
      ];
    },
  },
};

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
ClosecloseappThis component uses the Close 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.
N/Adb$.service.dbThis component uses $.service.db to maintain state between executions.
Object TypeobjectTypestring

Object type, e.g. 'lead'

Actionactionstring

Name of the action, e.g. 'created'

Trigger Authentication

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

API keys are per-organization and can be generated and deleted in the Settings page.

About Close

Inside Sales Software CRM with Calling & Emailing

Action

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

Action Code

import http from "../../http.app.mjs";

export default {
  key: "http-custom-request",
  name: "Send any HTTP Request",
  description: "Send an HTTP request using any method and URL. Optionally configure query string parameters, headers, and basic auth.",
  type: "action",
  version: "1.1.1",
  props: {
    http,
    httpRequest: {
      propDefinition: [
        http,
        "httpRequest",
      ],
    },
    includeHeaders: {
      type: "boolean",
      label: "Include Response Headers",
      description: "Optionally export the full response headers",
      optional: true,
    },
  },
  async run({ $ }) {
    const response = await this.httpRequest.execute();

    if (this.includeHeaders) {
      $.export("headers", response.headers);
    }

    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
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 + Close

Send any HTTP Request with HTTP / Webhook API on New Opportunity from Close API
Close + HTTP / Webhook
 
Try it
Send GET Request with HTTP / Webhook API on New Opportunity from Close API
Close + HTTP / Webhook
 
Try it
Send POST Request with HTTP / Webhook API on New Opportunity from Close API
Close + HTTP / Webhook
 
Try it
Send PUT Request with HTTP / Webhook API on New Opportunity from Close API
Close + HTTP / Webhook
 
Try it
Send any HTTP Request with HTTP / Webhook API on New Custom Event from Close API
Close + HTTP / Webhook
 
Try it
New Custom Event from the Close API

Emit new event when configured type of events triggered, See all possibilities

 
Try it
New Lead from the Close API

Emit new event when a new Lead is created

 
Try it
New Lead Status Change from the Close API

Emit new event when a Lead status is changed

 
Try it
New Opportunity from the Close API

Emit new event when a new Opportunity is created

 
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
Create Lead with the Close API

Creates a lead, See the docs

 
Try it
Custom Action with the Close API

Makes an aribitrary call to Close API, See for all options.

 
Try it
Search Leads with the Close API

Searching leads with a given field and word, See the docs

 
Try it
Update Lead with the Close API

Updates a lead, See the docs

 
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