Type identifier:
text:contentToTextCategory: Text Operations
Converts rich content to serialised output. By default it serialises to plain text, and it can optionally serialise to HTML. Any included media is converted to pre-signed URLs for access.
Handle | Data Type | Required | Description |
|---|---|---|---|
|
| Yes | Rich content to serialise |
contentContentNotes:
Handle | Data Type | Description |
|---|---|---|
|
| Serialised text or HTML output |
|
| Triggered on conversion error |
textstringNotes:
text format preserves text content and removes formattinghtml format preserves content structure as HTMLProperty | Type | Required | Default | Description |
|---|---|---|---|---|
|
| Yes |
| Display label for the node |
|
| No |
| Serialisation output format |
content input handletext or html)format: "text")Content Node | Text Output |
|---|---|
| Text with newlines |
| Heading text with newlines |
| Item text |
| Link text (URL may be included) |
| Pre-signed URL |
| Code text |
Text marks (bold, italic) | Plain text (marks removed) |
format: "html")Scenario | Behaviour |
|---|---|
Invalid content structure | Throws error, triggers |
Media URL signing fails | Triggers |
{
"type": "text:contentToText",
"data": {
"label": "Extract Text"
}
}{
"type": "text:contentToText",
"data": {
"label": "Convert Article Content"
}
}Connect a Record's content field to extract plain text.
{
"type": "text:contentToText",
"data": {
"label": "Convert Article Content",
"format": "html"
}
}This preserves rich formatting and structure in HTML output.
{
"type": "text:contentToText",
"data": {
"label": "Index Content"
}
}Convert rich content to plain text for full-text search indexing.