Skip to main content

Integration with Jadu Connect

Jadu Connect

In Jadu Connect:

  1. Create a new field for the booking details in Jadu Connect. While there are no restrictions in how the Jadu Connect field is named, it should be of type Text Area.
  2. Add the booking date field to both the New and Edit form of your case type.
  3. To show the booking details in the case ribbon, open Settings > Case Ribbon Elements and add a new element.
  4. Use the following template code to show the booked dates in an easy to use format, replace the placeholder <PLACEHOLDER> with the unique identifier of your field in Jadu Connect:
{% set dates = case.values['<PLACEHOLDER>'].values|split(',') %}
<ul>
{% for date in dates %}
{% set splitDates = date|split('|') %}
<li>{{ splitDates[0]|date('Y-m-d H:i') ~ ' - '~ splitDates[1]|date('H:i') }}</li>
{% endfor %}
</ul>

Jadu Central

In Jadu Central Forms:

  1. Create a rule to send booking data to Jadu Connect in your booking form when a user submits the form.
  2. Select “Create Case” action, and in the action template map the Bookings date JSON mapping field to the Book event - List of Bookings form variable. This form variable returns a data structure which is compatible with the ribbon code. Other variables will not be compatible and should not be used.

Connect Mapping Values

NameExample Data
Start Date2025-04-17
Start Time09:00
Duration in hrs1
Repeats10
Calendar4 (Calendar ID)