flow-send-notification-batch
Send bot notifications to recipients from pipeline input.
The following fields are read from each input row:
- emp_key (STRING, required): Receiver employee key
- title (STRING, optional): Notification title
- contents (STRING, optional): Notification body
- url (STRING, optional): URL link Options take priority over input row values. If title or contents is not specified in either option or input, the row is marked as fail. Per-row result is written to '_result' and '_error' fields.
flow-send-notification-batch profile=PROFILE bot-id=BOT-ID [title=TITLE] [contents=CONTENTS] [url=URL] [dry-run=DRY-RUN]
- profile=PROFILE
- flow connect profile
- bot-id=BOT-ID
- Notification bot ID
- title=TITLE
- Notification title (overrides input row)
- contents=CONTENTS
- Notification body (overrides input row)
- url=URL
- URL link (overrides input row)
- dry-run=DRY-RUN
- Dry run mode (t or f, default: t)
Output Fields
| Field | Type | Name | Description |
|---|---|---|---|
| _result | String | Result | success or fail |
| _error | String | Error | Error message on failure. |