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

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# On delivery delivered

> Starts an automation when an Uber courier completes the dropoff.

`uber.onDeliveryDelivered` takes no filters. It starts when the courier completes the dropoff: status `delivered`.

```ts automations/delivery-delivered.automation.ts theme={null}
import { automation, sendEmail, t } from "automate.ax"
import { uber } from "automate.ax/uber"

export default automation("Confirm delivery", () => {
  const event = uber.onDeliveryDelivered({})
  sendEmail({
    to: "*",
    subject: t`Order ${event.delivery.manifest?.reference} delivered`,
    text: t`Delivered to ${event.delivery.dropoff.name} at ${event.delivery.dropoff.statusTimestamp}.`,
  })
})
```

The event includes `id`, `deliveryId`, `customerId`, `status`, `liveMode`, `created`, and the full `delivery` with its courier, waypoints, ETAs, and fee. `delivery.dropoff.verification` contains the captured photo, signature, PIN, barcode, or ID result. Use [Get proof of delivery](https://docs.automate.ax/reference/integrations/uber/actions/get-proof-of-delivery.md) for a shareable image.

Requires an Uber Direct connection with a webhook signing key and a dashboard webhook that sends `event.delivery_status`. See [Connect Uber Direct](https://docs.automate.ax/reference/integrations/uber/index.md#connect-uber-direct).


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