
Connectors / Marketing · HTTP Connector
Automate Discourse with Tray.ai
Update a topic, create a post and create a category in Discourse, and start a workflow when Discourse sends “Topic created”.
Thanks — someone from our team will be in touch soon.
What can you do with Discourse on Tray.ai?
Discourse is open-source community forum software, hosted or self-run, where members discuss topics in categories and moderators manage users, groups, and badges. Tray.ai connects to Discourse through the HTTP Connector, so your workflows can call the Discourse API alongside the rest of your stack.
- Connects through
- HTTP Connector
- Authentication
- An API key in a request header
- Base URL
- https://{defaultHost}
What the Discourse API covers
6 resources and 24 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow.
Topics
- Get latest topics
- Get a topic
- Update a topic
- Remove a topic
- Update topic status
Posts
- List latest posts
- Create a post
- Update a post
- Delete a post
Categories
- List categories
- Create a category
- Update a category
Users
- List users
- Create a user
- Update a user
- Suspend a user
- Delete a user
Groups
- List groups
- Create a group
- Add group members
- Remove group members
Badges
- List badges
- Create a badge
- Grant a badge to a user
Events Discourse can send to a Tray.ai webhook trigger
- Topic created
- Topic destroyed
- Post created
- Post destroyed
- User created
- User approved
Checked against Discourse's own documentation on 2026-10-22
How Tray.ai makes this work
Discourse plugs into the whole Tray.ai platform
Intelligent Integration
Integrate and automate across 700+ connectors with visual workflows, error handling, and observability.
Learn more →Agent Builder
Build AI agents that read, write, and take action in Discourse — with guardrails, audit, and human-in-the-loop.
Learn more →Agent Gateway for MCP
Expose Discourse actions as governed MCP tools — observable, rate-limited, authenticated.
Learn more →More marketing apps on Tray.ai
Dedicated connectors and other apps Tray.ai reaches in the same category. See every marketing connector →
Frequently asked questions
What can a Tray.ai workflow do in Discourse?
+
The Discourse API documents 24 actions across 6 resources (Topics, Posts, Categories, Users, Groups, Badges). For example: Get latest topics; List latest posts; List categories. A workflow can make any documented call through the HTTP Connector.
How does Tray.ai authenticate with Discourse?
+
The Discourse API uses an API key in a request header. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.
Which Discourse events can start a Tray.ai workflow?
+
Discourse sends 6 events to a webhook URL, for example: Topic created; Topic destroyed; Post created; Post destroyed; User created; User approved. A Tray.ai webhook trigger receives them and starts a workflow.
See Discourse working against your stack.
We'll walk through a tailored demo with your systems plugged in.
Thanks — someone from our team will be in touch soon.