Planyo

The Planyo modules allow you to watch, create, list, retrieve, and delete the users, vacations, reservations, and payments in your Planyo account.

Getting Started with Planyo

Prerequisites

  • A Planyo account

In order to use Planyo with Integromat, it is necessary to have a Planyo account. If you do not have one, you can create a Planyo account at planyo.com/login/signup.php.

The module dialog fields that are displayed in bold (in the Integromat scenario, not in this documentation article) are mandatory!

Connecting Planyo to Integromat

To connect your Planyo account to Integromat you need to obtain the API Key from your Planyo account and insert it in the Create a connection dialog in the Integromat module.

1. Go to the Planyo API website and log in to your account.

2. Enter the details for the API, select the permissions, accept the agreement, and click Generate Now.

T8yYfO8inJ.gif

3. Copy the API Key to your clipboard.

Planyo1.png

4. Go to Integromat and open the Planyo module's Create a connection dialog.

oL4NINceyX.gif

5. In the Connection name field, enter a name for the connection.

6. In the API Key field, enter the  API key details copied in step 3, select the preferred language, and click Continue.

The connection has been established. 

Users

Add a User

Adds a new user (customer) associated with your Planyo site.

ConnectionEstablish a connection to your Planyo account.
EmailEnter the email address of the user.
First NameEnter the user's first name.
Last NameEnter the user's last name.
User LoginEnter the user login details.
User PasswordEnter the user's password.
CountryEnter the user's country name.
AddressEnter the user's address details.
CityEnter the user's city name.
ZipEnter the user's area zip code.
StateEnter the user's state name.
Phone Enter the user's phone number without a country code.
Phone Country CodeEnter the user's applicable country code.
Mobile PhoneEnter the user's mobile phone number.
Mobile Phone Country CodeEnter the user's applicable country code.
User Language
Select the user's preferred language.
Custom Property NameAdd the custom properties for the user. For example, company.
Custom Property ValueAdd the property value. For example, company name.
Admin User IDEnter the admin's user ID who added this new user.
This should be used only in case it's a resource admin who should be able to access the new user's personal information.

List Users

Lists Users.

ConnectionEstablish a connection to your Planyo account.
Created by AdminSelect whether the user you want to search was created by the admin.
Detail LevelSelect the details to include in the results:
  • User Information
  • Custom User Properties
Filter NameEnter the customer property name to list only the users with the specified name.
Filter ValueEnter the customer property value to list only the users with the specified name.
First NameEnter the user's first name to list only the users with the specified first name.
Last NameEnter the user's last name to list only the users with the specified last name.
EmailEnter the email address of the user to list only the users with the specified email address.
CountryEnter the user's country name you want to list.
AddressEnter the user's address you want to list.
CityEnter the user's city name you want to list.
ZipEnter the user's zip code you want to list.
PhoneEnter the user's phone number you want to list.
Phone Country CodeEnter the user's country code you want to list.
Mobile PhoneEnter the user's mobile phone number you want to list.
Mobile Phone Country CodeEnter the user's country code you want to list.
UnconfirmedSelect whether the user status is unconfirmed.
Modified SinceEnter the date to list the users modified on or after the specified date. 
LimitSet the maximum number of users Integromat should return during one scenario execution cycle.

Remove a User

Removes a user.

ConnectionEstablish a connection to your Planyo account.
User IDSelect the User ID you want to remove.

Get a User

Gets user data.

ConnectionEstablish a connection to your Planyo account.
User IDSelect the User ID whose details you want to retrieve.

Update a User

Modifies an existing user's data.

ConnectionEstablish a connection to your Planyo account.
Search Criteria Select the criteria to choose the user whose details you want to update:
  • Email
  • User ID
  • Login
EmailSelect the email address of the user.
User IDSelect the User ID whose details you want to update.
First NameEnter the user's first name.
Last NameEnter the user's last name.
New EmailEnter the user's new email address.
Email VerifiedSelect whether the email address is verified.
CountryEnter the user's country name.
AddressEnter the user's address details.
CityEnter the user's city name.
ZipEnter the user's area zip code.
StateEnter the user's state name.
Phone Enter the user's phone number without a country code.
Phone Country CodeEnter the user's applicable country code.
Mobile PhoneEnter the user's mobile phone number.
Mobile Phone Country CodeEnter the user's applicable country code.
User Language
Select the user's preferred language.
Custom Property NameAdd the custom properties for the user. For example, company.
Custom Property ValueAdd the property value. For example, company name.
Is PreapprovedSelect whether the user is preapproved.
Is BannedSelect whether the user is banned.

Watch Users Updated

Triggers when a user has been updated.

Webhook NameEnter a name for the webhook.

See the Connecting to Planyo Webhooks Using Integromat to add the webhooks to your Planyo account.

Vacations

Add a Vacation

Adds a new one-time vacation for a given resource or the entire Planyo site.

ConnectionEstablish a connection to your Planyo account.
Start TimeEnter the date and time when the vacation begins. See the list of supported date and time formats.
End TimeEnter the date and time when the vacation ends. See the list of supported date and time formats.
Resource IDSelect the Resource ID for whom you are adding this vacation. If left blank, the vacation will be added for the whole site.
QuantityEnter the number of resources to which the vacation will be marked.
TypeSelect the vacation type:
  • Imported from a Google Calendar
  • No Special Type
CommentEnter the information about the vacation.
Google Calendar IDEnter the vacation's Google Calendar ID.
ValidateSelect whether you want to validate the vacation.
Unit AssignmentIf vacations are assigned to a specific unit. Add the assignment units to which the vacations are assigned.

List Vacations

Lists all vacations within a specified time range.

ConnectionEstablish a connection to your Planyo account.
Start TimeEnter the start time to list the vacations that start with the specified time.
End TimeEnter the end time to list the vacations that end with the specified time.
TypeSelect the vacation type you want to list. For example, All Vacations.
LimitSet the maximum number of Planyo Integromat should return during one scenario execution cycle.
Resource IDSelect the Resource ID whose vacations you want to list.
Assigned Unit TimeEnter unassigned to list only the vacations with no unit assignment.
Include Site VacationsSelect whether you want to list the whole site vacations.
Vacation Recurrence Type
Select the vacation recurrence type you want to list:
  • One-time
  • Recurring
  • All
Expand RecurringSelect whether you want to list recurring vacation details.

Remove a Vacation

Removes a specified vacation.

ConnectionEstablish a connection to your Planyo account.
Vacation IDSelect the Vacation ID you want to remove.

Reservation

Make a Reservation

Enters a new reservation into the system.

ConnectionEstablish a connection to your Planyo account.
Start TimeEnter the start time to list the vacations that start with the specified time.
End TimeEnter the end time to list the vacations that end with the specified time.
QuantityEnter the number of reservations you want to make.
Is New UserSelect if the reservation is for a new user.
EmailEnter the user's email address.
First NameEnter the user's first name.
Last NameEnter the user's last name.
CountryEnter the user's country name.
AddressEnter the user's address details.
CityEnter the user's city name.
ZipEnter the user's area zip code.
StateEnter the user's state name.
PhoneEnter the user's phone number.
Phone Country codeEnter the user's country code.
Mobile PhoneEnter the user's mobile phone number.
Mobile Phone Country CodeEnter the user's country code.
Admin ModeSelect whether the user is in admin mode. If yes, the reservation will be entered in the admin mode meaning that the required fields (as defined in the reservation form) will not be required, except for the first name and reservation dates/times. Also, other restrictions set in resource settings will not be checked and the email verification step (if used in the resource) will be skipped. The default value is false.
Send NotificationsSelect whether you want to send notifications about the reservation.
Force StatusSelect the reservation status. For example, completed.
Wants ShareSelect the reservation sharing option:
  • Sharing not Allowed
  • Sharing Allowed
  • Sharing Forced
Rental VoucherEnter the reservation voucher code.
Custom Price

Enter a custom price for the reservation. If not specified, Planyo will calculate the price for you using your pricing manager rules.

This custom price parameter cannot be used together with rental_prop_voucher.
User NotesEnter the notes about the reservation.
Admin NotesEnter the admin notes about the reservation.
Referer CodeEnter the referral code for the reservation. You can use it to track the original source of the booking. This value will be later visible in reservation details and available as the tag $(refcode).
Creation DateEnter the date and time of the reservation.
Cart IDThis field is applicable only if your site works with the shopping carts. You can also enter an existing shopping cart ID. Otherwise, a new cart will be created.
Custom Property NameEnter the reservation's custom property name.
Custom Property ValueEnter the reservation's custom property value.
Count Number of AssignmentEnter the number of assignment units applicable for the reservation.
Assignment ValueEnter the assignment value separated by a comma. For example, assignment2assignment3etc.

List Reservations

Lists all reservations that either start within a given time period or that were entered into the system within the given time period.

ConnectionEstablish a connection to your Planyo account.
Start TimeEnter the start time to list the reservations that start with the specified time.
End TimeEnter the end time to list the reservations that end with the specified time.
LimitSet the maximum number of reservations Integromat should return during one scenario execution cycle.
Resource IDsSelect the Resource IDs whose reservations you want to list.
Custom Property Name
Enter the custom property name to list the reservations with the specified property name.
Custom Property ValueEnter the custom property value to list the reservations with the specified property value.
List By Creation DateSelect whether you want to list the reservations by their created date.
SortSelect the option to sort the reservations. For example, the user.
Sort ReverseSelect whether you want to list the reservations in the reverse order. For example, descending order.
Detail LevelSelect the details to include the reservation results.
User IDSelect the User ID whose reservations you want to list.
User EmailSelect the user's email address whose reservations you want to list.
Search by StatusSelect the status of the reservation you want to list.
Exclude StatusSelect the status of the reservation you want do want to include in the list.
Modified SinceEnter the date to list the reservations that were modified on or after the specified date.

Delete a Reservation

Permanently removes a reservation.

ConnectionEstablish a connection to your Planyo account.
Reservation IDSelect the Reservation ID you want to delete.

Get a Reservation

Gets reservation details.

ConnectionEstablish a connection to your Planyo account.
Reservation ID Select the Reservation ID whose details you want to retrieve.
Resource IDSelect the Resource ID of the reservation.
Start TimeEnter the start time of the reservation.
End TimeEnter the end time of reservation.
Custom Property Name
Enter the custom property name to list the reservations with the specified property name.
Custom Property ValueEnter the custom property value to list the reservations with the specified property value.
Count Number of AssignmentEnter the number of assignment units applicable for the reservation.
Assignment ValueEnter the assignment value separated by a comma. For example, assignment2assignment3etc.
User IDSelect the User ID to whom you want to assign the reservation.
QuantityEnter the number of reservations you want to make.
Admin ModeSelect whether the user is in admin mode. If yes, the reservation will be entered in the admin mode meaning that the required fields (as defined in the reservation form) will not be required, except for the first name and reservation dates/times. Also, other restrictions set in resource settings will not be checked and the email verification step (if used in the resource) will be skipped. The default value is false.
Send NotificationsSelect whether you want to send notifications about the reservation.
CommentsEnter any other additional information about the reservation.

Update a Reservation

Updates a reservation.

ConnectionEstablish a connection to your Planyo account.
Reservation ID Select the Reservation ID whose details you want to update.

Watch New Reservations

Triggers when a new reservation has been added.

Webhook NameEnter a name for the webhook.

See the Connecting to Planyo Webhooks Using Integromat to add the webhooks to your Planyo account.

Watch Reservations Confirmed

Triggers when a reservation has been confirmed.

Webhook NameEnter a name for the webhook.

See the Connecting to Planyo Webhooks Using Integromat to add the webhooks to your Planyo account.

Watch Reservations Canceled by Admin

Triggers when a reservation has been canceled by admin.

Webhook NameEnter a name for the webhook.

See the Connecting to Planyo Webhooks Using Integromat to add the webhooks to your Planyo account.

Watch Reservations Modified by Admin

Triggers when a reservation has been modified by admin.

Webhook NameEnter a name for the webhook.

See the Connecting to Planyo Webhooks Using Integromat to add the webhooks to your Planyo account.

Watch Reservations Cancelled Automatically

Triggers when a reservation has been canceled automatically.

Webhook NameEnter a name for the webhook.

See the Connecting to Planyo Webhooks Using Integromat to add the webhooks to your Planyo account.

Watch Payments Received

Triggers when a new payment has been canceled.

Webhook NameEnter a name for the webhook.

See the Connecting to Planyo Webhooks Using Integromat to add the webhooks to your Planyo account.

Watch Reservations Updated by a Customer

Triggers when a reservation has been updated by a customer.

Webhook NameEnter a name for the webhook.

See the Connecting to Planyo Webhooks Using Integromat to add the webhooks to your Planyo account.

Watch Reservations Cancelled by a Customer

Triggers when a reservation has been canceled by a customer.

Webhook NameEnter a name for the webhook.

See the Connecting to Planyo Webhooks Using Integromat to add the webhooks to your Planyo account.

Other

Make an API Call

Performs an arbitrary authorized API call.

For the list of available endpoints, refer to the Planyo API Documentation.

ConnectionEstablish a connection to your Planyo account.
Method

Select the HTTP method you want to use:

GET
to retrieve information for an entry.

POST
to create a new entry.

HeadersEnter the desired request headers. You don't have to add authorization headers; we already did that for you.
Query StringEnter the request query string.
BodyEnter the body content for your API call.

Example of Use - List Users

The following API call returns all the user from your Planyo account:

Method:
GET

Query String:
Keymethod
Valuelist_users

Keylist_created_by_admin
Valuetrue

planyo4.png

Matches of the search can be found in the module's Output under BundleBody > data > users
In our example, 2 users were returned:

planyo3.png

Connecting to Planyo Webhooks Using Integromat

1. Open any watch module, establish a connection, click Save, and copy the URL address to your clipboard. Click OK and save the trigger.

2SZAgvHCVP.gif

2. Log in to your Planyo account. Click Site Settings > Show all... > Notification Settings > Notification Callbacks.

lXtcvr7l7J.gif

3. Add the webhook URL address copied in step 1 against the notification you want to receive and click Update.

gtQ81meDVB.gif

You have successfully added the webhook.

 

Popular use cases from our blog

automated-data-collection-crm-illustration

How to Automate Data Collection - Part 5: CRM Systems

automated-data-collection-chatbot-marketing-illustration

How to Automate Data Collection - Part 4: Chatbot Marketing

automated-data-collection-paid-ads-illustration

How to Automate Data Collection - Part 3: Paid Ads

automated-data-collection-email-illustration

How to Automate Data Collection - Part 2: Email Marketing Segmentation

personalized-customer-experience-illustration-integromat

5 Automated Solutions to Personalize Customer Experience

data-collection-automation-forms-pt-1

How to Automate Data Collection - Part 1: Online Forms

Didn’t find what you were looking for?

Expert

Find an expert

We feature a network of 450+ certified partners across the globe who are ready to help

Find an expert

Automate any workflow in your business

Sign up for a free account today. No credit card required, no time limits on free plan.