Change: skip documents with empty content in apply AI suggestions WF

This commit is contained in:
shamoon
2026-09-04 14:03:59 -07:00
parent 59e8ebd42c
commit 51a081b30e
3 changed files with 45 additions and 1 deletions
+2 -1
View File
@@ -684,7 +684,8 @@ It requires [AI features](configuration.md#ai) to be enabled. You can specify:
never replace the document's existing tags.
The action works with every trigger **except Consumption Started**, because suggestions are made from
the document's text, which does not exist until after the document has been processed.
the document's text, which does not exist until after the document has been processed. Documents whose
processed text is empty or contains only whitespace are skipped.
Because the query to the AI service is slow, the action is queued and runs in the background rather
than as part of the workflow run itself. The document is updated once the suggestions come back.