feat(n8n): baixa a imagem recebida do cliente

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Eric
2026-08-20 22:07:40 -03:00
co-authored by Claude Sonnet 5
parent e61d8895ff
commit 55a90b8104
+30 -1
View File
@@ -111,6 +111,29 @@
160 160
], ],
"parameters": {} "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": { "connections": {
@@ -138,7 +161,13 @@
}, },
"É mensagem de imagem?": { "É mensagem de imagem?": {
"main": [ "main": [
[], [
{
"node": "Baixar imagem",
"type": "main",
"index": 0
}
],
[ [
{ {
"node": "Não é imagem - encerra", "node": "Não é imagem - encerra",