Browserless

Powerful browser automation built for developers

Integrate the Browserless API with the HTTP / Webhook API

Setup the Browserless API trigger to run a workflow which integrates with the HTTP / Webhook API. Pipedream's integration platform allows you to integrate Browserless and HTTP / Webhook remarkably fast. Free for developers.

Generate PDF from HTML String with Browserless API on New Requests from HTTP / Webhook API
HTTP / Webhook + Browserless
 
Try it
Take a Screenshot with Browserless API on New Requests from HTTP / Webhook API
HTTP / Webhook + Browserless
 
Try it
Generate PDF from HTML String with Browserless API on New Requests (Payload Only) from HTTP / Webhook API
HTTP / Webhook + Browserless
 
Try it
Take a Screenshot with Browserless API on New Requests (Payload Only) from HTTP / Webhook API
HTTP / Webhook + Browserless
 
Try it
Generate PDF from HTML String with Browserless API on New event when the content of the URL changes. from HTTP / Webhook API
HTTP / Webhook + Browserless
 
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
Generate PDF from HTML String with the Browserless API
 
Try it
Take a Screenshot with the Browserless API
 
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

Connect Browserless

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import puppeteer from 'puppeteer-core@14.1.0';

export default defineComponent({
  props: {
    browserless: {
      type: "app",
      app: "browserless",
    }
  },
  async run({steps, $}) {
    // See the browserless docs for more info:
    // https://www.browserless.io/docs/
    const browser = await puppeteer.connect({ 
      browserWSEndpoint: `wss://chrome.browserless.io?token=${this.browserless.$auth.api_key}` 
    })
    const page = await browser.newPage()
    
    const url = "https://example.com"
    const type = "png"
  
    await page.goto(url)
    const screenshot = await page.screenshot()
    
    // export the base64-encoded screenshot for use in future steps,
    // along with the image type and filename
    $.export("screenshot", Buffer.from(screenshot, 'binary').toString('base64'))
    $.export("type", type)
    $.export("filename",`${url.replace(/[&\/\\#, +()$~%.'":*?<>{}]/g, '_')}-${+new Date()}.${type}`)
    
    await browser.close()
  },
})

Connect HTTP / Webhook

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
export default defineComponent({
  props: {
    http: {
      type: "http_request",
      default: {
        method: "GET",
        url: "http://api.open-notify.org/iss-now.json",
      }
    }
  },
  async run({steps, $}) {
    return await this.http.execute()
  },
})

Community Posts

A Look at Pipedream
A Look at Pipedream
I'm going to build a workflow that will search Twitter every hour for a keyword. It will take the results, format them nicely, and then email it.
Building a Traffic-Based Workflow in Pipedream
Building a Traffic-Based Workflow in Pipedream
Normally I don't like to blog about stuff that isn't generally available to all, but as it will be available sometime soon, I decided to go ahead anyway. And I built something really cool I want to share so that's another reason to talk about this now!