Hi everyone,
I'm building a Monday Code application that generates proposal PDFs.
Currently, my application works like this:
- Generate a proposal in React (HTML)
- Capture the generated HTML
- Send it to the backend
- Use Puppeteer to render the HTML into a PDF
- Merge additional PDF documents
- Upload the final PDF back to monday.com
This workflow works locally.
However, after deploying to Monday Code, Puppeteer is unable to launch Chromium.
My backend currently uses Puppeteer similar to this:
const browser = await puppeteer.launch({
headless: true
});
const page = await browser.newPage();
await page.setContent(html);
const pdf = await page.pdf({
format: "A4",
printBackground: true
});
await browser.close();The issue appears to be that Chromium cannot start inside the Monday Code runtime.
My questions are:
- Is Puppeteer officially supported in Monday Code?
- Is Chromium available in the Monday Code runtime?
- If not, is there a recommended approach for server-side HTML → PDF generation?
- Has anyone successfully used Puppeteer or Playwright inside Monday Code?
- Are there any runtime limitations or native libraries that prevent browser automation?
My application requires a real PDF Blob because I also:
- Merge multiple PDFs into one document
- Upload the merged PDF to a monday Files column
- Automatically download the generated proposal
Using the browser print dialog is not sufficient for my use case.
If Puppeteer is not supported, I'd appreciate recommendations for the best alternative that works within Monday Code.
Thanks!