AI-Agent-First Documentation
Prompt your Agent: "Query and mutate records on the 'notification_setting' table (ID prefix 'nose_') using platform.records and platform.query.sql, ensuring all lookup fields use plain string IDs."
Notification Setting (notification_setting)
Controls how a notification will work. Relates to the users or group of users it will notify, specifies the channels to deliver to, and can generate a number of notification subscribers who will receive future updates about this specific item.
Python SDK & PlatformContext Example
# 1. Query notification_setting via parameterized ANSI SQL
rows = await platform.query.sql("SELECT id, name, created_date FROM notification_setting ORDER BY created_date DESC LIMIT 25")
# 2. Create notification_setting record (Generates 'nose_...' Base62 ID)
created = await platform.records.create("notification_setting", [
{"name": "Example Notification Setting"}
])| Field API Name | Type / Format | Lookup Target | Flags | Description |
|---|---|---|---|---|
| id | string | — | required | Id |
| name | string | — | required | Name |
| created_date | stringdate-time | — | Created Date | |
| modified_date | stringdate-time | — | Modified Date | |
| created_by | stringlookup | → user (string ID) | system | Created By |
| modified_by | stringlookup | → user (string ID) | system | Modified By |
| channel | string | — | Channel | |
| type | string | — | Type | |
| data | jsonjson | — | Data | |
| users | listlookup_list | → user (string ID) | Users | |
| create_subscribers | boolean | — | Create Subscribers | |
| save | boolean | — | Save | |
| notify | boolean | — | Notify | |
| record_alerts | boolean | — | Record Alerts | |
| object | stringlookup | → schemas (string ID) | Object | |
| push_to_mobile | boolean | — | Push To Mobile | |
| groups | listlookup_list | → user_group (string ID) | The groups of users that will be notified | |
| all_users | boolean | — | All Users | |
| add_record_owner | boolean | — | Whether to add the record owner as a subscriber | |
| add_owner_manager | boolean | — | Whether to add the record owner's manager as a subscriber | |
| display_template | string | — | A template for the notification message (e.g., "{actor.name} sent you a new message in {record.name}" | |
| title_template | string | — | A template for the notification title, especially useful for push notifications. | |
| action_url | string | — | A template for the client-side navigation path upon clicking the notification (e.g., /chats/{record.id}). | |
| parent_schema_api_name | string | — | For parent-child relationships, this indicates the API name of the parent object (e.g., chat). | |
| child_collection_key | string | — | The key for the collection within the parent object where the new data should be placed (e.g., chat_messages). | |
| icon | string | — | An identifier for an icon to be displayed next to the notification. | |
| notify_sender | boolean | — | Notify Sender | |
| subscriber_creation_function | stringlookup | → function (string ID) | The function that will be used to create subscribers. An awesome way to automate who should receive your notifications | |
| push_to_web | boolean | — | Whether this notification will push to user's web devices | |
| shared_with | listsharing | — | system | Shared With |
