Search
discourse.search
ActionBusiness appsconnection required
Calls the Discourse API with the connection's credentials.
Search the forum for posts, topics, users, categories and groups.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- Discourse
- Secret shape
- the API key, or {"api_key": "…"}
- Config it needs
- base_url, api_username
- Resolved by
- config.connection_id, else node.connection_id
Configuration
2 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
query The search term, which may carry Discourse's own search grammar such as @username, #category-slug, tags:api, after:2026-01-01 or in:title. | string | Yes | — | — | deployment #support after:2026-01-01 |
page Which page of results to return; the first page is 1. | number | No | 1 | ≥ 1 | — |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"page": 1,
"query": "deployment #support after:2026-01-01"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
posts Matching posts, each with its topic id and excerpt. | array | — |
users Matching users. | array | — |
categories Matching categories. | array | — |
groups Matching groups. | array | — |
tags Matching tags. | array | — |
count How many posts this page carried. | number | — |
term The term Discourse searched for. | string | — |
more_posts True when further pages of posts exist. | boolean | — |
{
"categories": [],
"count": 0,
"groups": [],
"more_posts": false,
"posts": [],
"tags": [],
"term": "",
"users": []
}Related Discourse nodes
See Search run in a workflow.
In a technical demo we add the Discourse connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.