Actions57
- Booking Actions
- Group Actions
- Offer Actions
- Block Actions
- Block Action Actions
- Reservation Actions
- Reservation Action Actions
- Types Actions
- Folio Actions
- Folio Action Actions
Overview
This node integrates with the Apaleo API to retrieve booking-related data, specifically focusing on "blocks" when using the "GET blocks" operation. Blocks in Apaleo represent reserved time slots or allocations that can be used for managing availability and scheduling within a property management context.
Typical use cases include:
- Fetching blocks filtered by specific property IDs to monitor availability across multiple properties.
- Retrieving blocks within a certain date range to analyze upcoming reservations or blocked periods.
- Filtering blocks by their status (Tentative, Definite, or Canceled) to manage and report on different stages of bookings.
For example, a hotel manager could use this node to pull all definite blocks for a particular property over the next month to prepare staffing and resources accordingly.
Properties
| Name | Meaning |
|---|---|
| Property IDs | Comma-separated list of property IDs to filter blocks by. |
| From Date | Start date to filter blocks from (inclusive). |
| To Date | End date to filter blocks until (inclusive). |
| Status | Filter blocks by their status. Options: Tentative, Definite, Canceled. |
Output
The node outputs an array of JSON objects representing the blocks retrieved from the Apaleo API. Each object contains details about a block such as its ID, associated property, date/time range, status, and other relevant metadata defined by the Apaleo API schema.
If binary data were involved (not indicated here), it would typically represent attachments or documents related to blocks, but this node focuses on JSON data output only.
Dependencies
- Requires an API key credential for authenticating with the Apaleo API.
- The node uses the base URL
https://api.apaleo.comfor all requests. - Proper configuration of the API authentication token is necessary in n8n credentials settings.
Troubleshooting
Common issues:
- Invalid or expired API token will cause authentication failures.
- Incorrect property IDs or date formats may result in empty responses or errors.
- Network connectivity problems can prevent successful API calls.
Error messages:
- Authentication errors usually indicate missing or invalid API credentials; verify and update the API key.
- Validation errors on input parameters suggest checking the format of property IDs and date fields.
- Rate limiting or server errors from Apaleo should be handled by retrying after some delay.
Links and References
- Apaleo API Documentation
- Apaleo Blocks Resource (for detailed schema and query parameters)