ApiSchemasFunctions
Function: notifyOn()
function notifyOn(
name,
collection,
where?
): AppAutomation;Defined in: packages/core/src/space/own-automations.ts:117
An automation an app offers: new records in a collection, perhaps only
those where matches. notifyOn('Mentions me', 'std.message', { mentions: { $contains: '$me' } })
Parameters
| Parameter | Type |
|---|---|
name | string |
collection | string |
where? | Filter |