From 55a90b81049fe1b9bf3762fcf771c7e408f0d2c7 Mon Sep 17 00:00:00 2001 From: Eric Date: Thu, 20 Aug 2026 22:07:40 -0300 Subject: [PATCH] feat(n8n): baixa a imagem recebida do cliente Co-Authored-By: Claude Sonnet 5 --- n8n/orcamento-exames-imagem.workflow.json | 31 ++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/n8n/orcamento-exames-imagem.workflow.json b/n8n/orcamento-exames-imagem.workflow.json index 2bdfdc8..83ca073 100644 --- a/n8n/orcamento-exames-imagem.workflow.json +++ b/n8n/orcamento-exames-imagem.workflow.json @@ -111,6 +111,29 @@ 160 ], "parameters": {} + }, + { + "id": "baixar-imagem", + "name": "Baixar imagem", + "type": "n8n-nodes-base.httpRequest", + "typeVersion": 4.4, + "position": [ + 120, + -120 + ], + "parameters": { + "method": "GET", + "url": "={{ $json.imagemUrl }}", + "options": { + "response": { + "response": { + "responseFormat": "file" + } + }, + "timeout": 20000 + } + }, + "onError": "continueErrorOutput" } ], "connections": { @@ -138,7 +161,13 @@ }, "É mensagem de imagem?": { "main": [ - [], + [ + { + "node": "Baixar imagem", + "type": "main", + "index": 0 + } + ], [ { "node": "Não é imagem - encerra",