Make - PDF Generation

The SOP contains a video that demonstrates how to generate a PDF using URLBOX in Glide. It covers the importance of having a correct template, CSS values, creating a JSON object with specific details, making an API call, and receiving the response with the generated PDF.

Step by step guide

https://docs.lowcode.agency/recordings/7ZqTQ7mMpmSQ9mwIWpp7?uploadId=vTyQMPVwtYzDTg8RR7ox


Code

JSON

{
 
"format": "pdf",
 
"height": "792",
 
"width": "612",
 
"pdf_page_size": "letter",
 
"download": "[downloadName].pdf",
 
"webhook_url": "https://hook.us1.make.com/[webhookId]",
 
"html": "[htmlTemplate]"
 
}

HTML

<!DOCTYPE html>
<html lang="en">
 
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>[documentName]</title>
<style>
body {
font-family: Arial, sans-serif;
width: 100%;
max-width: 8.5in;
margin: 0 auto;
padding: 20px;
transform: scale(0.95);
transform-origin: top left;
}
 
table {
border-collapse: collapse;
width: 100%;
}
</style>
</head>
 
<body>
<div style="width: 100%;">
<p style="text-align: center;"> Your content here</p>
</div>
</body>
 
</html>

Was this article helpful?
© 2025 LowCode Internal Docs