Skip to content

feat(luma): add Luma integration for event and guest management#3364

Merged
waleedlatif1 merged 3 commits intostagingfrom
waleedlatif1/add-luma-integration
Feb 27, 2026
Merged

feat(luma): add Luma integration for event and guest management#3364
waleedlatif1 merged 3 commits intostagingfrom
waleedlatif1/add-luma-integration

Conversation

@waleedlatif1
Copy link
Collaborator

@waleedlatif1 waleedlatif1 commented Feb 27, 2026

Summary

  • Add complete Luma (lu.ma) integration with 6 tools: get event, create event, update event, list calendar events, get guests, and add guests
  • Block configuration includes wandConfig for timestamps/timezones/durations, advanced mode for optional fields, and conditional visibility per operation
  • Generated documentation with manual intro section

Test plan

  • Verify block renders correctly in the workflow editor with all 6 operations
  • Test each operation dropdown shows/hides the correct fields
  • Verify advanced mode fields (duration, meeting URL, cover URL, pagination, sorting) toggle correctly
  • Test wandConfig generation for timestamp, timezone, duration, and guest JSON fields
  • Test API calls against Luma sandbox/live API with valid API key

@vercel
Copy link

vercel bot commented Feb 27, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment Feb 27, 2026 3:10am

Request Review

@greptile-apps
Copy link
Contributor

greptile-apps bot commented Feb 27, 2026

Greptile Summary

This PR adds a complete Luma integration with 6 tools for event and guest management. The implementation follows established patterns with proper type safety, API key handling using user-only visibility, and comprehensive block configuration.

Key Changes:

  • 6 Luma tools: get_event, create_event, update_event, list_events, get_guests, add_guests
  • Block configuration: Operation-based routing with conditional field visibility and advanced mode for optional parameters
  • WandConfig integration: AI-assisted input for timestamps, timezones, durations, and guest JSON arrays with clear prompts and examples
  • Type definitions: Well-structured TypeScript types with proper snake_case to camelCase mapping for API responses
  • Documentation: Complete MDX documentation with manual intro and auto-generated tool reference tables
  • Error handling: Robust JSON parsing in add_guests with fallback to single email format

Implementation Quality:

  • All tools correctly use user-only visibility for API keys (compliant with custom instructions)
  • Proper conditional field inclusion in create/update operations (only sends provided fields)
  • Consistent response parsing pattern across all tools
  • Clean separation between types, tools, block config, and documentation
  • Tools and blocks properly registered in their respective registries

The integration is production-ready with no critical issues identified.

Confidence Score: 5/5

  • This PR is safe to merge with minimal risk
  • Score reflects thorough implementation following established patterns, proper type safety, correct API key visibility settings, comprehensive documentation, and no identified bugs or security issues
  • No files require special attention

Important Files Changed

Filename Overview
apps/sim/tools/luma/types.ts Well-structured type definitions for Luma integration with proper TypeScript types and output properties
apps/sim/tools/luma/get_event.ts Correctly implements get event tool with proper API call, response parsing, and user-only API key visibility
apps/sim/tools/luma/create_event.ts Proper event creation with conditional field inclusion and correct response transformation
apps/sim/tools/luma/update_event.ts Update event tool correctly implements partial updates with proper field filtering
apps/sim/tools/luma/list_events.ts List events with pagination, filtering, and sorting correctly implemented with proper response mapping
apps/sim/tools/luma/get_guests.ts Guest list retrieval with filtering and pagination properly implemented
apps/sim/tools/luma/add_guests.ts Add guests tool with robust JSON parsing fallback and proper error handling
apps/sim/blocks/blocks/luma.ts Comprehensive block config with 6 operations, conditional field visibility, advanced mode, and well-crafted wandConfig prompts

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    Start[User configures Luma block] --> Operation{Select Operation}
    
    Operation -->|Get Event| GetEvent[luma_get_event]
    Operation -->|Create Event| CreateEvent[luma_create_event]
    Operation -->|Update Event| UpdateEvent[luma_update_event]
    Operation -->|List Events| ListEvents[luma_list_events]
    Operation -->|Get Guests| GetGuests[luma_get_guests]
    Operation -->|Add Guests| AddGuests[luma_add_guests]
    
    GetEvent --> API1[GET /v1/event/get]
    CreateEvent --> API2[POST /v1/event/create]
    UpdateEvent --> API3[POST /v1/event/update]
    ListEvents --> API4[GET /v1/calendar/list-events]
    GetGuests --> API5[GET /v1/event/get-guests]
    AddGuests --> API6[POST /v1/event/add-guests]
    
    API1 --> Parse1[Parse event + hosts]
    API2 --> Parse2[Parse event + hosts]
    API3 --> Parse3[Parse event + hosts]
    API4 --> Parse4[Parse events array]
    API5 --> Parse5[Parse guests array]
    API6 --> Parse6[Parse guests array]
    
    Parse1 --> Output[Return to workflow]
    Parse2 --> Output
    Parse3 --> Output
    Parse4 --> Output
    Parse5 --> Output
    Parse6 --> Output
Loading

Last reviewed commit: 62ad76d

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

16 files reviewed, 2 comments

Edit Code Review Agent Settings | Greptile

@waleedlatif1
Copy link
Collaborator Author

@cursor review

@waleedlatif1
Copy link
Collaborator Author

@greptile

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

waleedlatif1 and others added 3 commits February 26, 2026 19:07
Add complete Luma (lu.ma) integration with 6 tools: get event, create event,
update event, list calendar events, get guests, and add guests. Includes block
configuration with wandConfig for timestamps/timezones/durations, advanced mode
for optional fields, and generated documentation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Remove hosts field from list_events transformResponse (not in LumaEventEntry type)
- Fix truncated add_guests description by removing quotes that broke docs generator

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Use 'id' instead of 'event_id' in update_event request body per API spec
- Fix add_guests to parse entries[].guest response structure instead of flat guests array

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@waleedlatif1 waleedlatif1 force-pushed the waleedlatif1/add-luma-integration branch from 62ad76d to dd145c0 Compare February 27, 2026 03:08
@waleedlatif1 waleedlatif1 merged commit 50b882a into staging Feb 27, 2026
5 of 6 checks passed
@waleedlatif1 waleedlatif1 deleted the waleedlatif1/add-luma-integration branch February 27, 2026 03:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant