diff --git a/docs/usage.md b/docs/usage.md index f652164da..1e339b61e 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -562,8 +562,8 @@ you may want to adjust these settings to prevent abuse. #### Workflow placeholders -Titles can be assigned by workflows using [Jinja templates](https://jinja.palletsprojects.com/en/3.1.x/templates/). -This allows for complex logic to be used to generate the title, including [logical structures](https://jinja.palletsprojects.com/en/3.1.x/templates/#list-of-control-structures) +Titles and webhook payloads can be generated by workflows using [Jinja templates](https://jinja.palletsprojects.com/en/3.1.x/templates/). +This allows for complex logic to be used, including [logical structures](https://jinja.palletsprojects.com/en/3.1.x/templates/#list-of-control-structures) and [filters](https://jinja.palletsprojects.com/en/3.1.x/templates/#id11). The template is provided as a string. @@ -586,7 +586,7 @@ applied. You can use the following placeholders in the template with any trigger - `{{added_time}}`: added time in HH:MM format - `{{original_filename}}`: original file name without extension - `{{filename}}`: current file name without extension -- `{{doc_title}}`: current document title +- `{{doc_title}}`: current document title (cannot be used in title assignment) The following placeholders are only available for "added" or "updated" triggers