# Notification

The Notification Function is a versatile tool accessible via buttons in several sections: Basic, Activity, State, Information, and the Main Module. It allows users to configure notifications with a range of options and settings tailored to their needs.

## Sections

### **Channel Options**

Users can choose from three notification channels:

* **App Notification**
* **Email**
* **SMS (Beta)**

### **Recipient Settings**

**To**

* A text box specifying the recipient of the notification

**On Behalf (Beta)**

* A slider located below the **To** field, enabling users to send notifications on behalf of others.

***

### **Message (Optional)**

Enabling this section via its slider reveals the following fields, with varying capabilities for each channel:

Subject and Message fields are available for:

* **App Notification**
* **Email (supports attachments)**

Message field only (no subject) for:

* **SMS (Beta)**

***

### **Attach Link Options**

By enabling the Attach Link slider, users can configure links for notifications:

* Activity: activity that needed to be linked
  * Public (Share): Makes the link accessible publicly.
  * Disable Comments: Prevents commenting on the shared link.
* Label: Add labels for categorization.
* Listing (Beta): listing that needed to be linked

***

### **Testing Notification**

The Test Notification with section provides options to preview and test notifications:

**Entry**

* A dropdown to select specific entries for testing.

**Preview Button**

* Clicking this displays the notification message or details directly below the section.

**Test Send Button**

* Sends the notification to verify its functionality in a live setting.

***

### **Recurring Notifications**

The Recurring slider, when enabled, provides options for setting up repeated notifications:

* Date Selection

Choose specific dates from a calendar.

* Recurring Type

Select recurrence patterns via a dropdown (Eg. Day, Week, Month).

***

### **Advanced Settings**

At the bottom of the page, there are five sliders that allow users to enable advanced settings:

1. Recipient Script (Beta)

Utilizes a Python editor to define recipients dynamically.

2. Customize Message

Enables customization through subject, content fields and message templates powered by Python

<table><thead><tr><th width="200">Field</th><th>Meaning</th></tr></thead><tbody><tr><td>Subject</td><td>Allows users to define the subject of the notification for clarity and relevance.</td></tr><tr><td></td><td>Provides space for the main body of the notification, enabling personalized messaging.</td></tr><tr><td>Message Template (Beta)</td><td>Powered by Python, it enables the creation of dynamic templates for consistent and customizable messaging.</td></tr></tbody></table>

3. Execute exactly one time for each trigger without iterate through entries

Ensures the notification triggers exactly one time without iterating through entries.

4. Condition

The slider sets fields for triggering notifications:

<table><thead><tr><th width="200">Field</th><th>Meaning</th></tr></thead><tbody><tr><td>Condition State</td><td>Choose predefined states (e.g., "New" or "Completed") to trigger notifications</td></tr><tr><td>Condition Script (Beta)</td><td>Write scripts for complex, dynamic triggers based on multiple variables</td></tr><tr><td>Query Script (Beta)</td><td>Filter entries or users with custom queries for more targeted notifications</td></tr></tbody></table>

5. Timing (Beta)

The Timing slider allows precise scheduling of notifications:

<table><thead><tr><th width="196">Field</th><th>Meaning</th></tr></thead><tbody><tr><td>Target Time</td><td>Specifies the exact time for the notification, useful for reminders or events</td></tr><tr><td>Multiplier</td><td>Adjusts the frequency of notifications</td></tr><tr><td>Duration Type</td><td>Defines the time unit for recurrence or validity (e.g. days, weeks, months)</td></tr></tbody></table>

***


---

# 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://inistate.gitbook.io/home/advanced/notification.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.
