We built a new Function ....
Export any assistant message to a professionally styled Word (.docx) file with full markdown rendering and extensive customization options.
Features 🎨 Professional Document Styling
Configurable page layouts: A4, Letter, Legal, A3, A5 Portrait or landscape orientation Custom margins (top, bottom, left, right in cm) Typography control: body font, heading font, code font, sizes, line spacing Optional header/footer with customizable templates and page numbers 📝 Complete Markdown Support
Inline formatting: bold, italic, strikethrough, code Headings (H1-H6) with custom fonts Tables with styled headers, zebra rows, and configurable colors Code blocks with syntax highlighting and background shading Lists (ordered and unordered) with proper indentation Blockquotes with left border styling Links (clickable hyperlinks) Images (embedded base64 or linked) Horizontal rules as styled borders 🧠 Smart Content Processing
Automatic reasoning removal: strips <details type="reasoning"> blocks Title extraction: uses first H1 heading as document title Message-specific export: export any message, not just the last one Clean filename generation: based on title or timestamp ⚙️ Extensive Configuration All settings are configurable via Valves:
Page Layout
Page size (a4/letter/legal/a3/a5) Orientation (portrait/landscape) Margins (cm) Typography
Body font family & size Heading font family Code font family & size Line spacing Header/Footer
Show/hide header with template: {user} - {date} Page numbers (left/center/right) Content Options
Strip reasoning blocks (on/off) Include title (on/off) Title style (heading/plain) Code Blocks
Background shading (on/off) Background color (hex) Tables
Style (custom/built-in Word styles) Header background & font color (hex) Alternating row background (hex) Images
Max width (inches) 🚀 Usage
Install the action in Open WebUI Configure your preferred settings in the Valves Click the action button below any assistant message Download starts automatically 🔧 Technical Details
Based on: Original work by João Back (sinapse.tech) Improved by: ennoia gmbh () Requirements: python-docx>=1.1.0 Version: 2.0.0 📋 Example Use Cases
Export research summaries with proper formatting Save technical documentation with code blocks and tables Create meeting notes with structured headings Archive conversations without reasoning noise Generate reports with custom branding (fonts, colors) 🎯 Why This Action?
Unlike the original export plugin, this version offers:
✅ Full markdown rendering in all elements (tables, headings, etc.) ✅ Extensive customization via 25+ configuration options ✅ Professional styling with colored tables and zebra rows ✅ Reasoning removal for cleaner exports ✅ Any message export (not just the last one) ✅ Modern page layouts (A4, Letter, Legal, etc.) Perfect for users who need publication-ready Word documents from their AI conversations.