# Button Sets

{% hint style="info" %}
**Quick Steps Guideline**

Go to your Netmera Panel and click:

**Settings >** **Button Sets >** **Create New Button Set**

1. Go to the **Settings** section of Netmera. Click on **Button Sets** and then click **Create New Button Set**.
2. Choose a name for your button set from the **Button Set Name** field.
3. Enter an entry for your button in the **Button Text** field.
4. Customize your Button according to your needs.
5. Click on the **Add Button** button.
   {% endhint %}

{% @arcade/embed flowId="qDIkAkmn73itL79e4GJn" url="<https://app.arcade.software/share/qDIkAkmn73itL79e4GJn>" %}

{% hint style="info" %}
**Applying Destructive and Run application in features on iOS :**

You can define the text displayed on the button, select an icon to appear on it (*Android only*), or display the button in red using the **Destructive** option (*iOS only*).\
On iOS, you can also require users to unlock their device before opening the app with the button, decide whether the app opens in the **foreground** or **background** when clicked, and enable users to enter text through the **Button Behavior** option.
{% endhint %}

### Create New Button

There are some additional features that you can use when creating buttons:

{% hint style="warning" %}
**Important Note**

After you have created your button sets and clicked on **Create New Button**, for the final step you need to click on **Publish to Devices.** When you click on "Publish to Devices" it sends a silent push to your customers' devices for the button sets update.&#x20;
{% endhint %}

<table><thead><tr><th width="187.04638671875">Field</th><th width="384.3829345703125">Description</th><th>Platform </th></tr></thead><tbody><tr><td><strong>Button name</strong></td><td>This is the text that will be displayed on the button. </td><td>Android &#x26; iOS</td></tr><tr><td><strong>Button Icon</strong> </td><td>Allows you to select an icon to appear on the button</td><td>Android only</td></tr><tr><td><strong>Destructive</strong></td><td>Displays the button in red to indicate a destructive or critical action.</td><td>iOS only</td></tr><tr><td><strong>Authorization mode</strong> </td><td>Requires users to unlock their device before opening the app when they click the button.</td><td>iOS only</td></tr><tr><td><strong>Run application in</strong></td><td>Determines whether the app opens in the foreground or background when the button is clicked.</td><td>iOS only</td></tr><tr><td><strong>Button behaviour</strong></td><td>Allows the user to enter text by clicking the button.</td><td>iOS only</td></tr></tbody></table>

If you want to remove a button from your button set, you can use the "**Remove Button from Button Set**" option.

<figure><img src="https://1642824329-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FX6uilbEAw42gqsudlclY%2Fuploads%2FoRAuhJ0P534E4L9iXU0l%2Fimage.png?alt=media&#x26;token=642a667d-e0c8-4509-b89f-430ef94a5f44" alt=""><figcaption><p>Button Sets</p></figcaption></figure>

### Click Action

After saving your button set, go to the What step while creating your notification. You will see that your previously created button sets are available for selection. Once selected, you can define the Click Action for each button. When creating a button in Netmera, you can choose from several actions depending on how you want the button to behave.&#x20;

<table><thead><tr><th width="234.34454345703125">Action</th><th>Description</th></tr></thead><tbody><tr><td><strong>Open App Home Screen</strong> </td><td>Opens your app’s home screen when the button is clicked.</td></tr><tr><td><strong>Show Web Page</strong></td><td>Navigates the user to a specified URL.</td></tr><tr><td><strong>Go to Deep Link</strong> </td><td>Opens a specific location or content within the app via a deep link.</td></tr><tr><td><strong>Show Custom Page</strong></td><td>Opens a custom page created within the app</td></tr><tr><td><strong>Nothing</strong></td><td>No action occurs when the button is clicked</td></tr><tr><td><strong>Web Hook for Button Action</strong></td><td>Integrates the button with an external service using a webhook. Clicking the button triggers the webhook and executes the associated action.</td></tr><tr><td><strong>Set User Attribute or Tag</strong></td><td>Assigns a tag or attribute to the user when they click the button. This can later be used for targeting or segmentation. </td></tr></tbody></table>

{% hint style="info" %}
**Utilizing Show Custom Page and Set User Attribute or Tag features:**

You can use the **Show Custom Page** option to create a custom page within your app that highlights sale items in a specific category.\
When users click the button, they are directed to this page where they can browse the featured products.

Additionally, the **Set User Attribute or Tag** option can be used to assign a tag to users when they click the button, indicating their interest in that particular product category.\
This data can later be leveraged for targeted marketing and audience segmentation.
{% endhint %}

<figure><img src="https://1642824329-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FX6uilbEAw42gqsudlclY%2Fuploads%2FOMcAAjh7e9tbDgd78OfY%2Fimage.png?alt=media&#x26;token=c96fbdb8-9502-46ba-9577-02e2409d36f8" alt=""><figcaption></figcaption></figure>
