Pular para o conteúdo
Kitbay
Skill

n8n-binary-and-data

MITAtualizado em 24 de out. de 20266.626Estrelas no GitHub

A skill from the n8n-skills set, built around the n8n-mcp server, about handling files in n8n workflows.

O que a skill ensina

A skill from the n8n-skills set, built around the n8n-mcp server, about handling files in n8n workflows. It explains that each item carries structured data and file bytes in separate slots, and sets three rules: file contents live in the binary slot, files cannot pass in or out of AI agent tools, which take and return JSON only, and chat apps show images only by URL. It covers which nodes produce files, reading and writing bytes in Code nodes, keeping files through nodes that drop them, staging uploads in the user's own storage and passing keys to agent tools, and using a storage bucket as a CDN for chat images. It closes with common mistakes and how to check a run.

O que faz

  • Keep file data in n8n's binary slot
  • Read and write file bytes in Code nodes
  • Stage files for AI agent tools by key
  • Serve generated images to chat by URL