minca
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

ParameterType
namestring
collectionstring
where?Filter

Returns

AppAutomation

On this page