Skip to content

Conversation

@Alek99
Copy link
Member

@Alek99 Alek99 commented Dec 17, 2025

Summary

This PR replaces the Cal.com redirect with an inline iframe embed in the demo form dialog.

Changes

  • Inline Cal.com embed: Calendar now appears directly in the dialog instead of redirecting
  • Pre-filled form fields: User's name, email, and notes are automatically populated in the calendar
  • Auto-close on booking: Dialog closes automatically after successful booking confirmation
  • Unify analytics: Added user identification tracking with status attributes
  • Slack notifications: Demo requests trigger Slack webhook notifications
  • Simplified init script: Reduced Cal.com initialization code from ~100 lines to ~35 lines

Environment Variables

  • SLACK_DEMO_WEBHOOK_URL: Slack webhook for demo notifications (required for Slack integration)

Testing

  1. Open the demo form dialog
  2. Fill out all three steps
  3. Calendar should appear inline in the dialog
  4. Book a meeting - dialog should auto-close after confirmation

Alek99 and others added 12 commits December 16, 2025 19:22
- Replace Cal.com redirect with inline iframe embed in dialog
- Pre-fill calendar with user name, email, and notes from form
- Auto-close dialog after booking confirmation
- Add Unify analytics integration for user identification
- Add Slack webhook notifications for demo requests
- Simplify Cal.com initialization script
- Replace in-dialog calendar with full-screen overlay
- Dialog closes when transitioning to calendar view
- Cleaner separation between form and calendar UI
- Add upsert_unify_person() to create/update person records via Unify Data API
- Replace rx.call_script(unify_identify_js()) with server-side API calls
- Keep client-side identify as fallback
- API key read from UNIFY_API_KEY environment variable
- Revert to client-side unify_identify_js approach
- Set person status to 'Demo Requested' for all demo form submissions
- Remove server-side Unify Data API integration
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.

3 participants