Skip to main content

Using BrowserCloud with Make.com

Prerequisites

  • A BrowserCloud account with an API token
  • A Make.com account (free or paid)

Available Endpoints

Screenshot

The /screenshot endpoint allows you to capture screenshots of web pages. Useful for:

  • Visual monitoring of websites
  • Creating thumbnails
  • Documenting web content

HTTP Module Configuration

  1. Add an HTTP module to your scenario
  2. Set Method to POST
  3. Set URL to https://chrome-v2.browsercloud.io/screenshot?token=YOUR_API_TOKEN_HERE
  4. Set Body type to Raw
  5. Set Content type to application/json
  6. Add this JSON to the Request content:
{
"url": "https://www.example.com"
}

PDF Generation

The /pdf endpoint generates PDF documents from web pages. Useful for:

  • Creating printable versions of web content
  • Archiving web pages
  • Generating reports

HTTP Module Configuration

  1. Add an HTTP module to your scenario
  2. Set Method to POST
  3. Set URL to https://chrome-v2.browsercloud.io/pdf?token=YOUR_API_TOKEN_HERE
  4. Set Body type to Raw
  5. Set Content type to application/json
  6. Add this JSON to the Request content:
{
"url": "https://www.example.com"
}

Content Extraction

The /content endpoint extracts HTML content from web pages. Useful for:

  • Web scraping
  • Content analysis
  • Data extraction

HTTP Module Configuration

  1. Add an HTTP module to your scenario
  2. Set Method to POST
  3. Set URL to https://chrome-v2.browsercloud.io/content?token=YOUR_API_TOKEN_HERE
  4. Set Body type to Raw
  5. Set Content type to application/json
  6. Add this JSON to the Request content:
{
"url": "https://www.example.com"
}

Function

The /function endpoint allows you to execute custom JavaScript code in a browser context. Useful for:

  • Custom browser automation
  • Complex data extraction
  • Multi-step workflows

HTTP Module Configuration

  1. Add an HTTP module to your scenario
  2. Set Method to POST
  3. Set URL to https://chrome-v2.browsercloud.io/function?token=YOUR_API_TOKEN_HERE
  4. Set Body type to Raw
  5. Set Content type to application/javascript
  6. Add this JavaScript code to the Request content:
export default async function ({ page }) {
await page.goto("https://example.com/");
const url = await page.content();
const buffer = await page.pdf({ format: "A4" });
const base64PDF = buffer.toString('base64');
const screenshot = await page.screenshot({ encoding: "base64" });

return {
data: {
url,
screenshot,
base64PDF
},
type: "application/json",
};
}