ZBrain Documentation
  • ZBrain Documentation
    • Components of ZBrain
    • Getting started with ZBrain
    • 📚Knowledge base
      • How to create a knowledge base?
      • Knowledge source
      • Information schema
      • File summary
      • Automated reasoning
      • Retrieval testing
      • Knowledge base settings
    • 📱APP
      • How to create a new app?
      • How to set up and customize your app?
      • How to access the app reporting dashboard?
    • 🤖ZBrain AI agents
      • Get started with agents on ZBrain
      • Deploying pre-built agents
      • Creating custom AI agents
        • Agent setup
        • Define input sources
        • Define Flow
          • Key elements of a Flow
          • Flow Components
            • Activepieces Platform
            • AITable
            • Airtable
            • Amazon S3
            • Amazon SNS
            • Amazon SQS
            • Amazon Textract
            • Apify
            • Apollo
            • Approval
            • Asana
            • Azure Communication Services
            • Azure Cosmos DB
            • Azure Document Intelligence
            • Azure OpenAI
            • Azure Translation
            • Bannerbear
            • Baserow
            • Beamer
            • Bedrock Claude
            • Bettermode
            • Binance
            • Bing Search
            • Blackbaud
            • Bonjoro
            • Box
            • Brevo
            • Brilliant Directories
            • Bubble
            • CSV
            • Calendly
            • Certopus
            • Clearout
            • Clockodo
            • Code
            • Confluence
            • Connections
            • Constant Contact
            • Contiguity
            • Contentful
            • Customer.io
            • Crypto
            • Databricks
            • Data Mapper
            • Date Helper
            • DeepL
            • Delay
            • Discord
            • Discourse
            • Drip
            • Dropbox
            • Dust
            • Facebook Pages
            • Figma
            • Files Helper
            • Flowise
            • Flowlu
            • Formbricks
            • Frame
            • Freshdesk
            • Freshsales
            • GCloud Pub/Sub
            • GenerateBanners
            • GhostCMS
            • GitHub
            • GitLab
            • Gmail
            • Google Calendar
            • Google Contacts
            • Google Docs
            • Google Drive
            • Google Forms
            • Google Gemini
            • Google My Business
            • Google Search
            • Google Search Console
            • Google Sheets
            • Google Tasks
            • Groq
            • Hacker News
            • Heartbeat
            • HubSpot
            • HTTP
            • Image Helper
            • Inputs
            • Instagram for Business
            • Intercom
            • Invoice Ninja
            • Jira Cloud
            • Jotform
            • Kimai
            • Kizeo Forms
            • LeadConnector
            • Line Bot
            • Linear
            • LinkedIn
            • LinkedIn Actions
            • LLMRails
            • Lusha
            • MailerLite
            • Mailchimp
            • Mautic
            • Microsoft Dynamics 365 Business Central
            • Microsoft Dynamics CRM
            • Microsoft Excel 365
            • Microsoft OneDrive
            • Microsoft Outlook Calendar
            • Microsoft Teams
            • Mixpanel
            • MongoDB
            • Notion
            • Odoo
            • OpenAI
            • OpenRouter
            • Pastebin
            • PDF
            • Postgres
            • PostHog
            • Pushover
            • Qdrant
            • Queue
            • Razorpay
            • Router
            • Salesforce
            • SendGrid
            • ServiceNow
            • SFTP
            • SharePoint
            • Slack
            • SMTP
            • Snowflake
            • SOAP
            • Spotify
            • Stability AI
            • Stable Diffusion Web UI
            • Storage
            • Stripe
            • SurrealDB
            • SurveyMonkey
            • Taskade
            • Telegram Bot
            • Text Helper
            • Trello
            • Twilio
            • Twitter
            • Utilities
            • WhatsApp Business
            • WordPress
            • XML
            • YouTube
            • ZBrain
            • Zendesk
            • ZeroBounce
            • Zoho Books
            • Zoho CRM
            • Zoho Invoice
            • Zoom
          • How to Define a Flow?
          • How to Test Each Step in the Flow?
        • Configure Additional Settings
        • Test and Deploy Agents
        • How to access, monitor, and manage agent performance and tasks?
    • Settings
    • 📖API Tutorials
      • 📚Knowledge base
        • Automated Reasoning
      • 📱APP
      • 🤖Agents
Powered by GitBook
On this page

Discourse is an open-source discussion platform designed for online forums, communities, and team collaboration. It offers structured discussions, real-time notifications, trust-based moderation, and customizable integrations to enhance community engagement and knowledge sharing.

How to Integrate Discourse with ZBrain Flow

  1. Click the '+' button in ZBrain Flow.

  2. Search for Discourse in the list of available integrations.

  3. Select the desired action to configure it in the Flow.

How to Create a Discourse Connection in ZBrain Flow

  1. Enter Connection Name – Assign a name to identify your Discourse connection.

  2. Enter API Key – Required to authenticate requests.

  3. Enter API Username – The username associated with the API key.

  4. Obtain API Key and API Username by following these steps:

    • Log in to your Discourse Admin account.

    • Navigate to the Admin Panel:

      • Click on your profile picture (top-right).

      • Select ‘Admin’ from the dropdown.

    • Go to the API Section:

      • Click ‘Settings’ → ‘API’.

    • Generate a New API Key:

      • Click ‘New API Key’.

      • Fill in the details:

        • Description – Name your API key.

        • User Level – Choose All Users or Single User.

        • Scope – Set permissions (Granular, Read-only, or Global).

      • Click ‘Save’ to generate the API key.

    • Copy the API Key – You will only see it once, so store it securely.

    • If ‘Single User’ was selected, enter the username of the associated user.

  5. Enter Website URL – Provide your Discourse instance URL (e.g., https://discourse.yourinstance.com).

  6. Click ‘Save’ – Your Discourse connection is now set up in ZBrain Flow.

Actions Available in ZBrain Flow

1. Create Post

Create a new post on an existing Discourse topic.

How to Configure:

  • Select an existing connection or create one.

  • Enter the Post content.

  • Enter the Topic ID where the post should be created.

2. Create Topic

Start a new discussion topic in Discourse.

How to Configure:

  • Select an existing connection or create one.

  • Enter the post title.

  • Enter the topic content.

  • Enter the category ID to assign the topic.

3. Change User Trust Level

Modify a user's trust level in Discourse.

How to Configure:

  • Select an existing connection or create one.

  • Enter the user ID.

  • Enter the new trust level.

4. Add Users to a Group

Assign users to a specific group in Discourse.

How to Configure:

  • Select an existing connection or create one.

  • Enter the Group ID.

  • Add users by clicking ‘+ Add Item.’

5. Send Private Messages

Send a private message to specific users on Discourse.

How to Configure:

  1. Select an existing connection or create one.

  2. Enter the message title.

  3. Enter the message content.

  4. Add users by clicking ‘+ Add Item.’

6. Custom API Call

Perform a custom API request to a specific Discourse endpoint.

How to Configure:

  1. Select an existing connection or create one.

  2. Enter the HTTP Method – Choose from:

    • GET (Retrieve data)

    • POST (Send data)

    • PATCH (Modify data)

    • PUT (Update or replace data)

    • DELETE (Remove data)

    • HEAD (Fetch headers only)

  3. Add Headers – Define request headers using the provided input fields. Authorization headers are automatically injected from your connection.

  4. Add Query Parameters – Enter query parameters using the designated input fields to customize API requests.

  5. Enter JSON Body – Provide request data in JSON format.

  6. Set Timeout (in seconds) – Define the request timeout duration.

Last updated 1 month ago

  1. ZBrain Documentation
  2. 🤖ZBrain AI agents
  3. Creating custom AI agents
  4. Define Flow
  5. Flow Components

Discourse

PreviousDiscordNextDrip
  • How to Integrate Discourse with ZBrain Flow
  • How to Create a Discourse Connection in ZBrain Flow
  • Actions Available in ZBrain Flow