Overview
The Get Availability action retrieves an availability slot by ID and adds it to the workflow context.
Configuration
Availability ID (Required)
The ID of the availability to retrieve. Supports variables.
Examples:
{availability.id}
{booking.availability_id}Output
Adds an availability object to the workflow context with:
Availability ID, dates (start/end)
Capacity and booked quantity
Bookable status
Product information
Vacancies
Accessing Availability Data
After this action, you can access:
{availability.id}
{availability.start}
{availability.end}
{availability.capacity}
{availability.vacancies}Use Cases
Check availability details before booking
Verify capacity for a slot
Get availability information for notifications
Process availability updates
Examples
1. Check Capacity
Workflow:
Get Availability (
{availability_id})Condition: If
{availability.vacancies}greater than 0Action (True): Create Booking
2. Get Availability Details
Workflow:
Webhook trigger
Get Availability (
{payload.availability_id})Send Notification (availability details)
Best Practices
Verify ID exists - Check availability ID before using
Check capacity - Verify vacancies before booking
Handle not found - Set up error handling
