Skip to main content
POST
/
action
/
enrich_calendar_event
Enrich Calendar Event
curl --request POST \
  --url https://api-lr.agent.ai/v1/action/enrich_calendar_event \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "calendar_provider": "googlecalendar",
  "event_id": "<string>",
  "output_variable_name": "<string>",
  "calendar_id": "<string>",
  "include_attendees": true,
  "include_description": true,
  "include_transcript": true,
  "include_ai_insights": true,
  "scrape_context_documents": true
}
'
{
  "status": 123,
  "response": {}
}

Authorizations

Authorization
string
header
required

Bearer token from your account (https://agent.ai/user/integrations#api)

Body

application/json
calendar_provider
enum<string>
default:googlecalendar
required

Calendar service to use. Supports Google Calendar and Outlook Calendar.

Available options:
googlecalendar,
outlook
event_id
string
required

The calendar event ID to enrich (e.g., from the Get Calendar Events List action).

output_variable_name
string
required

Provide a variable name to store the enriched event data, like 'enriched_event' or 'meeting_details'.

Pattern: ^[a-zA-Z][a-zA-Z0-9_]*$
calendar_id
string

The calendar ID where the event is located. Required for Outlook Calendar events.

include_attendees
boolean
default:true

Include attendee information (names, emails, response status).

include_description
boolean
default:true

Include the event description and agenda.

include_transcript
boolean
default:true

Include the full meeting transcript if available.

include_ai_insights
boolean
default:true

Include AI-generated summary, action items, and key decisions.

scrape_context_documents
boolean
default:true

Automatically scrape and include text from any URLs/documents mentioned in the event description.

Response

Successful response

status
integer<int32>

HTTP status code of the action response

response
object

Response data from the action