Cartaventa

Docs · Prompts to build your proposal

Level 1 · From PDF to HTML

Grab the last proposal you sent as a PDF, upload it to your AI with this prompt, and in ten minutes you’ll have your first Cartaventa document. You don’t rewrite anything: the content stays the same, only the format changes.

It’s the best first exercise because the content is already approved, so all you’re judging is what the format does. It works the same with a .docx, a PowerPoint, or an exported slide deck.

Before you paste the prompt

  • Attach the PDF to your AI. If it can’t read files, copy the text and paste it in.
  • Have the client’s exact name and the date handy.
  • If the PDF has logos or charts that matter, say so: AI doesn’t see images inside a PDF well, and it would rather make something up than ask.

The prompt

Attached is a sales proposal as a PDF. Convert it into a single-page HTML microsite
that I can send the client as a link instead of an attachment.

CONTENT:
- Keep the content exactly as it is: same scope, same pricing, same figures, same
  timelines. Don't invent anything that isn't in the PDF and don't add new sections.
- If anything in the PDF is illegible or ambiguous, do NOT guess: mark it as
  [CHECK: ...] and list every one at the end of your reply.
- Order the content for reading on a screen, not on paper: first the summary and what
  the client gets, then the scope and the approach, and last the pricing and next
  steps.
- If the PDF has a pricing or scope table, keep it as a table.

DESIGN:
- Clean and professional, consulting-style: plenty of white space, large type, a
  single typeface, two accent colors at most.
- A sticky navigation bar at the top, with anchor links (#section) to each section of
  the document.
- A clear heading on every section, so it can be skimmed in 30 seconds.
- Set a descriptive <title>: "Proposal | [client] | [month year]".

DOCUMENT DETAILS:
- Client: [company name]
- Title: [proposal title]
- Date: [month and year]
- Prepared by: [your name], [your company]

FILE REQUIREMENTS (mandatory, no exceptions):
- Give me ONE self-contained .html file, UTF-8, under 5 MB.
- All CSS goes in a <style> tag inside the document. No <link> to external stylesheets.
- All JavaScript goes in a <script> tag inside the document. No <script src="..."> to a CDN or any URL: no external libraries are available (no Chart.js, Tailwind CDN, jQuery, Alpine, React).
- If you need charts, draw them by hand with SVG or <canvas>.
- No iframes or embedded video (YouTube, Vimeo, Loom, Calendly, Maps). Use a regular link instead.
- No forms that submit data. For contact, use mailto: or a WhatsApp link.
- No localStorage, sessionStorage or document.cookie: the document runs on an isolated origin and those calls throw. Keep state in JavaScript variables.
- No alert(), confirm(), prompt() or window.print(): they are blocked. Show messages on the page.
- No password, credit card, bank account, CVV or PIN fields: the document would be rejected when published.
- No "Download PDF" buttons: the document can't create downloads.
- System fonts. If you use a web font, embed it with @font-face inside the <style>.
- Images embedded as base64 (data:) or none. No logos pulled from a URL that could change tomorrow.
- Mobile first: on a 390 px wide screen it must be readable without zooming or horizontal scrolling.
- It must print well: include a basic @media print.
- Keep the document in the language of its content, and set <html lang> to match (lang="en" for English).

Give me the complete .html file, ready to download, and at the end the list of
[CHECK] items.

After the first version

It almost never lands on the first try, and it shouldn’t. These three follow-ups pay off the most:

Good. Now:
1. The pricing is buried. Move it into its own section, with the number large and
   what's included right below it.
2. Add a three-line summary at the top that makes sense without reading the rest.
3. Check that the scope table doesn't overflow the screen on a phone.

Once it’s right, save that file: it’s the input for the next prompt, Your base template.

Common mistakes in this conversion

  • The AI “improves” the numbers. It rounds, updates, fills in what was missing. Check every figure against the PDF before you send it; it’s the one review you can’t skip.
  • It drops the fine print. How long the offer is valid, payment terms, what’s not included. If it was in the PDF, it has to stay.
  • Names spelled wrong. Your contact’s name and their company’s, exactly right. It’s the first thing they see and the first thing they notice.

What’s next

Your base template: turn what you just made into a template you reuse every time.

Next guide Level 2 · Your base template →

Something missing from this guide? Message us on WhatsApp and we’ll fix it. You can also read it in Markdown, ready to paste into your AI, at /en/docs/pdf-to-html.md.