Configura le notifiche Slack utilizzando il plugin discourse-chat-integration

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 Mi Piace

@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 Mi Piace

@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 Mi Piace

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 Mi Piace

@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 Mi Piace

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 Mi Piace

Sono in grado di ricevere notifiche sul mio canale Slack ogni volta che qualcuno pubblica un nuovo messaggio su Discourse (se viene aggiunta una certa tag contemporaneamente).
Domanda: è possibile attivare le notifiche Slack solo QUANDO viene aggiunta una nuova tag a un argomento Discourse esistente (supponiamo che l’argomento sia stato creato in precedenza)?

1 Mi Piace

Ciao, abbiamo configurato l’integrazione e stiamo ricevendo le notifiche Slack per gli argomenti nella nostra categoria di supporto, ma è anche possibile avere un riepilogo giornaliero dei post sull’intero forum (ad esempio, per informarci sull’attività, ma non sui problemi urgenti)?

Potrebbe valere la pena dire che se salti la sezione dei comandi slash e torni più tardi per aggiungerla, ti viene richiesto di installare nuovamente l’app, il che disabilita il plugin della chat per qualche motivo e si verifica un errore di dispatch.

Quindi, se torni per aggiungere i comandi slash, assicurati di aggiungere nuovamente i token e le informazioni di base nel pannello di amministrazione.

Ho una domanda sui permessi.
Vorrei poter eseguire solo /discourse post io stesso e solo io come proprietario dello spazio di lavoro di Slack. In altre parole, non voglio che altri utenti vedano nemmeno l’App di Integrazione Discourse, o se la vedono, non voglio che possano eseguire /discourse post. È possibile?

Ciao @david e altri membri della community!

Per quanto ne so, sembra che debba configurare separatamente ogni sottocategoria in Discourse che desidero inviare a Slack.

In altre parole, non posso semplicemente specificare la categoria principale da inviare a Slack e poi aspettarmi che tutte le sottocategorie di quella categoria vengano inviate a Slack.

Sembra che debba configurare ogni sottocategoria separatamente. È corretto?

Idealmente, vorrei solo scegliere una categoria da inviare a Slack e far sì che tutte le sottocategorie ne facciano automaticamente parte.

Grazie,
Scott

Stesso problema. Come posso ricevere notifiche Slack quando viene aggiunta una tag a un post esistente?

Credo che sia stato aggiunto un filtro per ‘tag added to topic’, che penso dovrebbe fare quello che vuoi:

1 Mi Piace

Non funziona neanche questo. Ci ho già provato.

1 Mi Piace

quel filtro funziona solo se l’utente sta creando un nuovo post con quel tag. Se il tag viene aggiunto a un argomento esistente, la notifica non viene attivata.

1 Mi Piace

Mmm. Dal nome del commit, sembra che dovrebbe attivarsi quando i tag vengono modificati. :thinking:

Vediamo cosa riesco a scoprire. :+1: