Set up Slack notifications using the discourse-chat-integration plugin

Thanks for the guide!

Like an earlier poster, I’m hitting these errors:

/discourse failed with the error "dispatch_failed"

image

What might I be missing? I double checked the information that I’ve pasted screenshots of below.

Are there debug logs available for this? I checked Error Logs in Admin, and also sudo ./launcher logs app.

Please let me know what additional info I can provide to help debug this. Thank you!


Oauth scopes:

Slash command params

Verification & Oauth tokens

image

Interactivity settings

image

@stanislaw after you first asked and David responded, I implemented threaded replies, with David’s advice.

That topic shows how to configure it.

「いいね!」 2

@Brad_Wood your suggestions and question sound interesting, so I don’t want them to get lost.

Would you mind moving the first 2 as a new topic in feature and tag it chat-integration, then moving your question to support a d tag it chat-integration too?

This would make it easier to follow/track and not get lost here.

I would have moved the post to a new topic for you, but seeing as you have feature requests and a question in the single post, I’d have to edit and create something new to move it, and I don’t want to do that.

「いいね!」 2

@osioke I have created two new topics as you requested, however it appears I don’t have permissions to add tags.

If you could help me tag these posts or let me know how to tag them, I would appreciate the assistance.

「いいね!」 1

Hi, I was running into this same issue (after following the steps exactly).

The thing that I was missing was enabling the top level chat integration plugin:

Enabling this got the integration to work as expected.

「いいね!」 3

@ililic Thank you! That was it. :man_facepalming:

(Would be good to explicitly add this to the top-level instructions! @david)

Good idea :+1: I added it to the first step in the OP here:

「いいね!」 3

What is the best way to set the bot to send Slack notification for ALL posts/replies in the forum?

Currently it seems that first you have to add all different topics separately and it still doesn’t work if someone posts in the subcategory of those topics.

A really odd thing happens when chat-integration is paired with DiscoTOC - automatic table of contents (cc @Johani)

The headings are now preceded by a link that does NOT go to the heading.

See screenshots below.
The original post

The preview in Slack

Result of clicking on the first link is just the homepage of the forum

「いいね!」 2

Slackチャンネルで、Discourseに新しいメッセージが投稿されたときに通知を受け取ることができます(同時に特定のタグが追加された場合)。
質問:既存のDiscourseトピックに新しいタグが追加されたときのみ(トピックが事前に作成されていると仮定)、Slack通知をトリガーすることは可能ですか?

「いいね!」 1

こんにちは。インテグレーションを設定し、サポートカテゴリのトピックに関するSlack通知を受け取っています。しかし、フォーラム全体の投稿を1日1回要約して受け取ることは可能でしょうか(つまり、緊急の問題ではなく、アクティビティを知らせるためです)。

スラッシュコマンドのセクションをスキップして後で追加しようとすると、アプリを再度インストールするように求められ、チャットプラグインが無効になり、ディスパッチエラーが発生する可能性があります。

したがって、スラッシュコマンドを追加するために戻る場合は、管理パネルでトークンと基本情報を再度追加してください。

権限に関する質問があります。
Slackワークスペースのオーナーである私だけが/discourse postを実行できるようにしたいです。言い換えると、他のユーザーにはDiscourse Integration Appが見えないようにしたい、または見えたとしても/discourse postを実行できないようにしたいのですが、可能でしょうか?

こんにちは、@david およびコミュニティの皆様!

私の理解では、Discourse で Slack に投稿したいすべてのサブカテゴリを個別に設定する必要があるようです。

つまり、Slack に送信する上位カテゴリを指定するだけで、そのカテゴリのすべてのサブカテゴリも Slack に送信されるというわけにはいかないということです。

各サブカテゴリを個別に設定する必要があるようですが、これは正しいでしょうか?

理想的には、Slack に送信するカテゴリを 1 つ選択するだけで、すべてのサブカテゴリが自動的にその一部になるようにしたいと考えています。

よろしくお願いします。
Scott

同じ問題に直面しています。既存の投稿にタグが追加されたときにSlack通知を受け取るにはどうすればよいですか?

「タグがトピックに追加された」に対するフィルターが追加されたと認識しております。これがご希望の動作をするものと思われます。

「いいね!」 1

これもあまりうまくいきません。すでに試しました。

「いいね!」 1

そのフィルターは、ユーザーがそのタグで新しい投稿を作成した場合にのみ機能します。既存のトピックにタグが追加された場合、通知はトリガーされません。

「いいね!」 1

うーん。コミット名からすると、タグが変更されたときにトリガーされるはずのようですね。:thinking:

調べてみますね。:+1: