Sensitive Property: trueChannel | Channel | | | The name or identifier of the channel to send the message to. If using a channel name, it must be prefixed with the # character. For example, #general. This is valid only for public channels. Otherwise, the unique identifier of the channel to publish to must be provided. Supports Expression Language: true (will be evaluated using flow file attributes and variable registry) |
Publish Strategy | Publish Strategy | Send FlowFile Content as Message | - Send FlowFile Content as Message
- Use 'Message Text' Property
| Specifies how the Processor will send the message or file to Slack. |
Message Text | Message Text | | | The text of the message to send to Slack. Supports Expression Language: true (will be evaluated using flow file attributes and variable registry)
This Property is only considered if the [Publish Strategy] Property has a value of "Use 'Message Text' Property". |
Character Set | Character Set | UTF-8 | | Specifies the name of the Character Set used to encode the FlowFile contents. Supports Expression Language: true (will be evaluated using flow file attributes and variable registry)
This Property is only considered if the [Publish Strategy] Property has a value of "Send FlowFile Content as Message". |
Include FlowFile Content as Attachment | Include FlowFile Content as Attachment | false | | Specifies whether or not the contents of the FlowFile should be uploaded as an attachment to the Slack message.
This Property is only considered if the [Publish Strategy] Property has a value of "Use 'Message Text' Property". |
Max FlowFile Size | Max FlowFile Size | 1 MB | | The maximum size of a FlowFile that can be sent to Slack. If any FlowFile exceeds this size, it will be routed to failure. This plays an important role because the entire contents of the file must be loaded into NiFi's heap in order to send the data to Slack.
This Property is only considered if the [Include FlowFile Content as Attachment] Property has a value of "true". |
Thread Timestamp | Thread Timestamp | | | The Timestamp identifier for the thread that this message is to be a part of. If not specified, the message will be a top-level message instead of being in a thread. Supports Expression Language: true (will be evaluated using flow file attributes and variable registry) |
Relationships:
Name | Description |
---|
success | FlowFiles are routed to success after being successfully sent to Slack |
rate limited | FlowFiles are routed to 'rate limited' if the Rate Limit has been exceeded |
failure | FlowFiles are routed to 'failure' if unable to be sent to Slack for any other reason |
Reads Attributes:
None specified.Writes Attributes:
Name | Description |
---|
slack.channel.id | The ID of the Slack Channel from which the messages were retrieved |
slack.ts | The timestamp of the slack messages that was sent; this is used by Slack as a unique identifier |
State management:
This component does not store state.Restricted:
This component is not restricted.Input requirement:
This component requires an incoming relationship.System Resource Considerations:
None specified.