I have an Account
model where account has many Matter
. On creating matter, system send notification to a private slack channel configured with associated account.
On slack Incoming WebHooks configuration every channel has different hook url but I only configured one in to my app environment which seems not send messages always to all channels - https://hooks.slack.com/services/TXXXXXX/BXXXXXXX/XXXXXXXXXX
On matter creation callback code like below:
client = Slack::Notifier.new web_hook_url_from_environment_var
client.ping message, {channel: '#channel-name-configured-into-assoc-account'}
Should I configure/initialize associated channel's webhook url?