ZBrain Documentation
  • ZBrain Documentation
    • ZBrain XPLR
      • ZBrain XPLR modules
      • Get started with ZBrain XPLR
      • Simulation XPLR
      • Solution XPLR
      • Portfolio XPLR
      • Functional Design XPLR
    • ZBrain Builder
      • Components of ZBrain Builder
      • 📚Knowledge base
        • How to create a knowledge base?
        • Knowledge source
        • Information schema
        • File summary
        • Automated reasoning
        • Retrieval testing
        • Knowledge base settings
      • 📱App
        • How to leverage knowledge base for app creation
        • How to set up and customize your app?
        • How to access the app reporting dashboard?
      • 🤖ZBrain AI agents
        • Get started with agents on ZBrain Builder
        • 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
  • How to Integrate Discourse with ZBrain Flow
  • How to Create a Discourse Connection in ZBrain Flow
  • Actions Available in ZBrain Flow
  1. ZBrain Documentation
  2. ZBrain Builder
  3. ZBrain AI agents
  4. Creating custom AI agents
  5. Define Flow
  6. Flow Components

Discourse

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.

PreviousDiscordNextDrip

Last updated 1 month ago

🤖