# Access Discourse database with n8n

**URL:** https://meta.discourse.org/t/access-discourse-database-with-n8n/267490
**Category:** Support
**Created:** [June 7, 2023, 5:53am UTC](https://meta.discourse.org/t/access-discourse-database-with-n8n/267490 "2023-06-07T05:53:46Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![illusionandcards](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/illusionandcards/32/306500_2.png) [@illusionandcards](https://meta.discourse.org/u/illusionandcards)
#### Post date: [June 7, 2023, 5:53am UTC](https://meta.discourse.org/t/access-discourse-database-with-n8n/267490/1 "2023-06-07T05:53:46Z")

</div>

Hello!

I want to get the monthly active users ([Posts](https://club.magiaycardistry.com/about)) with n8n to store them and keep track of the growth of my forum.

I’ve done it through web scraping in n8n, and it works fine, but I was wondering if is it possible to make it in any other way, like accessing the database with n8n and doing queries?

It would be really helpful, not just for this, but for many other integrations.

Thanks!

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [June 7, 2023, 7:48am UTC](https://meta.discourse.org/t/access-discourse-database-with-n8n/267490/2 "2023-06-07T07:48:59Z")

</div>

The supported integrations are, I believe, documented here:

> **[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.

Discourse offers a [Data Explorer](https://meta.discourse.org/t/32566?silent=true) API that gives you ultimate flexibility, but may not yet be supported by n8n at present:

> [@Run Data Explorer queries with the Discourse API](https://meta.discourse.org/t/run-data-explorer-queries-with-the-discourse-api/120063):
>
> bookmark This guide explains how to use the Discourse API to create, run, and manage queries with the [Data Explorer](https://meta.discourse.org/t/32566?silent=true) plugin. person_raising_hand Required user level: Administrator Virtually any action that can be performed through the Discourse user interface can also be triggered with the Discourse API. This document provides a comprehensive overview for utilizing the API specifically in conjunction with the [Data Explorer](https://meta.discourse.org/t/32566?silent=true) plugin. For a general overview of how to find the correct API …

Perhaps there’s a way you can build the integration with that yourself using n8n developer tools?

You might get help with that at: [https://community.n8n.io/](https://community.n8n.io/)

---

<div class="post-metadata">

### Author: ![illusionandcards](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/illusionandcards/32/306500_2.png) [@illusionandcards](https://meta.discourse.org/u/illusionandcards)
#### Post date: [June 8, 2023, 8:05am UTC](https://meta.discourse.org/t/access-discourse-database-with-n8n/267490/3 "2023-06-08T08:05:09Z")

</div>

Thanks! I’ll check the documentation provided.
