PutSlack

Description:

Sends a message to your team on slack.com

Additional Details...

Tags:

put, slack, notify

Properties:

In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.

Display NameAPI NameDefault ValueAllowable ValuesDescription
Webhook URLwebhook-urlThe POST URL provided by Slack to send messages into a channel.
Sensitive Property: true
Supports Expression Language: true (will be evaluated using flow file attributes and variable registry)
Webhook Textwebhook-textThe text sent in the webhook message
Supports Expression Language: true (will be evaluated using flow file attributes and variable registry)
ChannelchannelA public channel using #channel or direct message using @username. If not specified, the default webhook channel as specified in Slack's Incoming Webhooks web interface is used.
Supports Expression Language: true (will be evaluated using flow file attributes and variable registry)
UsernameusernameThe displayed Slack username
Supports Expression Language: true (will be evaluated using flow file attributes and variable registry)
Icon URLicon-urlIcon URL to be used for the message
Supports Expression Language: true (will be evaluated using flow file attributes and variable registry)
Icon Emojiicon-emojiIcon Emoji to be used for the message. Must begin and end with a colon, e.g. :ghost:
Supports Expression Language: true (will be evaluated using flow file attributes and variable registry)

Dynamic Properties:

Supports Sensitive Dynamic Properties: No

Dynamic Properties allow the user to specify both the name and value of a property.

NameValueDescription
A JSON object to add to Slack's "attachments" JSON payload.JSON-formatted string to add to Slack's payload JSON appended to the "attachments" JSON array.Converts the contents of each value specified by the Dynamic Property's value to JSON and appends it to the payload being sent to Slack.
Supports Expression Language: true (will be evaluated using flow file attributes and variable registry)

Relationships:

NameDescription
successFlowFiles are routed to success after being successfully sent to Slack
failureFlowFiles are routed to failure if unable to be sent to Slack

Reads Attributes:

None specified.

Writes Attributes:

None specified.

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.