> For the complete documentation index, see [llms.txt](https://docs.ownchat.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ownchat.app/bot/connections/zoho-bookings/update-appointment.md).

# Update Appointment

### Overview &#x20;

The Update Appointment action in Ownchat allows you to modify existing Zoho Bookings appointments directly from your bot workflow.

Using this action, you can:

* Update appointment statuses
* Connect appointment actions with Zoho Bookings
* Pass booking IDs dynamically using variables
* Store update responses for future bot actions
* Automate booking lifecycle management

This functionality is useful for handling appointment completion, cancellations, confirmations, and other booking-related updates automatically inside Ownchat.

{% embed url="<https://app.supademo.com/demo/cmnd2aqs21lnmxtguu3wq0cnz?utm_source=link>" %}

## Prerequisites &#x20;

Before configuring the Update Appointment action, ensure the following:

* A Zoho Bookings account is connected
* The Zoho Bookings API integration is active
* Appointment booking flows are already configured
* A booking ID variable is available in the workflow

## Navigation &#x20;

To access the Update Appointment action:

1. Open your bot inside Ownchat
2. Navigate to the required bot flow
3. Open the right-side action panel
4. Click the Connections tab
5. Select Zoho Booking
6. Click Update Appointment

This opens the appointment update configuration window.

## Configuring the Update Appointment Action &#x20;

### Step 1: Open Connections &#x20;

Click the Connections tab to view all available integrations.

The panel includes integrations such as:

* API Call
* Razorpay
* Payments
* Zoho CRM
* Zoho Booking

Under Zoho Booking actions, select Update Appointment.<br>

{% embed url="<https://app.supademo.com/demo/cmpdwhy2i020uz90jok8k9c7l?utm_source=link>" %}

### Step 2: Select Update Appointment &#x20;

From the Zoho Booking actions list:

1. Locate Update Appointment
2. Click the action<br>

{% embed url="<https://app.supademo.com/demo/cmpdwj1pc024xvx0j5hsjrzgd?utm_source=link>" %}

This opens the Update Appointment configuration dialog.

## Update Appointment Configuration Fields &#x20;

The configuration window includes the following fields:

| Field                      | Description                                                |
| -------------------------- | ---------------------------------------------------------- |
| Action Name                | Defines the internal name of the appointment update action |
| Select Connection          | Selects the Zoho Bookings API connection                   |
| Booking Id                 | Specifies the booking to update                            |
| Action                     | Defines the booking update operation                       |
| Store Response in Variable | Stores the API response data                               |

## Step-by-Step Configuration &#x20;

### Step 3: Enter Action Name &#x20;

Inside the Action name field:

1. Enter a descriptive action name
2. Example:

* Update the booking<br>

{% embed url="<https://app.supademo.com/demo/cmpdwm5iz016g2n0jlz8lbpal?utm_source=link>" %}

Using meaningful names improves workflow readability and maintenance.

### Step 4: Select Connection &#x20;

Under Select Connection:

1. Click the dropdown menu
2. Choose the required Zoho Bookings connection<br>

{% embed url="<https://app.supademo.com/demo/cmpdwnper016i2n0jyqgfzi6u?utm_source=link>" %}

Example:

* test\_zoho\_bookings<br>

{% embed url="<https://app.supademo.com/demo/cmpdwos0701762n0jfcfsnvkg?utm_source=link>" %}

This links the action with your Zoho Bookings account.

### Step 5: Configure Booking ID &#x20;

The Booking ID identifies which appointment should be updated.

To configure the booking ID:

1. Click Add variable<br>

{% embed url="<https://app.supademo.com/demo/cmpdwpwio0259vx0j4yczbw28?utm_source=link>" %}

2. Open the variables list
3. Select:

* booking\_id

{% embed url="<https://app.supademo.com/demo/cmpdwr3vb0273vx0j69c5kvm8?utm_source=link>" %}

The selected variable populates the Booking Id field dynamically.<br>

Example:

{{variables.booking\_id}}

This ensures the correct appointment is updated during bot execution.

### Step 6: Select Appointment Action &#x20;

Under the Action dropdown:

1. Click the dropdown menu
2. Select the required appointment update operation<br>

{% embed url="<https://app.supademo.com/demo/cmpdwsnbf0275vx0jvdrm9wvt?utm_source=link>" %}

Example actions may include:

* Completed
* Cancelled
* Confirmed
* Rescheduled

In the example workflow, the selected action is:

Completed

This determines how the appointment status will be updated in Zoho Bookings.

### Step 7: Configure Response Variable &#x20;

The appointment update response should be stored for later use.

To configure the response variable:

1. Open the Store response in the variable dropdown
2. Click Create new variable

{% embed url="<https://app.supademo.com/demo/cmpdwvu8z025uz90jgxva65kn?utm_source=link>" %}

3. Enter the variable name:

* update\_appointment\_response

4. Select the created variable

This variable stores the API response returned after the appointment update action executes successfully.

### Step 8: Create the Action &#x20;

After completing all required fields:

1. Click the Create button

{% embed url="<https://app.supademo.com/demo/cmpdx1zg301822n0jhzeuos9k?utm_source=link>" %}

This saves and activates the Update Appointment action inside the bot workflow.

## Publishing the Workflow &#x20;

Once the configuration is completed:

1. Click the Publish button at the top-right corner
2. Publish the recent changes<br>

{% embed url="<https://app.supademo.com/demo/cmpdx2vuu01l6yx0j93tz7qmf?utm_source=link>" %}

This deploys the updated bot workflow live.

## Example Configuration &#x20;

| Setting           | Example Value                 |
| ----------------- | ----------------------------- |
| Action Name       | Update the booking            |
| Connection        | test\_zoho\_bookings          |
| Booking ID        | {{variables.booking\_id}}     |
| Action            | Completed                     |
| Response Variable | update\_appointment\_response |

## Response Variable Usage &#x20;

The stored response variable can be used for:

* Sending booking confirmation messages
* Triggering follow-up workflows
* Managing appointment status notifications
* Logging appointment activity
* Creating conditional bot flows

## Supported Appointment Actions &#x20;

Depending on the Zoho Bookings configuration, supported actions may include:

| Action      | Purpose                            |
| ----------- | ---------------------------------- |
| Completed   | Marks the appointment as completed |
| Cancelled   | Cancels the appointment            |
| Confirmed   | Confirms the appointment           |
| Rescheduled | Updates the appointment schedule   |

## Best Practices &#x20;

### Use Dynamic Booking IDs &#x20;

Always use variables instead of static booking IDs to ensure appointments are updated dynamically during live conversations.

### Store API Responses &#x20;

Save responses in variables for:

* Error handling
* Workflow automation
* Customer notifications
* Status verification

### Use Descriptive Action Names &#x20;

Clear naming conventions improve workflow management.

Examples:

* Complete Appointment
* Cancel Customer Booking
* Confirm Service Appointment

## Troubleshooting &#x20;

### Connection Not Available &#x20;

Possible causes:

* Zoho Bookings integration not configured
* Expired authentication token
* Missing API permissions

#### Solution &#x20;

Reconnect the Zoho Bookings integration from the Connections section.

### Booking ID Not Found &#x20;

Possible causes:

* Variable not populated
* Incorrect booking ID passed
* Previous booking action failed

#### Solution &#x20;

Verify that the booking creation action successfully stores the booking ID.

### Appointment Update Failed &#x20;

Possible causes:

* Invalid appointment status
* Incorrect API permissions
* Expired booking session

#### Solution &#x20;

Check the selected action type and validate the Zoho Bookings API configuration.

### Response Variable Not Saving &#x20;

Possible causes:

* Variable not created properly
* Duplicate variable names

#### Solution &#x20;

Create a unique variable name and reassign it.

## Summary &#x20;

The Update Appointment action enables Ownchat bots to modify Zoho Bookings appointments dynamically through API integration.

By configuring this action, you can:

* Update appointment statuses automatically
* Link bookings using dynamic variables
* Store update responses for workflow automation
* Manage appointment lifecycles efficiently
* Publish live appointment management workflows

This functionality helps automate booking operations and improves customer appointment management inside Ownchat.
