What can you do with it?

The /nice-formatting command enables you to transform automation step outputs into clean, human-readable HTML format. You can convert raw data, JSON responses, or complex outputs into well-structured presentations that are easy to read and understand, perfect for reports or sharing results with non-technical users.

How to use it?

Basic Command Structure

/nice-formatting [content]

Parameters

Required:

  • content - The data or output to format

Optional:

  • style - Visual style: clean, simple, or detailed (defaults to clean)
  • include_headers - Add section headers (true/false)
  • highlight - Highlight specific values or patterns

Response Format

The command returns:

<div class="formatted-output">
    <h2>Section Title</h2>
    <table>
        <tr><td>Key</td><td>Value</td></tr>
    </table>
    <p>Formatted content</p>
</div>

Examples

Basic Usage

/nice-formatting
content: [raw JSON data from previous step]

Converts raw JSON data into a clean HTML table format.

Advanced Usage

/nice-formatting
content: [complex API response]
style: detailed
include_headers: true
highlight: error, warning

Formats a complex API response with detailed styling, section headers, and highlighted error messages.

Specific Use Case

/nice-formatting
content: [database query results]
style: simple

Transforms database query results into a simple, readable HTML table for easy review.

Notes

Output Format:

  • Always returns clean HTML
  • Uses tables for structured data
  • Applies simple, readable styling
  • Suitable for email or web display