> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# Accept / Decline Appointment

- Component: `appmixer.zoho.crm.AcceptDeclineAppointment`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.zoho.crm 2.4.5](https://connectors.appmixer.com/connector/appmixer.zoho.crm/2.4.5.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.zoho.crm/2.4.5/component/appmixer.zoho.crm.AcceptDeclineAppointment>

Accepts or declines an existing appointment in Zoho CRM. Accepting keeps the appointment scheduled; declining cancels it with an optional reason.

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| Appointment ID (`appointmentId`) | text | The ID of the appointment record. |
| Decision (`decision`) | select | Accept keeps the appointment scheduled. Decline cancels it. Zoho does not allow changing a cancelled or completed appointment, so a declined appointment cannot be accepted afterwards. |
| Cancellation Reason (`cancellationReason`) | select | Only used when declining. Who cancelled the appointment. Zoho uses "By Customer" when not set. |
| Cancellation Note (`cancellationNote`) | textarea | Only used when declining. Free-text explanation stored on the appointment. |

## Output ports

### Port `out`

| Field | Type | Description |
| --- | --- | --- |
| ID (`id`) | string | - |
| `Status` | string | - |
| Modified Time (`Modified_Time`) | string | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.zoho.crm.AcceptDeclineAppointment",
  "label": "Accept / Decline Appointment",
  "description": "Accepts or declines an existing appointment in Zoho CRM. Accepting keeps the appointment scheduled; declining cancels it with an optional reason.",
  "author": "Appmixer <info@appmixer.com>",
  "version": "1.0.0",
  "auth": {
    "service": "appmixer:zoho"
  },
  "quota": {
    "manager": "appmixer:zoho",
    "resources": "requests",
    "scope": {
      "userId": "{{userId}}"
    }
  },
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "properties": {
          "appointmentId": {
            "type": "string"
          },
          "decision": {
            "type": "string",
            "enum": [
              "accept",
              "decline"
            ]
          },
          "cancellationReason": {
            "type": "string",
            "enum": [
              "",
              "By Customer",
              "By Team"
            ]
          },
          "cancellationNote": {
            "type": "string"
          }
        },
        "required": [
          "appointmentId",
          "decision"
        ]
      },
      "inspector": {
        "inputs": {
          "appointmentId": {
            "type": "text",
            "label": "Appointment ID",
            "index": 1,
            "tooltip": "The ID of the appointment record."
          },
          "decision": {
            "type": "select",
            "label": "Decision",
            "index": 2,
            "defaultValue": "accept",
            "tooltip": "Accept keeps the appointment scheduled. Decline cancels it. Zoho does not allow changing a cancelled or completed appointment, so a declined appointment cannot be accepted afterwards.",
            "options": [
              {
                "label": "Accept",
                "value": "accept"
              },
              {
                "label": "Decline",
                "value": "decline"
              }
            ]
          },
          "cancellationReason": {
            "type": "select",
            "label": "Cancellation Reason",
            "index": 3,
            "tooltip": "Only used when declining. Who cancelled the appointment. Zoho uses \"By Customer\" when not set.",
            "options": [
              {
                "label": "Not set",
                "value": ""
              },
              {
                "label": "By Customer",
                "value": "By Customer"
              },
              {
                "label": "By Team",
                "value": "By Team"
              }
            ]
          },
          "cancellationNote": {
            "type": "textarea",
            "label": "Cancellation Note",
            "index": 4,
            "tooltip": "Only used when declining. Free-text explanation stored on the appointment."
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "out",
      "schema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "title": "ID",
            "example": "4876876000000579001"
          },
          "Status": {
            "type": "string",
            "title": "Status",
            "example": "Cancelled"
          },
          "Modified_Time": {
            "type": "string",
            "title": "Modified Time",
            "example": "2026-09-02T14:03:19+00:00"
          }
        }
      }
    }
  ],
  "icon": "(data URI omitted)"
}
```
