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

# [P3] Process Calendar Event

> Processes raw calendar event data, classifies attendees as internal/external, extracts duration, conference links, and organizer info.



## OpenAPI

````yaml /api-reference/v1/v1.1.0_openapi.json post /action/meeting_prep_process_calendar_event
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/meeting_prep_process_calendar_event:
    post:
      tags:
        - Meeting Prep
      summary: '[P3] Process Calendar Event'
      description: >-
        Processes raw calendar event data, classifies attendees as
        internal/external, extracts duration, conference links, and organizer
        info.
      operationId: meetingPrepProcessCalendarEvent
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                raw_event:
                  type: string
                  x-ui: textarea
                  description: >-
                    The raw calendar event data from Google Calendar API.
                    Usually {{enriched_calendar_event}}.
                  default: '{{enriched_calendar_event}}'
                user_email:
                  type: string
                  description: >-
                    Current user's email for determining internal vs external
                    attendees.
                  default: '{{_google_email}}'
                company_domains:
                  type: string
                  x-ui: textarea
                  description: >-
                    Optional JSON array of internal company domains.
                    Auto-detected if not provided.
                output_variable_name:
                  type: string
                  description: Variable name to store processed event data.
                  default: processed_gcal_event
                  pattern: ^[a-zA-Z][a-zA-Z0-9_]*$
              required:
                - raw_event
                - user_email
                - 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))

````