# Share Shortcut

Shortcuts can be easily shared even with users who don't have the application, thanks to the generation of a custom *link* that can be sent via message or email.

Here's an example of a link generated by the application (click it to view it in your browser): <https://my.ohmautomation.io/shared?session=S3emageWaO&link=0&lang=it>

<div align="left"><img src="/files/6qmUxRKWUmSPAiTS0y0K" alt="" width="300"></div>

First, you need to access the Shortcuts page by clicking on the hand icon at the top right.

<div align="left"><img src="/files/dNLUeBiEotiQtsnbpRBs" alt="" width="300"></div>

To share a shortcut, simply perform a long press on the desired Shortcut.

<div align="left"><img src="/files/KHeUIEoUbAj37kggyuyT" alt="" width="300"></div>

## Link Creation

The window that opens allows you to create the link and customize its usage settings.

<div align="left"><img src="/files/ujeaPpteLc428nHJdl17" alt="" width="300"></div>

### Link Name

Represents the identifying name of the shared *link*, which will facilitate subsequent management. This name will be used to record usage in the system History and as the title of notifications (if enabled).

{% hint style="success" %}
Hospitality facilities can use this field to set guest names, facilitating link management.
{% endhint %}

### Validity

Allows you to limit the availability of the link over time.

By setting a future date in the *Valid from* field, the link will be viewable in the browser, but the Shortcut cannot be executed until the specified date. The user will receive an informative message with the activation date indication.

The *Expiration* field allows you to automatically delete the link on the established date. Users who try to open the link after expiration will see an error message.

### Restrictions

This function allows you to further restrict the validity of the link, limiting it to specific days of the week and time slots.

### Notification

By filling in this field, you will receive a notification every time the Shared Shortcut is executed. The notification title will correspond to the link name, while the content will be the custom text entered.

### Password

By enabling this option, the user will need to enter a password to execute the Shortcut, adding an additional security layer.

## Shared Shortcuts Management

By clicking on the three dots at the top right in the *Shortcuts* screen, you can select the *Shared Shortcuts* option.

From this section, you can delete existing links or modify them.

<div align="left"><img src="/files/VatpEHMxVT4y9U7Umeb6" alt="" width="300"></div>

{% hint style="success" %}
Hospitality facilities can modify the *Validity* field based on new guest check-in and check-out times, keeping access authorizations always up to date.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ohmautomation.io/en/android/guide/share-shortcut.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
