← All Foundational Objects/Prefix: retr_13 Fields
AI-Agent-First Documentation
/SKILL.md
Prompt your Agent: "Query and mutate records on the 'record_trigger' table (ID prefix 'retr_') using platform.records and platform.query.sql, ensuring all lookup fields use plain string IDs."

Record Trigger (record_trigger)

Record triggers are automations that run when someone creates, updates, deletes or any combination that is determined by the trigger code.

Python SDK & PlatformContext Example
# 1. Query record_trigger via parameterized ANSI SQL
rows = await platform.query.sql("SELECT id, name, created_date FROM record_trigger ORDER BY created_date DESC LIMIT 25")

# 2. Create record_trigger record (Generates 'retr_...' Base62 ID)
created = await platform.records.create("record_trigger", [
    {"name": "Example Record Trigger"}
])
Field API NameType / FormatLookup TargetFlagsDescription
idstring—systemId
namestring—Name
created_datestringdate-time—systemCreated Date
modified_datestringdate-time—systemModified Date
created_byjsonlookup→ user (string ID)systemCreated By
modified_byjsonlookup→ user (string ID)systemModified By
objectstringlookup→ schemas (string ID)Object
ordernumber—Order
file_namestring—File Name
contextlist—Context
codestringtext-area—Code
appstringlookup→ app (string ID)App
shared_withlistsharing—systemShared With