Skip to content

Conversation

schrothbn
Copy link
Contributor

Summary

This PR changes the way chat triggers are executed in manual executions. Now chat triggers work similar to normal webhook triggers by registering a test webhook when a chat message is sent via the canvas chat.

The canvas chat now directly integrates the Chat SDK and uses the existing functionality. This enables the canvas chat to work more similar to the hosted chat and enables streaming.

The Chat SDK is enhanced by some functionality that was needed for this:

  • before/afterMessageSent hooks
  • MessageAction buttons (reuse/resend message)
  • new css variables for more nuanced styling

Related Linear tickets, Github issues, and Community forum posts

Review / Merge checklist

  • PR title and summary are descriptive. (conventions)
  • Docs updated or follow-up ticket created.
  • Tests included.
  • PR Labeled with release/backport (if the PR is an urgent fix that needs to be backported)

@n8n-assistant n8n-assistant bot added core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team labels Oct 21, 2025
Copy link

bundlemon bot commented Oct 21, 2025

BundleMon

Unchanged files (2)
Status Path Size Limits
WASM Dependencies
tree-sitter-bash.wasm
181.26KB -
WASM Dependencies
tree-sitter.wasm
74.47KB -

No change in files bundle size

Groups updated (2)
Status Path Size Limits
**/*.js
5.84MB (+427.12KB +7.7%) -
**/*.css
214.64KB (+1.38KB +0.65%) -

Final result: ✅

View report in BundleMon website ➡️


Current branch size history | Target branch size history

@schrothbn schrothbn marked this pull request as ready for review October 21, 2025 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant