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 interacts with the Apaleo API to perform various actions related to hotel management resources. Specifically, for the Block Action resource and the PUT wash block operation, it performs a "wash" action on a specified block. This typically means resetting or cleaning the state of a block in the booking system, which can be useful for housekeeping or administrative purposes to ensure blocks are up-to-date or cleared.
Practical scenarios include:
- Automatically resetting block statuses after certain events.
- Cleaning up blocks that are no longer needed or have been processed.
- Integrating with workflows that require block state refreshes as part of hotel operations.
Properties
| Name | Meaning |
|---|---|
| Block ID | The unique identifier of the block on which to perform the wash action. This is required. |
Output
The node outputs an array of JSON objects corresponding to each input item processed. Each output JSON object contains the response from the Apaleo API regarding the wash block action performed on the specified block.
If the node supports binary data output (not indicated here), it would represent any file or media data returned by the API, but this operation primarily deals with JSON responses confirming the action status.
Dependencies
- Requires an active connection to the Apaleo API via an API key credential (an API authentication token).
- The node expects the
accessTokenfrom the credentials to authorize API requests. - Network access to
https://api.apaleo.comis necessary. - No additional external dependencies beyond the Apaleo API and its authentication.
Troubleshooting
- Common issues:
- Invalid or missing Block ID will cause the API call to fail.
- Expired or invalid API token will result in authentication errors.
- Network connectivity problems may prevent reaching the Apaleo API endpoint.
- Error messages:
"Unauthorized"or similar indicates issues with API credentials; verify and refresh tokens."Not Found"suggests the Block ID does not exist or is incorrect."Bad Request"may indicate malformed input parameters.
- To resolve errors, ensure the Block ID is correct, credentials are valid, and network connectivity is stable.
Links and References
- Apaleo API Documentation
- Apaleo Blocks API
- n8n documentation on API Credentials