Skip to content

AI Assistant file creation does not expose generated files as downloadable artifacts #36202

Description

@dousfyn

Bug Description

Issue Summary

The n8n AI Assistant can create files internally, but the generated files are not exposed to users through the chat UI as downloadable attachments or artifacts.

This happens in a fresh AI Assistant conversation.

To Reproduce

  1. Open n8n AI Assistant in a new conversation.
  2. Send this prompt:

p, coba attach file yang bisa gw klik download button-nya.
misal xyz.md, isinya cuma # Hello World

  1. Wait for the AI Assistant response.
  2. Observe that the AI Assistant creates/references the file.
  3. Observe that no downloadable attachment or artifact appears in the UI.
  4. Open the Artifacts panel and check the generated files.
  5. The panel shows no generated artifact available for download.

Expected behavior

When the AI Assistant creates a file, the generated file should be exposed to the user through the chat UI as a downloadable attachment or artifact.

If the file cannot be exposed to the user, the assistant should not state or imply that the user can download it.

Debug Info

The AI Assistant reports that the file was created successfully, for example:

File: xyz.md
Content:

Hello World

The assistant also provides an internal workspace path:

/home/daytona/workspace/xyz.md

However, the generated file is not available through the UI:

  • No download button
  • No file attachment
  • No artifact entry

This issue is reproducible in a fresh AI Assistant conversation.

Image Image Image

Operating System

n8n Cloud (server environment)

n8n Version

2.35.1

Node.js Version

Not applicable (n8n Cloud)

Database

SQLite (default)

Execution mode

main (default)

Hosting

n8n cloud

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    status:in-linearIssue or PR is now in Linearteam:insIssue with the Instance AI team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions