Convert HTML table to CSV
Description
This action converts an HTML table into a CSV format.
Input Arguments
Input Argument | Type | Description | Required? | Advanced Option? | Default |
---|---|---|---|---|---|
HTML | HTML | The HTML content containing the table to be converted. | ✔️ | ❌ | - |
Separator | String | Separator (delimiter of the fields) | ❌ | ❌ | ; |
Output
Response | Type | Description |
---|---|---|
First CSV table respone | String | The converted table as CSV text, with values separated using the specified delimiter. |
All CSV table response Item | Array | A list of CSV strings for all tables found in the HTML input. Each item in the array represents one table. |
Power Automate Examples
Convert HTML Table to CSV
You provide HTML code that contains one or more <table>
elements.
You can also specify a separator (e.g., ;
or ,
) that will be used to separate values in the CSV.
HTML table
<table border = "1">
<tr>
<th>Company</th>
<th>Contact</th>
<th>Country</th>
</tr>
<tr>
<td>Alfreds Futterkiste</td>
<td>Maria Anders</td>
<td>Germany</td>
</tr>
<tr>
<td>Centro comercial Moctezuma</td>
<td>Francisco Chang</td>
<td>Mexico</td>
</tr>
</table>
💡
Looking for the response to this example? Scroll up to see the Output tab.
Known Limitations
⚠️
If you experienced other limitations please get in touch with us!