Skip to content

feat(integrations): add Bookly action integration with setup UI#165

Merged
RishadAlam merged 3 commits into
mainfrom
feat/bookly
May 23, 2026
Merged

feat(integrations): add Bookly action integration with setup UI#165
RishadAlam merged 3 commits into
mainfrom
feat/bookly

Conversation

@RishadAlam

@RishadAlam RishadAlam commented May 16, 2026

Copy link
Copy Markdown
Member

Description

This PR adds a new Bookly action integration to Bit Integrations with end-to-end backend and frontend support. Users can now configure Bookly actions in the flow builder, map trigger fields, and use dynamic/staff/service/status data during setup.

Motivation & Context

Bookly users need a native action connector so they can automate appointment and customer management workflows directly from Bit Integrations. This closes that gap by introducing Bookly action configuration, authorization checks, and execution routing.

Related Links: (if applicable)

Type of Change

  • 🐛 Bug fix
  • ✨ New feature
  • 💥 Breaking change
  • 📚 Documentation update
  • ⚡ Improvement
  • 🔄 Code refactor

Key Changes

Backend (Bookly Action Engine)

  • Added Bookly action controller and route handlers for authorization and dynamic data refresh (staff, services, statuses)
  • Added Bookly action execution helper with action-based dispatch and logging integration
  • Added field-map request data generation for Bookly action payload construction

Frontend (Integration Setup UI)

  • Added full Bookly integration UI flow components (layout, authorization screen, field mapping, edit support)
  • Added Bookly integration metadata and action modules for action selection
  • Added integration registration hooks so Bookly appears in new/edit integration flows and action selector

Assets

  • Added Bookly integration icon asset for integration listing and selection UI

Checklist

  • Code follows project style guidelines
  • Self-review completed
  • Tests added/updated
  • Documentation updated if needed
  • README updated if needed

Changelog

  • Feature: Added Bookly as a new action integration in the flow builder.
  • New Actions: Users can configure create/update/delete operations for Bookly appointments and customers.
  • Improvement: Added dynamic staff, service, and appointment status loading to simplify Bookly action setup.

Copilot AI review requested due to automatic review settings May 16, 2026 11:16

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a new integration for Bookly, providing both backend logic and a frontend configuration interface. The backend includes a controller for managing staff, services, and statuses, along with an API helper to execute actions like creating or updating appointments and customers. The frontend implementation covers authorization, field mapping, and integration layout. Feedback provided focuses on ensuring that methods called statically in the routes are correctly declared as static in the controller and improving PHP 8 compatibility by validating potential WP_Error responses before accessing them as arrays.

Comment thread backend/Actions/Bookly/BooklyController.php Outdated
Comment thread backend/Actions/Bookly/BooklyController.php Outdated
Comment thread backend/Actions/Bookly/BooklyController.php Outdated
Comment thread backend/Actions/Bookly/RecordApiHelper.php Outdated
@github-actions

github-actions Bot commented May 16, 2026

Copy link
Copy Markdown

✅ WordPress Plugin Check Report

✅ Status: Passed

📊 Report

All checks passed! No errors or warnings found.


🤖 Generated by WordPress Plugin Check Action • Learn more about Plugin Check

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@RishadAlam RishadAlam changed the title feat(integrations): add Bookly action integration feat(integrations): add Bookly action integration with setup UI May 18, 2026
@RishadAlam RishadAlam merged commit d147e3e into main May 23, 2026
1 check passed
@RishadAlam RishadAlam deleted the feat/bookly branch May 23, 2026 06:13
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