Skip to content

AI Agent for Website v1.8.0

Choose a tag to compare

@github-actions github-actions released this 29 Dec 18:58
· 35 commits to main since this release
7ede120

What's Changed

Added

  • Google Calendar Integration: Allow users to book meetings after chat conversations
    • OAuth 2.0 authentication with Google Calendar API
    • Automatic availability detection using Google Calendar free/busy API
    • Configurable business hours and working days
    • Buffer time between appointments
    • Days ahead booking limit
    • Google Meet link generation for scheduled meetings
    • Calendar invites sent to user's email
  • New admin settings section "Scheduling" for calendar configuration
  • Calendar booking modal in chat widget with step-by-step flow:
    • Prompt to schedule after conversation ends
    • Date/time slot selection with navigation
    • Meeting details form (title, description)
    • Booking confirmation
  • REST API endpoints for calendar integration:
    • GET /gcalendar/auth-url - OAuth authorization URL
    • POST /gcalendar/disconnect - Disconnect account
    • GET /gcalendar/calendars - List available calendars
    • GET /gcalendar/slots - Get available time slots
    • POST /gcalendar/create-event - Create calendar event
    • GET /gcalendar/status - Check integration status
    • POST /settings/gcalendar - Save calendar settings
  • Customizable prompt message for calendar booking suggestion
  • Event title and description templates with placeholder support
  • Calendly Integration: Easy scheduling via Calendly
    • Support for popup widget, inline embed, and external link modes
    • Customizable scheduling URL (user profile or specific event type)
    • Pre-fill user info from chat session (name, email)
    • Configurable prompt message and button text
    • Widget appearance options (height, colors, hide event details/GDPR banner)
    • Optional OAuth 2.0 connection for advanced features (event types)
  • New Calendly admin settings in "Scheduling" section
  • REST API endpoints for Calendly integration:
    • GET /calendly/auth-url - OAuth authorization URL
    • POST /calendly/disconnect - Disconnect account
    • GET /calendly/event-types - List event types
    • GET /calendly/status - Check integration status
    • POST /settings/calendly - Save Calendly settings

Changed

  • Enhanced chat widget flow to include calendar booking after rating
  • Updated admin JavaScript with Google Calendar connection handlers

Full Changelog: ...v1.8.0