> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agent.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Render LinkedIn Sentiment Report

> Renders a polished HTML sentiment report from LinkedIn post data. No LLM required — uses Jinja2 templates for fast, deterministic rendering with sentiment badges, engagement stats, and author cards.



## OpenAPI

````yaml /api-reference/v1/v1.1.0_openapi.json post /action/linkedin_sentiment_render_report_html
openapi: 3.0.0
info:
  version: 1.1.0
  title: AI Actions - Get Data
  description: API specifications for 'Get Data' category AI actions.
  license:
    name: MIT
servers:
  - url: https://api-lr.agent.ai/v1
security:
  - bearerAuth: []
paths:
  /action/linkedin_sentiment_render_report_html:
    post:
      tags:
        - Integration Intelligence
      summary: Render LinkedIn Sentiment Report
      description: >-
        Renders a polished HTML sentiment report from LinkedIn post data. No LLM
        required — uses Jinja2 templates for fast, deterministic rendering with
        sentiment badges, engagement stats, and author cards.
      operationId: linkedinSentimentRenderReportHtml
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                posts_json:
                  type: string
                  x-ui: textarea
                  description: >-
                    JSON array of LinkedIn post objects (from the Search
                    LinkedIn Posts action output), or a variable reference like
                    {{linkedin_posts}}.
                  default: '{{linkedin_posts}}'
                sentiments:
                  type: string
                  x-ui: textarea
                  description: >-
                    Optional JSON object mapping postId to sentiment label (e.g.
                    {"postId123": "Positive"}). If omitted, sentiment is
                    auto-classified from post content.
                report_title:
                  type: string
                  description: Title displayed at the top of the report.
                  default: LinkedIn Post Sentiment Analysis
                output_variable_name:
                  type: string
                  description: Variable name to store the rendered HTML report.
                  default: sentiment_report_html
                  pattern: ^[a-zA-Z][a-zA-Z0-9_]*$
              required:
                - posts_json
                - output_variable_name
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionResponse'
        '401':
          description: Unauthorized - invalid or missing bearer token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionResponse'
components:
  schemas:
    ActionResponse:
      type: object
      properties:
        status:
          type: integer
          format: int32
          description: HTTP status code of the action response
        response:
          type: object
          description: Response data from the action
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Bearer token from your account
        ([https://agent.ai/user/integrations#api](https://agent.ai/user/integrations#api))

````