# Discourse Support Queue (`thescrapelab/discourse-support-queue`) Actor

Check unanswered support topics across Ask Fedora and Rust Users Forum. Export first-reply times, author follow-ups, explicit solutions and saved-task reply events.

- **URL**: https://apify.com/thescrapelab/discourse-support-queue.md
- **Developed by:** [Inus Grobler](https://apify.com/thescrapelab) (community)
- **Categories:** Automation, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.36 / 1,000 support topic checkeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Discourse Support Queue

Monitor public support topics across Ask Fedora and the Rust Users Forum. Get zero-reply questions, waiting times, first replies by anyone versus another person, and explicitly accepted solutions.

For community support operators authorized to monitor these forums. This initial version supports only the reviewed Ask Fedora and Rust help categories, not every Discourse site.

### Quick start

Choose your support categories, up to 100 topic checks per run, and a response target. Start the Actor, then export the dataset as JSON, CSV or Excel. Repeat a saved Apify Task to retain the monitor baseline. A manual run is a snapshot.

```json
{"forumCategoryUrls":["https://discussion.fedoraproject.org/c/ask/6","https://users.rust-lang.org/c/help/5"],"maxTopics":10,"responseTargetHours":24}
```

### Output

The dataset contains source topic facts and observed timing metrics. Keep `forum` and `topicId` together when joining exports. Seconds are numeric; timestamps use UTC.

One row per successfully checked topic. `topicId` is unique within `forum`; `topicUrl` links to the source. `firstReplyAnyoneSeconds` includes author follow-ups; `firstReplyOtherPersonSeconds` requires a different user ID. Null is unknown or not observed, never an invented zero. `zeroReplies` requires sufficient public evidence. `solutionStatus` is solved, unsolved or unknown. `acceptedSolutionUrls` identifies explicit solutions, including legitimate self-solutions. If earlier posts or reply-author identities are unavailable, first-response metrics remain unknown. Inspected system notices do not count as reader replies.

`newReplyEvents` contains confirmed new replies since the saved Task's previous successful check. The initial baseline does not alert on historical replies. Bumps and edits do not count as replies. No emails or external notifications are sent. `COVERAGE` reports source failures and partial completion separately. `MONITOR_LINKS` points to the saved Task’s current unresolved queue and persistent reply-event outbox. Event IDs remain stable for downstream deduplication. Failed checks preserve their last successful baseline.

### Example output

Captured from a real cloud test:

```json
{
  "forum": "discussion.fedoraproject.org",
  "topicId": 208182,
  "topicUrl": "https://discussion.fedoraproject.org/t/fedora-won-t-boot-into-kde-monitors-flicker-endlessly/208182",
  "title": "Fedora won’t boot into KDE, monitors flicker endlessly",
  "zeroReplies": true,
  "firstReplyAnyoneSeconds": null,
  "firstReplyOtherPersonSeconds": null,
  "solutionStatus": "unsolved",
  "observedAt": "2026-11-13T17:58:29.441Z"
}
```

### Limits

Only public regular posts are considered. Deleted/private history is unavailable. Topics exceeding 200 public posts are skipped with a coverage error. Each run checks at most 100 topics, paced at least three seconds apart per forum. Each saved Task tracks at most 1,000 topics and revisits the oldest unresolved entries first. Solved entries can retire to make room; unresolved entries are preserved. When unresolved tracking is full, new topics are deferred and coverage reports the limit. Reply-event history retains up to 10,000 events from the last 30 days; export events for longer retention. Missing solved fields remain unknown. Rust contributions before 17 July 2020 are excluded. Fedora defaults to CC BY-SA 4.0 and recent Rust contributions to MIT/Apache-2.0; retain attribution and observe individual license exceptions. This is not a guarantee of staff response, answer quality or a contractual SLA.

If a forum restricts access, the Actor records its Retry-After cooldown and remembers it across this account’s later runs. It may wait and retry once per forum when the server supplies a wait of at most two minutes and the run has enough time remaining. Otherwise that forum is paused. After a rate-limit response, requests to that forum are spaced at least four seconds apart for the next 24 hours. Without a usable cooldown value it waits at least one hour. Tracked topics that return 404 are excluded from the current queue for 24 hours, while their last successful baseline is preserved for a later recheck. Other forums can still produce useful partial results; inspect `COVERAGE` before treating the queue as complete. Use 10–100 checks for everyday monitoring. Leave at least an hour between full 100-check scans, and always respect any longer cooldown shown in `COVERAGE`. Avoid overlapping scans.

Run the same saved Task to maintain one monitor. Overlapping executions of that Task are refused to protect its baseline; create separate Tasks for independent monitors. A failed fetch does not advance its topic baseline or create a reply event. Coverage is a bounded observation window, not a historical export or a guarantee that every unresolved topic fits in the configured limit.

### Pricing

Pay per event: one charge for each successfully checked topic and a small charge for each Actor start. The current rates and subscription discounts are shown in the [Pricing tab](https://apify.com/thescrapelab/discourse-support-queue/pricing). Ordinary platform usage is included; there is no separate reply-event, pagination or retry fee.

Unchanged topic checks are billed because monitoring still fetches and verifies them. A day without replies costs the startup charge plus the rate for the number of completed checks. Failed checks do not incur result charges. Startup is charged even if a run produces no checks. Resurrecting an interrupted run incurs another startup event; already delivered topic rows are not charged again.

Set your run spending limit to control delivery. A spending-limited run may return fewer topics; inspect `COVERAGE` for its stop reason. There is no extra Actor event fee for exporting the queue or outbox.

### API example

```python
from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("thescrapelab/discourse-support-queue").call(run_input={
    "forumCategoryUrls": ["https://users.rust-lang.org/c/help/5"],
    "maxTopics": 10,
    "responseTargetHours": 24,
})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(row)
```

### FAQ

**Does it work without login?** Yes, on the supported public categories. It does not bypass access restrictions.

**Does a self-reply count as support?** It counts as a reply by anyone, but does not satisfy the other-person response metric.

**Is a closed topic solved?** Only an explicit accepted-answer signal establishes solved status.

### Field guide

| Fields | Meaning |
|---|---|
| `forum`, `topicId`, `topicUrl` | Source identity and original public link |
| `title`, `author`, `createdAt`, `observedAt` | Original topic title, opening username, creation and collection times |
| `zeroReplies` | True/false when established; null when unknown |
| `firstReplyAnyoneSeconds`, `firstReplyAnyoneUsername` | First regular reply, including author follow-ups |
| `firstReplyOtherPersonSeconds`, `firstReplyOtherPersonUsername` | First regular reply by a different source user ID |
| `waitingForOtherPersonSeconds` | Current wait when absence of an external response is established |
| `responseTargetHours`, `responseTargetStatus` | Your target and met/missed/waiting/overdue/unknown status |
| `solutionStatus`, `acceptedSolutionPostIds`, `acceptedSolutionUrls` | Explicit solved state and accepted post references |
| `publicPostCount`, `postContentComplete` | Public stream size and whether all bodies were loaded |
| `newReplyEvents` | Confirmed new post IDs, usernames, UTC times and source URLs since this saved Task baseline |
| `sourceTermsUrl`, `sourceLicense` | Source attribution and default reuse-license context |

### Use cases

Combine waiting topics from both communities in a support operations spreadsheet, distinguish an author's follow-up from an external response, and feed confirmed reply events to your own authorized automation. Discourse's native filters and watching notifications remain useful for one forum; this Actor provides a combined export and persistent check baseline. It does not send messages on your behalf.

**Why do I get fewer checks than requested?** Source restrictions, unavailable posts, the 200-post thread limit, the saved monitor capacity or your spending limit can stop collection. Inspect `COVERAGE`; failed checks are not delivered or billed as completed topic checks.

**Where is the queue?** Open `MONITOR_LINKS` in the run's key-value store, then follow its queue and reply-event links using your normal Apify access. The run's dataset contains all completed checks, including solved topics. The persistent queue contains the most recently observed unsolved/unknown topics, not a claim that every entry was freshly fetched in this run.

**Can I use another Discourse forum?** This version accepts only the reviewed Ask Fedora and Rust help categories. Other forums need separate access, license and reliability validation.

# Actor input Schema

## `forumCategoryUrls` (type: `array`):

Reviewed public Ask Fedora and Rust help category URLs.

## `maxTopics` (type: `integer`):

Total across forums, up to 100 per run. Includes unchanged topics; failed or unavailable topics do not count.

## `responseTargetHours` (type: `number`):

Target for a reply by someone other than the topic author.

## Actor input object example

```json
{
  "forumCategoryUrls": [
    "https://discussion.fedoraproject.org/c/ask/6",
    "https://users.rust-lang.org/c/help/5"
  ],
  "maxTopics": 10,
  "responseTargetHours": 24
}
```

# Actor output Schema

## `topics` (type: `string`):

No description

## `queue` (type: `string`):

No description

## `coverage` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "forumCategoryUrls": [
        "https://discussion.fedoraproject.org/c/ask/6",
        "https://users.rust-lang.org/c/help/5"
    ],
    "maxTopics": 10,
    "responseTargetHours": 24
};

// Run the Actor and wait for it to finish
const run = await client.actor("thescrapelab/discourse-support-queue").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "forumCategoryUrls": [
        "https://discussion.fedoraproject.org/c/ask/6",
        "https://users.rust-lang.org/c/help/5",
    ],
    "maxTopics": 10,
    "responseTargetHours": 24,
}

# Run the Actor and wait for it to finish
run = client.actor("thescrapelab/discourse-support-queue").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "forumCategoryUrls": [
    "https://discussion.fedoraproject.org/c/ask/6",
    "https://users.rust-lang.org/c/help/5"
  ],
  "maxTopics": 10,
  "responseTargetHours": 24
}' |
apify call thescrapelab/discourse-support-queue --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,thescrapelab/discourse-support-queue"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/yDo1Eo5CVUWZB1Hbw/builds/L7qoX6sRssSP4dBlZ/openapi.json
