feat(n8n): baixa a imagem recebida do cliente
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user