# N8n support for Discourse - Automation Tool

**URL:** https://meta.discourse.org/t/n8n-support-for-discourse-automation-tool/176053
**Category:** General
**Created:** [January 14, 2021, 5:17am UTC](https://meta.discourse.org/t/n8n-support-for-discourse-automation-tool/176053 "2021-01-14T05:17:00Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![sunjam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sunjam/32/175682_2.png) [@sunjam](https://meta.discourse.org/u/sunjam)
#### Post date: [January 14, 2021, 5:17am UTC](https://meta.discourse.org/t/n8n-support-for-discourse-automation-tool/176053/1 "2021-01-14T05:17:00Z")

</div>

Continuing the discussion from [How to make requests to the Discourse API with Zapier](https://meta.discourse.org/t/how-to-make-requests-to-the-discourse-api-with-zapier/122126/9):

> **[Best apps & software integrations | n8n](https://n8n.io/integrations)**
>
> Optimize your workflows with these top software integrations. Seamlessly move and transform data between different apps with n8n.

Open source variation of Zapier and IFTTT, similar to [Node-Red](https://nodered.org/) and [TriggerHappy](https://trigger-happy.readthedocs.io/en/latest/), 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](https://global.discourse-cdn.com/meta/original/3X/b/d/bdafe9e32692850f8478a01a2fdeb8fa331d8efb.jpeg)

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [January 14, 2021, 3:04pm UTC](https://meta.discourse.org/t/n8n-support-for-discourse-automation-tool/176053/2 "2021-01-14T15:04:09Z")

</div>

Does it currently support discourse?

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

---

<div class="post-metadata">

### Author: ![sunjam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sunjam/32/175682_2.png) [@sunjam](https://meta.discourse.org/u/sunjam)
#### Post date: [January 15, 2021, 6:17pm UTC](https://meta.discourse.org/t/n8n-support-for-discourse-automation-tool/176053/3 "2021-01-15T18:17:25Z")

</div>

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](https://n8n.io/integrations/), a few things come to mind. [This post on integrating IFTTT is really helpful](https://meta.discourse.org/t/generate-new-topics-posts-and-pm-via-ifttt/61336) for triggering Posts, Topics and PM’s.

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

- I see there is an [IFTTT chat integration plugin](https://github.com/davidtaylorhq/discourse-chat-ifttt) available already, but [not sure on it’s status](https://meta.discourse.org/t/ifttt-chat-integration-plugin-curious-on-status/176052)

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.

---

<div class="post-metadata">

### Author: ![sunjam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sunjam/32/175682_2.png) [@sunjam](https://meta.discourse.org/u/sunjam)
#### Post date: [March 21, 2021, 2:59pm UTC](https://meta.discourse.org/t/n8n-support-for-discourse-automation-tool/176053/4 "2021-03-21T14:59:23Z")

</div>

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 
> 
> ```

> **[Discourse integrations | Workflow automation with n8n](https://n8n.io/integrations/discourse/)**
>
> Integrate Discourse with hundreds of other apps. Create sophisticated automations between Discourse and your stack using n8n. Free and source-available.

---

<div class="post-metadata">

### Author: ![Franz1](https://avatars.discourse-cdn.com/v4/letter/f/8e7dd6/32.png) [@Franz1](https://meta.discourse.org/u/Franz1)
#### Post date: [May 18, 2022, 12:46pm UTC](https://meta.discourse.org/t/n8n-support-for-discourse-automation-tool/176053/5 "2022-05-18T12:46:23Z")

</div>

One very interesting thing to do would be to transfer to Mautic information about activity on Discourse, to identify users that that put more energy into Discourse. So, for example opening a new thread or replying would result in a transfer of this information to Mautic.

---

<div class="post-metadata">

### Author: ![satonotdead](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/satonotdead/32/447830_2.png) [@satonotdead](https://meta.discourse.org/u/satonotdead)
#### Post date: [April 30, 2023, 6:12pm UTC](https://meta.discourse.org/t/n8n-support-for-discourse-automation-tool/176053/6 "2023-04-30T18:12:16Z")

</div>

I understand that’s possible with N8N. I will get into this workflow soon because we get rid of Mailerlite and have plans to integrate and simplify out communication soon.

---

<div class="post-metadata">

### Author: ![bitmage](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bitmage/32/389881_2.png) [@bitmage](https://meta.discourse.org/u/bitmage)
#### Post date: [June 8, 2024, 6:12pm UTC](https://meta.discourse.org/t/n8n-support-for-discourse-automation-tool/176053/7 "2024-06-08T18:12:18Z")

</div>

One obvious way to use n8n is with Discourse’s pre-existing RSS feeds.

> [@Enabling RSS feed on Discourse setup](https://meta.discourse.org/t/enabling-rss-feed-on-discourse-setup/55647/7):
>
> It’s totally obvious! But only after you know. wink

> **[RSS Feed Trigger node documentation | n8n Docs](https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.rssfeedreadtrigger/)**
>
> Learn how to use the RSS Feed Trigger node in n8n. Follow technical documentation to integrate RSS Feed Trigger node into your workflows.

I use RSS as a way to set up an active search for terms that I’m interested in across different platforms. RSS is the one protocol that pretty much everything speaks, or can be translated into ( e.g. [rss-bridge](https://github.com/RSS-Bridge/rss-bridge)).

It looks like someone has built an [n8n node for Discourse](https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.discourse/), so that will probably be pretty easy to use. And as the documentation says, if any API calls you’re expecting aren’t supported you can always drop down to the [HTTP Node and make REST calls](https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.httprequest/) if you know what you’re doing.

I’ve used n8n for marketing automations and I think it’s a pretty decent tool. I’m happy that it’s open source, which I think makes a much stronger case for owning your intellectual property, i.e. not building out a huge part of your business logic on a propriety platform subject to rate changes and arbitrary deplatforming. So there might be some common sentiment with those in the Discourse community.
