Discourse Extended icon

Discourse Extended

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

Upload → Create

AI-generated

Summary

Uploads a binary file to Discourse as one of the supported upload types and returns upload details.

Inputs

  • Input Data Field Name (required) — Name of the incoming binary property that contains the file to upload. Required. Default: data.
  • Type (required) — Discourse upload type: composer, avatar, card_background, custom_emoji, or profile_background. Required.
  • Synchronous — Whether to wait for upload processing and return upload details. Default: true.
  • User ID — Required when Type is Avatar. The Discourse user ID to associate with the avatar upload. Minimum value: 1.
  • Additional Fields — Optional flags: forPrivateMessage, forSiteSetting, and pasted.
  • Simplify — Whether to return a simplified version of the response instead of raw data. Default: true.

Output shape

unknown

With Simplify enabled, returns a simplified upload object. With Synchronous enabled, waits for processing and returns upload details. With Synchronous disabled, returns without waiting for processing, so upload details may not be included.

Examples

Example 1: In a workflow, after obtaining binary file data (e.g., from an HTTP Request, Read Binary File, or similar node), connect the file's binary property to this operation and select the appropriate upload type.

Upload a file

Links

Discussion