What it is for
Modern open source forum software
Discourse triggers react instantly to events in the app.
Set up the connection
Authentication type: Custom credentials
- 1Sign in to Discourse and look for the API or integrations section in its settings.
- 2Create an API key or token with the permissions you need and copy it.
- 3In flooows, add a Discourse step, click "Connect" and paste it into: API Key, API Username, Website URL.
- 4Save the connection: it is stored encrypted and is never shown in plain text.
| Connection field | Type | Required |
|---|---|---|
| API Key | Secret key | Yes |
| API Username | Text | Yes |
| Website URL | Text | Yes |
Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.
How to use it in a flow
- Create Post: fill in Post Content, Topic ID; use the data selector to map values from earlier steps.
- Create Topic: fill in Topic Title, Topic Content; use the data selector to map values from earlier steps.
- Change User Trust Level: fill in User ID, New Trust Level; use the data selector to map values from earlier steps.
Tips
- •Test each step before publishing to see the exact output structure.
- •Enable retries on steps that call external services.
Triggers (5)
Events that can start a flow. Expand each one to see its fields.
New PostWebhook (paste the URL in the app)2 fields
| Field | Type | Required |
|---|---|---|
| Include First Posts of New Topics | Yes / No | No |
| Include Private Messages | Yes / No | No |
New TopicWebhook (paste the URL in the app)1 fields
| Field | Type | Required |
|---|---|---|
| Include Private Messages | Yes / No | No |
New UserWebhook (paste the URL in the app)0 fields
No fields to configure.
Post EditedWebhook (paste the URL in the app)1 fields
| Field | Type | Required |
|---|---|---|
| Include Private Messages | Yes / No | No |
User Added to GroupWebhook (paste the URL in the app)1 fields
| Field | Type | Required |
|---|---|---|
| Group ID | Text | No |
Actions (6)
Operations available as flow steps. Expand each one to see its fields.
Create Post2 fields
| Field | Type | Required |
|---|---|---|
| Post Content | Long text | Yes |
| Topic ID | List (from your account) | Yes |
Create Topic3 fields
| Field | Type | Required |
|---|---|---|
| Topic Title | Text | Yes |
| Topic Content | Long text | Yes |
| Category ID | List (from your account) | No |
Change User Trust Level2 fields
| Field | Type | Required |
|---|---|---|
| User ID | Text | Yes |
| New Trust Level | List (from your account) | Yes |
Add Users to Group2 fields
| Field | Type | Required |
|---|---|---|
| Group Id | List (from your account) | Yes |
| Users | List of values | Yes |
Send Private Message4 fields
| Field | Type | Required |
|---|---|---|
| Message Title | Text | Yes |
| Message Content | Long text | Yes |
| Users | List of values | Yes |
| Groups | List of values | No |
Custom API Call10 fields
| Field | Type | Required |
|---|---|---|
| url | Dynamic fields | Yes |
| Method | Fixed list | Yes |
| Headers | Key / value pairs | No |
| Query Parameters | Key / value pairs | No |
| Body Type | List (from your account) | No |
| Body | Dynamic fields | No |
| Response is Binary | Yes / No | No |
| Return Error as Output | Yes / No | No |
| Timeout | Number | No |
| Follow redirects | Yes / No | No |
Common errors
Authentication error
The connection expired or the key was revoked: reconnect it from Connections.
Field not found or empty
Re-test the previous step and remap the field in the data selector.
Field types
"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps
