Configure notificações do Slack usando o 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 curtidas

@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 curtidas

@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 curtida

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 curtidas

@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 curtidas

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 curtidas

Sou capaz de receber notificações no meu canal do Slack toda vez que alguém publica uma nova mensagem no Discourse (se uma determinada tag for adicionada ao mesmo tempo).
Pergunta: é possível acionar notificações do Slack apenas QUANDO uma nova tag é adicionada a um Tópico do Discourse existente (vamos supor que o Tópico foi criado antes)?

1 curtida

Olá - configuramos a integração e estamos recebendo as notificações do Slack para tópicos em nossa categoria de suporte - mas também é possível ter um resumo diário de postagens em todo o fórum (ou seja, para nos informar sobre a atividade, mas não sobre questões urgentes)?

Pode valer a pena dizer que, se você pular a seção de comandos de barra e voltar mais tarde para adicioná-la, ele solicitará que você instale o aplicativo novamente, o que desabilita o plugin de chat por algum motivo e gera o erro de despacho.

Portanto, se você voltar para adicionar os comandos de barra, certifique-se de adicionar os tokens e as informações básicas novamente no painel de administração.

Tenho uma pergunta sobre permissões.
Gostaria de poder executar /discourse post apenas por mim, e somente por mim, como proprietário do workspace do Slack. Em outras palavras, não quero que outros usuários sequer vejam o aplicativo Discourse Integration, ou se virem, não quero que eles possam executar /discourse post. É possível?

Olá @david e outros membros da comunidade!

Pelo que entendi, parece que preciso configurar cada subcategoria separadamente no Discourse para que ela seja enviada ao Slack.

Em outras palavras, não posso simplesmente especificar a categoria principal para ser enviada ao Slack e esperar que todas as subcategorias dessa categoria também sejam enviadas.

Parece que preciso configurar cada subcategoria separadamente. Isso está correto?

Idealmente, eu gostaria de apenas escolher uma categoria para enviar ao Slack e que todas as subcategorias fizessem parte dela automaticamente.

Obrigado,
Scott

Encontrando o mesmo problema. Como recebo notificações do Slack quando uma tag é adicionada a uma postagem existente?

Acredito que houve um filtro adicionado para ‘tag adicionada ao tópico’, que acho que deve fazer o que você quer:

1 curtida

Isso não está funcionando tão bem. Já tentei isso.

1 curtida

esse filtro só funciona se o usuário estiver criando uma nova postagem com essa tag. Se a tag estiver sendo adicionada a um tópico existente, a notificação não será disparada.

1 curtida

Hmmm. Pelo nome do commit, parece que ele deveria ser acionado quando as tags são alteradas. :thinking:

Vou ver o que consigo descobrir. :+1: