For the complete documentation index, see llms.txt. This page is also available as Markdown.

HTML

Overview of the Html integration.

The following documentation is for Html v1.14.1.

Overview

This integration provides automation capabilities for Html, enabling streamlined workflows and enhanced productivity. Connect your processes with Html to automate routine tasks and improve operational efficiency.

Setup

The following integrations need to be connected to your Kognitos workspace:

  • Html

Steps

Follow these steps to connect the integration in Kognitos:

1

Using the left navigation menu, go to Integrations → Explore Integrations.

2

Find

Search for the integration and click on it.

3

Connect

Click on Connect to add a connection to the integration.

4

Configure

Add a name for the connection. You'll be prompted for authentication details if needed. Then, click on Connect.

Actions

The following actions are available in the Html integration:

1. Convert the html file to a pdf

Converts an HTML file to a PDF file using LibreOffice.

2. Create an html document from markdown

Creates a full HTML document from Markdown text.

3. Create an html document

Creates a full HTML document by wrapping a body HTML string.

4. Create an html table

Creates a full HTML document containing a table.

5. Extract html elements by selector

Extracts text content of HTML elements matching a CSS selector.

Extracts all hyperlinks from an HTML file.

7. Extract tables from the html file

Extracts all tables from an HTML file as nested lists.

8. Fill an html template

Fills a Jinja2 HTML template with provided data.

9. Get the html file's metadata

Reads metadata from an HTML document's head.

10. Inject content into the html file

Appends HTML content to an element matched by a CSS selector.

11. Read the html file as markdown

Reads an HTML file as Markdown text.

12. Read the html file as text

Reads an HTML file as plain text by stripping all tags.

Concepts

A hyperlink extracted from an HTML document.

Field Name
Description
Type

text

The visible link text

text

url

The href URL

text

title

The optional title attribute

optional[text]

Html metadata

Metadata extracted from an HTML document's head.

Field Name
Description
Type

title

The document title

optional[text]

description

The meta description

optional[text]

keywords

The meta keywords

optional[text]

charset

The declared character set

optional[text]

language

The html lang attribute

optional[text]

Last updated

Was this helpful?