KIS New Document icon

KIS New Document

Triggers when new documents are created in a KIS collection

KIS New Document

AI-generated

Summary

Triggers when new documents are added to a selected KIS collection based on a configured schedule.

Inputs

  • collection (required) — Name or ID of the collection to monitor
  • limit — Maximum number of documents to fetch per poll (default 25, max 200)
  • pollTimes — Schedule defining when polling occurs; can include mode, hour, minute, etc.

Output shape

array of document objects

Emits the newly created documents; returns an empty array if none are found and updates the last checked timestamp

Examples

Example 1: Monitor a collection for newly created records every day at 09:00

collection: Sales; limit: 50; pollTimes: mode=everyDay, hour=9, minute=0

Example 2: Poll every 2 hours for up to 100 new documents

collection: SupportTickets; limit: 100; pollTimes: mode=everyX, value=2, unit=hours

Example 3: Use a custom cron expression to trigger at specific times

collection: Inventory; limit: 25; pollTimes: cronExpression=0 8 * * * *

Links

Discussion