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

# Operations, call and widget events

> Platform events for room cleaning status changes, completed and missed calls, and website widget forms and sessions, with every filter they offer.

These events start an internal agent when a room's cleaning status changes, when a call ends or is missed, or when someone uses your website widget. See [Platform events](https://docs.conduit.ai/build-your-agent/agents/internal-agents/platform-events/overview.md) for how to add a trigger.

| Event | Runs when | Filters |
| - | - | - |
| [Cleaning status changed](#cleaning-status-changed) | A room's cleaning status changes. | New status, Room |
| [Call completed](#call-completed-and-call-missed) | A call completes. | Inbox, Call Direction, AI Preference, Transfer Status |
| [Call missed](#call-completed-and-call-missed) | A call is missed. | Inbox, Call Direction, AI Preference, Transfer Status |
| [Widget form submitted](#widget-form-submitted) | Someone submits the widget form. | Inbox |
| [Widget session ended](#widget-session-ended) | A widget session ends. | Inbox |

## Cleaning status changed

Runs when a room's cleaning status changes in Conduit, whether a teammate sets it or a connected PMS reports it. Not every PMS sends cleaning status changes.

| Filter | Options |
| - | - |
| **New status** | Optional. Only run when the room becomes one of these: **Dirty**, **Clean**, **Inspected**, **Out of order** or **Out of service**. Leave all unchecked to run on any change. |
| **Room** | Optional. Only run for one room, by its listing ID. Leave it blank for any room. |

This is the event behind the cleaning status agent in [Use cases](https://docs.conduit.ai/build-your-agent/agents/internal-agents/use-cases.md): a workflow can react to the change, but deciding which guest to tell, and whether to tell them at all, takes an agent.

**Example task:** "This room just became Clean. If a guest checks in today and hasn't arrived yet, message them that their room is ready. Otherwise do nothing."

## Call completed and Call missed

**Call completed** runs when a call ends. **Call missed** runs when a call isn't answered. Both offer the same filters.

| Filter | Options |
| - | - |
| **Inbox** | Only run for calls in this inbox. Required once you set any other call filter. |
| **Call Direction** | **Incoming** or **Outgoing**. **Any** runs for both. |
| **AI Preference** | **AI** or **Human**: only run for calls handled by AI or by a person. **Any** runs for both. |
| **Transfer Status** | **Has transfer**, **Transfer succeeded** or **Transfer failed**. **Any** ignores transfers. |

**Example tasks:**

* Call missed: "A guest call was missed. Look up their reservation, send them a text saying we'll call back shortly, and create a callback task for the front desk."
* Call completed, **Transfer failed**: "The voice agent tried to transfer this call and the transfer failed. Summarize the call and post it to #front-desk in Slack so someone can call back."

## Widget form submitted

Runs when someone submits the form in your [website widget](https://docs.conduit.ai/setup/channels/connect-widget.md).

| Filter | Options |
| - | - |
| **Inbox** | Only run for submissions in this inbox. Empty runs for every inbox. |

**Example task:** "A new widget form came in. Qualify the lead from their answers, add a note with your summary, and post qualified leads to #sales in Slack."

## Widget session ended

Runs when a website widget session ends.

| Filter | Options |
| - | - |
| **Inbox** | Only run for sessions in this inbox. Empty runs for every inbox. |

**Example task:** "A widget chat just ended. If the visitor asked about pricing and didn't book, add the contact label Warm lead."


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.