Power Automate: Erstelle ein PDF aus HTML [Ohne Premium]

power automate Create A PDF File From HTML

Erfahre, wie du ohne Verwendung von Premium-Konnektoren mit Power Automate eine PDF-Datei aus HTML erstellen kannst.

Schritt für Schritt: So erstellst du mit Power Automate eine PDF-Datei aus HTML

Power Automate Created PDF 1

Lerne, wie du Schritt für Schritt eine PDF-Datei aus HTML erstellst.

  1. Erstelle einen neuen Power Automate Flow mit manuellem Trigger

    powerautomate create instant flow

    Flow Erstellung

  2. Füge ‚Compose‘ Action hinzu

    Power Automate Add Compose Action

    Compose Action erstellen

  3. Kopiere das HTML in das Input Feld der Compose Action

    Power Automate Copy HTML To Compose Inputs

    HTML einfügen

  4. Füge eine ‚Create file‘ Action hinzu

    Power Automate Create File Action

    Create file

  5. Setze ‚Create file‘ Folder Path, File Name und File Content

    Power Automate Create File Setup

    Create HTML File Konfiguration

  6. Füge eine ‚Convert file using path‘ Action hinzu

    Power Automate Create File Action 1

    Convert file using path

  7. Konfiguriere ‚Create File Action: Folder Path,File Name und File Content

    Power Automate Create File Setup 1

    Create file Konfiguration

  8. Füge einen ‚Convert File using path‘ Action Schritt hinzu

    Power Automate Convert File Using Pathj

    Convert file using path

  9. Konfiguriere ‚Convert file using path‘ File Path und Target Type (PDF)

    power automate pdf convert file

    Konfiguration von ‚Create file using path‘

  10. Füge eine ‚Send an email (V2)‘ Action hinzu

    Power Automate Send an Email Action

    Send an email (V2)

  11. Verschicke das PDF per E-Mail

    Power Automate Send An Email Configuration

    Konfiguration ‚Send an email (V2)‘

HTML für Copy and Paste

<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<style>
    * {
        font-family: Arial;
        font-size: 11px;
    }
    th,td {
        padding:6px;
        text-align: start;
        vertical-align: text-top;
    }

    th{
        max-width: 100px;
        min-width: 100px;
    }
    td{
        max-width: 340px;
        min-width: 340px;
    }
    h3{
        font-size: 20px;
        font-weight: bolder;
        padding-bottom: 4px;
        margin-bottom: 0px;
    }
   td{
        background-color:#f3f3f3;
    }

</style>
 <h3>Sample PDF</h3>
<table>
    <tr>
        <th>First name </th>
        <td>John</td>
        <th>Last name</th>
        <td>Doe</td>
    </tr>
    <tr>
        <th>Age</th>
        <td>27</td>
        <th>Gender</th>
        <td>Male</td>
    </tr>
    <tr>
        <th>Country</th>
        <td>USA</td>
        <th>City</th>
        <td>New York</td>
    </tr>
</table>
</body>
</html>

Kommentar verfassen

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert