I have a problem with chat trigger node. I lost metadata info with using fileUpload. How can I solve my problem?
I use config like this.
createChat({
webhookUrl: API_CONFIG.N8N_CHAT_HOST,
allowedFilesMimeTypes: “application/pdf”,
allowFileUploads: true,
chatInputKey: ‘chatInput’,
webhookConfig: {
method: ‘POST’,
},
target: ‘#n8n-chat’,
mode: ‘window’,
chatSessionKey: ‘sessionId’,
loadPreviousSession: true,
metadata: {siteId: siteId, token: token},
showWelcomeScreen: false,
defaultLanguage: ‘en’,
initialMessages: [
‘Hi there!
],
});
