> ## 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.

# [SC1] Generate Social Content Plan

> Generates a weekly LinkedIn posting plan with 3-7 post ideas, each mapped to a content pillar with format recommendations, hooks, and timing.



## OpenAPI

````yaml /api-reference/v1/v1.1.0_openapi.json post /action/social_planner_generate_plan_action
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/social_planner_generate_plan_action:
    post:
      tags:
        - Social Content Team
      summary: '[SC1] Generate Social Content Plan'
      description: >-
        Generates a weekly LinkedIn posting plan with 3-7 post ideas, each
        mapped to a content pillar with format recommendations, hooks, and
        timing.
      operationId: socialPlannerGeneratePlanAction
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                content_pillars:
                  type: string
                  description: >-
                    Comma-separated list of 3-5 content themes (e.g. Leadership,
                    Marketing tips, Customer stories).
                planning_period:
                  type: string
                  enum:
                    - this_week
                    - next_week
                  default: this_week
                specific_topics:
                  type: string
                  x-ui: textarea
                  description: >-
                    Any specific topics, product launches, or events to include
                    this week.
                num_posts:
                  type: string
                  enum:
                    - '3'
                    - '5'
                    - '7'
                  default: '5'
                brand_voice:
                  type: string
                  enum:
                    - professional_authoritative
                    - conversational_relatable
                    - bold_opinionated
                    - warm_supportive
                    - witty_playful
                    - educational_helpful
                performance_context:
                  type: string
                  x-ui: textarea
                  description: >-
                    Optional JSON from Social Performance Analyzer with
                    top_topics, top_formats, recommendations.
                output_variable_name:
                  type: string
                  description: Variable name for the result.
                  default: social_plan
                  pattern: ^[a-zA-Z][a-zA-Z0-9_]*$
              required:
                - content_pillars
                - planning_period
                - num_posts
                - 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))

````