Discourse Extended icon

Discourse Extended

Read and manage Discourse AI artifacts, categories, posts, topics, personal messages, uploads, and Data Explorer queries

Topic → Update

AI-generated

Summary

Updates a Discourse topic with specified fields like title or category ID.

Inputs

  • topicId (required) — Identifier for the topic. Can be entered directly as an ID or provided via URL (the node extracts the numeric ID).
  • updateFields — A collection of fields to update. Options include Category ID (number) and Title (string).

Output shape

A single item containing the updated topic details.

The operation returns the updated topic object from the API. The operation does not modify the input items.

Examples

Example 1: Update a topic's title to 'New Title' using its ID.

Set Topic ID to 123, add Title field with value 'New Title'.

Example 2: Move a topic to a specific category using its URL.

Set Topic ID to URL mode with value 'https://forum.example.com/t/slug/456', add Category ID field with value 10.

Links

Discussion