Інтеграція N8N

Revision as of 07:34, 1 July 2025 by Admin (talk | contribs) (Created page with "1. Перейдіть до Налаштування > [https://github.com/vetalsimplybook/n8n-nodes-simplybookCommunity Вузли].<br> 2. Виберіть «Встановити».<br> 3. Введіть n8n-nodes-simplybook у поле «Введіть назву пакета npm».<br> 4. Погодьтеся з ризиками використання вузлів спільноти: виберіть Я розумію ризики встановлення неп...")


n8n — це платформа для автоматизації робочих процесів із ліцензією fair-code, яка дозволяє синхронізувати дані SimplyBook.me між різними додатками, такими як CRM (Salesforce, HubSpot), інструменти електронного маркетингу (Mailchimp, SendGrid) та багато іншого, що допомагає заощадити час і забезпечити актуальність даних на всіх платформах, оскільки багато повторюваних завдань буде автоматизовано.


Як встановити

Вузли спільноти (рекомендовано)

1. Перейдіть до Налаштування > Вузли.
2. Виберіть «Встановити».
3. Введіть n8n-nodes-simplybook у поле «Введіть назву пакета npm».
4. Погодьтеся з ризиками використання вузлів спільноти: виберіть Я розумію ризики встановлення неперевіреного коду з відкритого джерела.
5. Виберіть «Встановити».
Після встановлення вузла ви можете використовувати його як будь-який інший вузол. n8n відображає вузол у результатах пошуку на панелі Вузли.
Дотримуйтесь інструкцій з інсталяції в документації до вузлів спільноти n8n.


Вручну

  • To get started install the package in your n8n root directory:
npm install n8n-nodes-simplybook
  • For Docker-based deployments, add the following line before the font installation command in your n8n Dockerfile:
RUN cd /usr/local/lib/node_modules/n8n && npm install n8n-nodes-simplybook


Operations

  • Get Services: Retrieve services with filter search.
  • Get Providers: Retrieve providers with filter search.
  • Get Locations: Retrieve locations with filter search.
  • Get Categories: Retrieve categories with filter search.
  • Get Clients: Retrieve clients list.
  • Create Client: Create new client and return it.
  • Edit Client: Edit client and return it.
  • Delete Client: Delete client.
  • Get Slots: Return array of available slots to book as admin.
  • Get Available Slots: Return array of available slots to book.
  • Get First Available Slot: Return first available slot for selected service/provider/date.
  • Get Slots Timeline: Return data for slots timeline per date.
  • Get Bookings: Return bookings list.
  • Create Booking: Create new booking and return it.
  • Edit Booking: Edit booking and return it.


Triggers

  • Cancelled Booking: Triggers when a booking is canceled.
  • New Booking: Triggers when a new booking is created.
  • New Invoice: Triggers when a new invoice is created.
  • Updated Booking Details: Triggers when the following booking details are updated: date, time, service, or provider.
  • New Client: Triggers when a new client is created.
  • New Offer: Triggers when a new offer is created.


Credentials

To use this node, you need to authenticate with the SimplyBook.me API. Follow these steps:
1. Sign up for a SimplyBook.me account if you don't have one yet.
2. Enter your credentials in the n8n SimplyBook node.


Compatibility

This node is compatible with n8n version 1.81 and above. It hasn't been tested on other versions yet.


Refer to the SimplyBook.me API documentation for detailed information on how to use the API.