Suporte ao N8n para Discourse - Ferramenta de Automação

Continuing the discussion from How to make requests to the Discourse API with Zapier:

Open source variation of Zapier and IFTTT, similar to Node-Red and TriggerHappy, which is easy to use and currently supports about 150 apps. Could be a useful way to automate posting to a particular topic / category / group or perhaps sending custom notifications. Linked site includes all documentation for writing custom integrations. Curious on potential ways to implement this with Discourse.

n8n.PNG

4 curtidas

Does it currently support discourse?

Is there a particular thing that you’d like to do with it?

1 curtida

I was curious on what others think… my mind has been concerned with chat integrations based on tags triggering actions, and groups moderating things.

Looking over n8n current integrations, a few things come to mind. This post on integrating IFTTT is really helpful for triggering Posts, Topics and PM’s.

It would be awesome if a trigger could also relate to tags.

Integration might currently allow:

  • Custom Chat Notifications to unsupported services
  • Custom RSS feeds
  • Migrate Trello cards / boards to Discourse
  • Federate Posts, Topics, PM’s to Mastodon / Pleroma / ActivityPub
  • Creation of a particular Topic triggers a new chat room to be opened in Matrix and linked back as a Post.
  • Creation of a Topic on my Discourse causes the Topic to be posted on your Discourse as well.

One of the most interesting aspects of automation is it allows 2-way communication. Trello could be running in addition to the Kanban component on Discourse, continuously communicating. Or a conversation mirroring between Slack and Discourse. Hope this helps get the ideas flowing.

1 curtida

Big thanks to Harshil! You may now use:

category, user, user group, group, user post
 Create
Create a category
Get All
Get all categories
Update
Update a category 
 Add
Create a user to group
Remove
Remove user from group
 Create
Create a user
Get
Get a user
Get All
Get all users 
 Create
Create a post
Get
Get a post
Get All
Get all posts
Update
Update a post 
 Create
Create a group
Get
Get a group
Get All
Get all groups
Update
Update a group 
2 curtidas

Uma coisa muito interessante a se fazer seria transferir para o Mautic informações sobre a atividade no Discourse, para identificar usuários que dedicam mais energia ao Discourse. Assim, por exemplo, abrir um novo tópico ou responder resultaria na transferência dessas informações para o Mautic.

Entendo que isso é possível com o N8N. Entrarei neste fluxo de trabalho em breve porque nos livraremos do Mailerlite e planejamos integrar e simplificar nossa comunicação em breve.

Uma maneira óbvia de usar o n8n é com os feeds RSS pré-existentes do Discourse.

Eu uso RSS como uma forma de configurar uma pesquisa ativa por termos que me interessam em diferentes plataformas. O RSS é o único protocolo que praticamente tudo fala, ou pode ser traduzido para (por exemplo, rss-bridge).

Parece que alguém construiu um n8n node para Discourse, então isso provavelmente será bem fácil de usar. E como a documentação diz, se alguma chamada de API que você espera não for suportada, você sempre pode usar o HTTP Node e fazer chamadas REST se você souber o que está fazendo.

Eu usei o n8n para automações de marketing e acho que é uma ferramenta muito decente. Fico feliz que seja de código aberto, o que acho que torna um argumento muito mais forte para possuir sua propriedade intelectual, ou seja, não construir uma grande parte da sua lógica de negócios em uma plataforma proprietária sujeita a mudanças de taxas e desativação arbitrária. Portanto, pode haver algum sentimento comum com aqueles na comunidade Discourse.