> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tala-assistant.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Zenchef

> Check restaurant availability during voice calls

## Overview

The Zenchef integration enables your voice agents to check restaurant
availability in real-time during calls. Perfect for restaurants using
Zenchef as their reservation management system.

<Note>
  This is an MVP integration focused on availability checking.
  Reservation creation will be available in a future update.
</Note>

## What You Can Do

| Feature                | Description                                        |
| ---------------------- | -------------------------------------------------- |
| **Check Availability** | Verify if a specific date has openings             |
| **View Services**      | See lunch, dinner, brunch availability             |
| **Guest Capacity**     | Know maximum party size per service                |
| **Find Next Slots**    | Suggest alternative dates if requested one is full |

## Setup

<Steps>
  <Step title="Find Your Restaurant ID">
    Locate your Zenchef restaurant ID in the booking widget URL on your website:

    ```
    sdk.zenchef.com/...?restaurant=361425
                                   ^^^^^^
                                   Your ID
    ```
  </Step>

  <Step title="Add Integration">
    Go to **Integrations** → Click **Add Zenchef** → Enter your restaurant ID and name
  </Step>

  <Step title="Test Connection">
    Click **Test** to verify your restaurant is found
  </Step>

  <Step title="Enable in Workflow">
    In **Workflow Editor** → **Tools** → Enable **Zenchef Availability**
  </Step>
</Steps>

## Available Tools

Your agent has access to two functions:

| Tool                   | Use Case                                        |
| ---------------------- | ----------------------------------------------- |
| **Check Availability** | When caller asks about a specific date          |
| **Get Next Slots**     | When caller wants to know upcoming availability |

## Example Conversation

<AccordionGroup>
  <Accordion title="Reservation Inquiry Flow">
    **Caller:** Do you have availability for Saturday evening?

    **Agent:** Let me check... Yes, we have tables available on Saturday for
    dinner. How many guests will you be?

    **Caller:** We'll be 6 people.

    **Agent:** Perfect, we can accommodate 6 guests for dinner on Saturday.
    We have availability for both the 7pm and 9pm services.

    **Caller:** What about Friday instead?

    **Agent:** Let me check Friday... Unfortunately, Friday dinner is fully
    booked. I can offer you Thursday or Saturday evening instead. Would
    either of those work?
  </Accordion>
</AccordionGroup>

## Availability Data

Your agent receives the following information:

| Field      | Description                    |
| ---------- | ------------------------------ |
| Date       | The requested date             |
| Services   | Lunch, Dinner, Brunch, etc.    |
| Max Guests | Maximum party size per service |
| Is Open    | Whether the restaurant is open |

## Technical Details

| Setting       | Value                           |
| ------------- | ------------------------------- |
| Auth Method   | Public API (no credentials)     |
| API Timeout   | 5 seconds (optimized for voice) |
| Data Source   | Zenchef booking middleware      |
| Lookup Window | Up to 14 days ahead             |

## Limitations

<Warning>
  **Current MVP limitations:**

  * Availability checking only (no reservation creation)
  * Uses Zenchef's public API (unofficial)
  * Cannot see existing reservations
</Warning>

## Troubleshooting

<AccordionGroup>
  <Accordion title="Restaurant not found">
    * Double-check your restaurant ID from the widget URL
    * Ensure your restaurant is active on Zenchef
    * The ID should be numeric (e.g., 361425)
  </Accordion>

  <Accordion title="No availability shown">
    * Verify the restaurant has availability configured in Zenchef
    * Check if you're searching for a date when the restaurant is closed
    * Try searching for dates further in advance
  </Accordion>

  <Accordion title="Timeout during calls">
    * This can happen during high traffic periods
    * The agent will inform the caller and suggest trying again
    * Check your internet connection
  </Accordion>
</AccordionGroup>

## Next Steps

<CardGroup cols={2}>
  <Card title="Google Calendar" icon="calendar" href="/integrations/google-calendar">
    Sync reservations to calendar
  </Card>

  <Card title="Workflow Tools" icon="wrench" href="/workflows/tools">
    See all available tools
  </Card>
</CardGroup>
