AI-Agent-First Documentation
Prompt your Agent: "Query and mutate records on the 'notification_subscriber' table (ID prefix 'nosu_') using platform.records and platform.query.sql, ensuring all lookup fields use plain string IDs."
Notification Subscriber (notification_subscriber)
Helps to determine how each notification will work for each user. It bases its settings off of a Notification Setting by default, but can be customized afterwards. These are only required in the event that the notifications are consistently related to another objects record like being alerted anytime we receive a new inbound text message related to a particular contact. This allows end users to fine tune the record level alerts they will receive so they can opt in, out, or change who receives those notifications.
Python SDK & PlatformContext Example
# 1. Query notification_subscriber via parameterized ANSI SQL
rows = await platform.query.sql("SELECT id, name, created_date FROM notification_subscriber ORDER BY created_date DESC LIMIT 25")
# 2. Create notification_subscriber record (Generates 'nosu_...' Base62 ID)
created = await platform.records.create("notification_subscriber", [
{"name": "Example Notification Subscriber"}
])| 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 |
| user | stringlookup | → user (string ID) | required | User |
| active | boolean | — | required | Active |
| notification_setting | stringlookup | → notification_setting (string ID) | required | Notification Setting |
| record_id | string | — | Record Id | |
| object | stringlookup | → schemas (string ID) | Object | |
| shared_with | listsharing | — | system | Shared With |
