Configura notificaciones de Slack usando el 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 Me gusta

@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 Me gusta

@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 me gusta

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 Me gusta

@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 Me gusta

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 Me gusta

Puedo recibir notificaciones en mi canal de Slack cada vez que alguien publica un nuevo mensaje en Discourse (si se agrega una etiqueta determinada al mismo tiempo).
Pregunta: ¿Es posible activar notificaciones de Slack solo CUANDO se agrega una nueva etiqueta a un tema de Discourse existente (supongamos que el tema se creó antes)?

1 me gusta

Hola: hemos configurado la integración y estamos recibiendo las notificaciones de Slack para los temas de nuestra categoría de soporte, pero ¿es posible también tener un resumen diario de las publicaciones de todo el foro (es decir, para informarnos de la actividad, pero no de los problemas urgentes)?

Podría valer la pena decir que si te saltas la sección de comandos de barra y vuelves más tarde para añadirla, te pide que instales la aplicación de nuevo, lo que deshabilita el plugin de chat por alguna razón y obtienes el error de envío.

Así que, si vuelves para añadir los comandos de barra, asegúrate de volver a añadir los tokens y la información básica en el panel de administración.

Tengo una pregunta sobre permisos.
Me gustaría poder ejecutar /discourse post solo yo, como propietario del espacio de trabajo de Slack. En otras palabras, no quiero que otros usuarios vean la aplicación de integración de Discourse, o si la ven, no quiero que puedan ejecutar /discourse post. ¿Es posible?

¡Hola @david y otros miembros de la comunidad!

Por lo que puedo decir, parece que necesito configurar cada subcategoría por separado en Discourse para poder publicarla en Slack.

En otras palabras, no puedo simplemente especificar la categoría general para que se envíe a Slack y luego esperar que todas las subcategorías de esa categoría también se envíen a Slack.

Parece que necesito configurar cada subcategoría por separado. ¿Es esto correcto?

Idealmente, me encantaría simplemente elegir una categoría para enviar a Slack y que todas las subcategorías formen parte de ella automáticamente.

Gracias,
Scott

Tengo el mismo problema. ¿Cómo recibo notificaciones de Slack cuando se agrega una etiqueta a una publicación existente?

Creo que se agregó un filtro para ‘tag added to topic’, que creo que debería hacer lo que quieres:

1 me gusta

Esto tampoco funciona. Ya lo intenté.

1 me gusta

ese filtro solo funciona si el usuario está creando una nueva publicación con esa etiqueta. Si la etiqueta se está agregando a un tema existente, entonces no activa la notificación.

1 me gusta

Mmm. Por el nombre del commit, parece que se supone que se activa cuando se cambian las etiquetas. :thinking:

Déjame ver qué puedo averiguar. :+1: