LIVEAI Bootcamps · May 2026 · 🇫🇷 CET
Resources · Integrations · n8n FREE · 2026Discourse logo featuring text in bold font with a stylized speech bubble icon

DISCOURSE n8n INTEGRATION: AUTOMATE DISCOURSE WITH N8N

DISCOURSE N8N INTEGRATION: AUTOMATE DISCOURSE WITH N8N

Need help

Need help automating Discourse with n8n?

Our team will get back to you in minutes.

Reply within 1 business hour
Why automate

Why automate Discourse with n8n?

The Discourse n8n integration provides 16 distinct actions covering users, posts, groups, and categories. This means you can build comprehensive automation workflows that handle nearly every aspect of your community management—from onboarding new members to organizing discussions.

Time savings become significant when you eliminate manual tasks. Instead of logging into Discourse to create users one by one, you can automatically provision accounts when someone completes a form, purchases a product, or registers through your main application. No more copying and pasting usernames or manually assigning group memberships. Set up your workflow once, and n8n handles the repetitive work 24/7.

Responsiveness improves dramatically with automated group management. When a customer upgrades their subscription, instantly add them to a premium group. When someone's trial expires, automatically remove their access. Your community permissions stay perfectly synchronized with your business systems without any manual intervention.

Concrete workflow examples include: syncing CRM contacts via HubSpot to Discourse users, automatically posting announcements when you publish new content, bulk-managing group memberships based on payment status, and creating organized category structures for new product launches. The Discourse n8n integration connects your forum to over 400 other applications, making it the central hub for community automation.

Credentials

How to connect Discourse to n8n?

  1. !
    1 step

    How to connect Discourse to n8n?

    1. 01

      Add the node

      Search and add the node in your workflow.

    Discourse credentials
    TIP
    💡 TIP: Create a dedicated API user in Discourse specifically for n8n automations. This makes it easier to track automated actions in your forum logs and allows you to revoke access without affecting other integrations. Also, consider using read-only keys for workflows that only fetch data to minimize security risks.
Need help

Need help automating Discourse with n8n?

Our team will get back to you in minutes.

Reply within 1 business hour
Actions

Discourse actions available in n8n

  1. 01
    Action 01

    Remove a user from a group

    The counterpart to adding users, this action removes members from specified groups. Critical for maintaining accurate permissions when subscriptions expire or access should be revoked.

    Key parameters: Credential to connect with (Discourse credentials for authentication, required), Resource (set to "User Group" for group membership operations), Operation (set to "Remove" to revoke group membership), Usernames (the username(s) to remove from the group, accepts expressions, required), and Group ID (the identifier of the group to remove users from, required).

    Use cases: Automatically revoke access when a subscription expires or payment fails, remove users from beta groups after a testing period ends, clean up group memberships when employees leave an organization. Pair this with payment webhooks from Stripe to keep premium access perfectly synchronized with billing status.

    Remove a user from a group
  2. 02
    Action 02

    Add a user to a group

    This action adds one or more users to a specific group in Discourse. Groups control permissions, access to categories, and community features—making this essential for membership automation.

    Key parameters: Credential to connect with (your Discourse authentication, required), Resource (set to "User Group" since we're managing group membership), Operation (set to "Add" to add users to a group), Usernames (text field accepting one or multiple usernames, use comma-separated values or expressions for dynamic input, required), and Group ID (the unique identifier of the target group, find this in your Discourse admin panel, required).

    Use cases: Automatically grant premium access when a customer upgrades their subscription, add users to course-specific groups after they enroll in your learning platform, assign team groups based on company data from your CRM. This is one of the most powerful actions for managing gated communities and tiered access systems.

    Add a user to a group
  3. 03
    Action 03

    Get many users

    This action fetches multiple user records from Discourse in a single operation. Perfect for bulk operations, reporting, or syncing your community member list with external systems.

    Key parameters: Credential to connect with (Discourse account credentials, required), Resource (set to "User" for user-related operations), Operation (set to "Get Many" to retrieve multiple records), Flag (optional field to filter users by specific criteria or flags supported by the Discourse API), Return All (toggle on to fetch all users without limits; when off, uses the Limit parameter), and Limit (number field to cap results, default is 50—increase or decrease based on your needs).

    Use cases: Export your entire community member list for analysis or backup, sync Discourse users to your email marketing platform, build dashboards showing community growth and membership statistics. Pro tip: Combine with the Loop node in n8n to process each user individually for bulk updates or notifications.

    Get many users
  4. 04
    Action 04

    Get a user

    The "Get a user" action retrieves detailed information about a specific member from your Discourse community. Use this to check user status, verify membership, or pull profile data into other parts of your workflow.

    Key parameters: Credential to connect with (your Discourse account authentication, required), Resource (set to "User" to indicate you're working with user data), Operation (set to "Get" for retrieving a single user's information), By (specify how to identify the user—currently supports "Username" lookup), and Username (enter the exact username to fetch, accepts expressions for dynamic lookups).

    Use cases: Verify if a user exists before attempting to create a duplicate account, pull user profile data to personalize email campaigns or CRM records, check user activity or status before granting access to external resources.

    Get a user
  5. 05
    Action 05

    Create a user

    The "Create a user" action allows you to programmatically add new members to your Discourse community directly from n8n workflows. This is essential for automating user onboarding when people register through external systems like your main application, CRM, or e-commerce platform.

    Key parameters: Credential to connect with (select your authenticated Discourse account from the dropdown, required for all API operations), Name (text field for the user's display name, accepts fixed values or dynamic expressions from previous workflow nodes), Email (the user's email address, required for account creation and verification), Username (the unique identifier for the user in Discourse, must follow your forum's username rules), Password (set an initial password for the account, can be dynamically generated or passed from another system), and Additional Fields (expand this section to add optional properties like user groups, bio, or custom fields).

    Use cases: Automatically create Discourse accounts when users sign up for your SaaS product, provision community access after a successful payment in Stripe or Gumroad, sync contacts from HubSpot or Salesforce to your community forum. This action pairs perfectly with welcome email workflows—create the user, then trigger a personalized onboarding sequence.

    Create a user
  6. 06
    Action 06

    Update a post

    Modify existing post content in Discourse. Use this for automated corrections, scheduled updates, or dynamic content that needs refreshing.

    Key parameters: Credential to connect with (Discourse account credentials, required), Resource (set to "Post" for post operations), Operation (set to "Update" to modify existing content), Post ID (the identifier of the post to update, required), Content (the new content to replace the existing post body), and Update Fields (additional parameters for other updateable properties).

    Use cases: Automatically update pinned posts with fresh statistics or dates, correct content based on moderation workflows, refresh automated reports that are posted regularly.

    Update a post
  7. 07
    Action 07

    Get many posts

    Fetch multiple posts from your Discourse forum in a single operation. Ideal for content analysis, backup workflows, or building activity feeds.

    Key parameters: Credential to connect with (your Discourse credentials, required), Resource (set to "Post" for content operations), Operation (set to "Get Many" for bulk retrieval), Return All (toggle to fetch all posts—caution: this can be large datasets), and Limit (set maximum number of posts to return when Return All is off, default is 50).

    Use cases: Export recent discussions for community reports or analytics, monitor forum activity and feed it into notification systems, build automated content digests for email newsletters.

    Get many posts
  8. 08
    Action 08

    Get a post

    Retrieve the details of a specific post by its ID. Useful for checking content, verifying successful creation, or pulling post data into other workflow steps.

    Key parameters: Credential to connect with (Discourse authentication, required), Resource (set to "Post" for post-related operations), Operation (set to "Get" to retrieve a single post), and Post ID (the unique identifier of the post you want to fetch, required).

    Use cases: Verify that an automated post was created successfully before sending notifications, pull post content for moderation workflows or content analysis, fetch post details to include in automated reports or digests.

    Get a post
  9. 09
    Action 09

    Create a post

    The "Create a post" action publishes new content to your Discourse forum automatically. Whether it's announcements, automated reports, or user-generated content from other platforms, this action handles it.

    Key parameters: Credential to connect with (your Discourse account, required), Resource (set to "Post" for content operations), Operation (set to "Create" for publishing new posts), Title (the post title that will appear in your forum, required for new topics), Content (the main body of your post, supports both fixed text and dynamic expressions for personalized content), and Additional Fields (add optional parameters like category assignment, tags, or posting as a specific user).

    Use cases: Auto-post weekly summaries or reports generated by your analytics tools, create announcement posts when you publish new blog content or product updates, bridge content from Slack or Discord channels to your Discourse community.

    Create a post
  10. 10
    Action 10

    Create a group

    Programmatically create new groups in Discourse. Perfect for dynamically generating communities for new cohorts, courses, or organizational units.

    Key parameters: Credential to connect with (Discourse authentication, required), Resource (set to "Group" for group management), Operation (set to "Create" for generating new groups), and Name (the name for your new group, required, must be unique in your Discourse instance).

    Use cases: Automatically create groups for new course cohorts when enrollments open, generate team groups based on organizational data from your HR system, create event-specific groups for conferences or workshops.

    Create a group
  11. 11
    Action 11

    Get a group

    Retrieve information about a specific group by its name. Useful for checking group existence or pulling group details into your workflows.

    Key parameters: Credential to connect with (your Discourse account, required), Resource (set to "Group" for group operations), Operation (set to "Get" for single group retrieval), and Name (the exact name of the group to fetch, required).

    Use cases: Verify a group exists before attempting to add members, pull group metadata for reporting or synchronization workflows, check group settings before making automated changes.

    Get a group
  12. 12
    Action 12

    Get many groups

    Fetch multiple groups from your Discourse instance. Essential for auditing, reporting, or syncing group data with external systems.

    Key parameters: Credential to connect with (Discourse credentials, required), Resource (set to "Group" for group-related operations), Operation (set to "Get Many" for bulk retrieval), Return All (toggle to fetch all groups in your instance), and Limit (maximum groups to return when Return All is off, default is 50).

    Use cases: Audit all groups in your community for access review, sync group structures with your organization's directory, generate reports on community segmentation.

    Get many groups
  13. 13
    Action 13

    Update a group

    Modify existing group properties like name or settings. Use this to keep your group structure in sync with external changes.

    Key parameters: Credential to connect with (Discourse authentication, required), Resource (set to "Group" for group management), Operation (set to "Update" for modifications), Group ID (the identifier of the group to update, required), and Name (the new name for the group, optional—only if renaming).

    Use cases: Rename groups when organizational structures change, update group properties based on external system changes, batch-modify group settings through automation.

    Update a group
  14. 14
    Action 14

    Update a category

    Modify existing category properties including name, colors, and settings. Keep your forum organization current with automated updates.

    Key parameters: Credential to connect with (Discourse authentication, required), Resource (set to "Category" for category management), Operation (set to "Update" for modifications), Category ID (the identifier of the category to update, required), Name (new name for the category, optional), and Update Fields (additional category properties to modify).

    Use cases: Rename categories to reflect updated branding or terminology, change category colors for seasonal themes or reorganization, archive or modify categories when products or features are deprecated.

    Update a category
  15. 15
    Action 15

    Get many categories

    Retrieve multiple categories from your Discourse forum. Perfect for navigation building, content organization audits, or sync operations.

    Key parameters: Credential to connect with (Discourse credentials, required), Resource (set to "Category" for category operations), Operation (set to "Get Many" for bulk retrieval), Return All (toggle to fetch all categories), and Limit (maximum categories to return, default is 50).

    Use cases: Build dynamic navigation menus based on forum structure, audit category organization for cleanup or restructuring, sync category lists with documentation or external sites.

    Get many categories
  16. 16
    Action 16

    Create a category

    Create new discussion categories in Discourse programmatically. Useful for organizing content around new products, events, or topics.

    Key parameters: Credential to connect with (your Discourse account, required), Resource (set to "Category" for category operations), Operation (set to "Create" for new category generation), Name (the name for your new category, required), Color (hex color code for the category badge, e.g., "0000FF" for blue, optional but recommended), and Text Color (hex color for the category label text, optional).

    Use cases: Automatically create categories for new product launches, generate course-specific discussion areas when new programs start, create event categories for conferences or webinars.

    Create a category
You've seen the integration

Build your first workflow with our team

Drop your email and we'll send you the catalog of automations you can ship today.

  • Free n8n & Make scenarios to import
  • Step-by-step setup docs
  • Live cohort + community support

Frequently asked questions

  • Is the Discourse n8n integration free to use?
    Yes, the Discourse integration is included with n8n at no additional cost. If you're using n8n Cloud, you can access all 16 Discourse actions within your plan's execution limits. Self-hosted n8n users get unlimited access to the integration. The only requirement is having API access to your Discourse instance, which is available on all Discourse hosting tiers including their free community option. There are no per-action fees or premium tiers for the Discourse n8n connection.
  • Can I automate user provisioning between my app and Discourse?
    Absolutely. The Discourse n8n integration excels at user lifecycle automation. You can use the "Create a user" action to automatically provision Discourse accounts when users sign up through your main application, complete a purchase, or meet specific criteria in your CRM. Combine this with "Add a user to a group" to immediately assign appropriate permissions. For deprovisioning, use "Remove a user from a group" when subscriptions expire. Connect n8n to your authentication system via webhooks, and you'll have fully automated community access management.
  • How do I sync Discourse groups with external membership systems?
    The integration provides complete group management through the "Add a user to a group" and "Remove a user from a group" actions. Set up a workflow that triggers when membership changes in your payment processor (Stripe, Paddle), LMS (Teachable, Thinkific), or CRM (HubSpot, Salesforce). Use the "Get many users" action to compare current Discourse membership against your source of truth, then batch-process additions and removals. Most teams set this up to run on webhooks for real-time sync or scheduled triggers for daily reconciliation. Our n8n agency can help you build these complex workflows.
Hack'celeration Lab

Get our weekly integration tips.

No spam. Unsubscribe anytime.