---
# System prepended metadata

title: Untitled

---

```sequence
User->>Alexa/Google: Ask Tracki where is my device
Alexa/Google->>Tracki API: Get device list
Tracki API->>Alexa/Google: Response device list
Note over User, Alexa/Google: 1) User have one device
Alexa/Google->>User: Your {device_name} is at {place}.\n Do you want to get distance from here to your device?
User->>Alexa/Google: Yes
Alexa/Google->>Google Map API: Get distance
Google Map API->>Alexa/Google: Response distance
Alexa/Google->>User: Distance from here to your {device_name} is {number} feets/miles.
```

```sequence
User->>Alexa/Google: Ask Tracki where is my device
Alexa/Google->>Tracki API: Get device list
Tracki API->>Alexa/Google: Response device list
Note over User, Alexa/Google: 2) User have more than one device
Alexa/Google->>User: You have more than one device, {device_name}. Please say yes or next?
User->>Alexa/Google: Next
Alexa/Google->>User: Select device {device_name}. Please say yes or next?
User->>Alexa/Google: Yes
Alexa/Google->>User: Your {device_name} is at {place}.\n Do you want to get distance from here to your device?
User->>Alexa/Google: Yes
Alexa/Google->>Google Map API: Get distance
Google Map API->>Alexa/Google: Response distance
Alexa/Google->>User: Distance from here to your {device_name} is {number} feets/miles.
```