Skip to main content

Notifications

Notifications tell your systems or your people when something happens to an upload or a document.

Channels​

A channel sends notifications to one destination. Channels are set up per project, under Configuration › Notifications, with Add Channel:

  • Channel name: The channel name tells channels apart, such as "ERP status".
  • Connector: The connector is where the notifications go: an HTTP, FTP, SFTP or email connector, or the built-in Reply to sender and Forward to email. See Connectors.
  • Endpoint URL, Remote path or Recipients: The destination within the connector, depending on its protocol.
  • Notifications: The events the channel sends. See Events.
  • Transformer: An optional transformer reshapes the message before it is sent.

The switch on each channel pauses it. A channel without a connector sends nothing.

Events per step​

Events come in two groups. Upload updates are about a whole upload and are chosen once per channel. Task updates are about one document in one step, and are chosen per step: Split, Segmentation, Router and each task. A channel can, for example, send "Completed" for documents in Orders only.

Live and Test​

The channel itself, with its events and transformer, is part of the project's configuration and moves along with its versions. The connector and its address are set per environment, so a channel sends nothing in an environment until you choose its connector there. See Versions and environments.

Transformer​

A transformer is a small JavaScript function that receives the message and returns what is sent instead, as JSON, XML, CSV, text, HTML or Excel. The variable env holds "live" or "test".

Delivery​

Every event is sent once to every channel that has it, and Send AI does not retry a failed notification. Deliveries on the connector show what was sent and what failed. See Payloads for the message itself.