What do you want to automate

with E2B and Cloudflare Browser Rendering?

Prompt, edit and deploy AI agents that connect to E2B, Cloudflare Browser Rendering and 2,500+ other apps in seconds.

Trusted by 1,000,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
Run Code with the E2B API

Run or interpret code using the E2B service. See the documentation

 
Try it
Get HTML Content with the Cloudflare Browser Rendering API

Fetches rendered HTML content from provided URL or HTML. See the documentation

 
Try it
Get PDF with the Cloudflare Browser Rendering API

Fetches rendered PDF from provided URL or HTML. See the documentation

 
Try it
Get Screenshot with the Cloudflare Browser Rendering API

Takes a screenshot of a webpage from provided URL or HTML. See the documentation

 
Try it
Scrape with the Cloudflare Browser Rendering API

Get meta attributes like height, width, text and others of selected elements. See the documentation

 
Try it
Integrate the E2B API with the Cloudflare Browser Rendering API
Setup the E2B API trigger to run a workflow which integrates with the Cloudflare Browser Rendering API. Pipedream's integration platform allows you to integrate E2B and Cloudflare Browser Rendering remarkably fast. Free for developers.

Connect E2B

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import 'dotenv/config';
import { Sandbox } from '@e2b/code-interpreter';

export default defineComponent({
  props: {
    e2b: {
      type: "app",
      app: "e2b",
    }
  },
  async run({steps, $}) {

    const sbx = await Sandbox.create({
        apiKey: this.e2b.$auth.api_key
    }); // By default the sandbox is alive for 5 minutes

    return await sbx.runCode('print("hello world")'); // Execute Python inside the sandbox

  },
})

Connect Cloudflare Browser Rendering

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    cloudflare_browser_rendering: {
      type: "app",
      app: "cloudflare_browser_rendering",
    }
  },
  async run({steps, $}) {
    const data = {
      "url": `https://pipedream.com?via=go`,
    }
    return await axios($, {
      method: "post",
      url: `https://api.cloudflare.com/client/v4/accounts/${this.cloudflare_browser_rendering.$auth.account_id}/browser-rendering/content`,
      headers: {
        Authorization: `Bearer ${this.cloudflare_browser_rendering.$auth.api_token}`,
        "content-type": `application/json`,
      },
      data,
    })
  },
})

Trusted by 1,000,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