
An app's **Settings** page holds two things: whether the app is a development app, and its custom actions. A custom action is a link to one of your own tools, such as your app's admin or a support dashboard, that appears on every customer's page with that customer's details filled into the address.

## Before you start

- To open an app's **Settings**, your role needs the **View app settings** permission, and the app must be within your app access.
- To change anything on the page, your role needs the **Edit app settings** permission. Without it you see the development setting and the owner as text, and the custom actions without **Add custom action**, **Edit** or **Delete**.

See [Create roles and choose permissions](https://chatwoot.devit.group/hc/nortly/articles/roles-and-permissions).

To open the page, go to **Apps**, click the app, and click **Settings** in the app's menu in the sidebar.

## Mark an app as a development app

A development app is private to one person, its owner. It still appears on the **Apps** page for every member who can see apps, but in the sidebar app list and in the app filter on the customer pages only its owner sees it. It isn't a permission: other members can still open the app's pages. Nortly doesn't look for an App Store listing for a development app, and development apps aren't counted in reports. By default an app isn't a development app.

1. On the app's **Settings** page, in **App details**, select **This is a development app**.
2. In **App owner**, choose the member who owns the app. You can search by name or email.
3. Click **Save** in the bar at the top of the page.

Nortly confirms with "App settings saved". **Save** stays unavailable until you choose an owner. To undo your changes before saving, click **Discard**.

To make the app public again, clear **This is a development app** and click **Save**. The app then appears in everyone's sidebar.

The app's name, icon and color can't be changed here. They come from Shopify and the app's App Store listing.

## Add a custom action

1. On the app's **Settings** page, in **Custom actions**, click **Add custom action**.
2. In **Label**, enter the name your team will see in the menu, for example "Open in admin".
3. In **URL**, enter the address to open. It must be a full web address, including the "http" or "https" part at the start. To fill in the customer's details, use the variables listed under the field. Click **Copy** next to a variable to copy it.
4. Click **Save**.

Nortly confirms with "Saved", and the action is listed with its label and URL.

You can also add a custom action from a customer's page: open the **Custom actions** menu at the top of the page and click **Add custom action**. There you choose the app first. The first app in the list is selected for you.

### URL variables

| Variable | Filled in with |
|---|---|
| "{{ customer.email }}" | The customer's email address. |
| "{{ customer.shopifyDomain }}" | The shop's myshopify domain. |
| "{{ customer.shopifyShopId }}" | The shop's numeric Shopify ID. |

For example, if your app's admin opens a shop at an address that ends in "/shops/" and the shop's ID, enter that address with "{{ customer.shopifyShopId }}" in place of the ID. For a shop whose Shopify ID is 58291034, the action then opens the address ending in "/shops/58291034". Values are encoded so they're safe to use in an address. If a customer has no email, that variable is left empty.

Only these three variables work. A URL with any other variable, such as "{{ customer.name }}", isn't saved and shows "Unknown variable in the URL. Use only the variables listed below."

### If the action isn't saved

| Message | What to do |
|---|---|
| "Label is required." | Enter a label. |
| "Label is too long." | Shorten the label. |
| "URL is required." | Enter a URL. |
| "Enter a valid http(s) URL." | Enter the full web address, including "https" at the start, and check it for typos. |
| "Unknown variable in the URL. Use only the variables listed below." | Remove or correct the variable. Copy it from the list under the field. |

## Where custom actions appear

On every customer's page, the **Custom actions** menu at the top lists the custom actions of all apps you can see, each with its app's icon. Clicking one opens the address in a new browser tab with that customer's details filled in. The menu shows the actions whatever apps that shop installed, so a support link works for every customer. The customer page is explained in [Use the customer page](https://chatwoot.devit.group/hc/nortly/articles/the-customer-page).

Several actions can share a label. They're told apart by their app's icon.

## Edit or delete a custom action

You can edit and delete custom actions only on the app's **Settings** page.

1. In **Custom actions**, find the action and click **Edit**, or **Delete**.
2. To edit, change the label or URL and click **Save**. To delete, confirm in "Delete this custom action?".

> **Note:** A deleted custom action disappears from the customer pages of everyone in the workspace, and you can't restore it.
