AutomationFlowsGeneral › If Set

If Set

If Set. Manual trigger; 10 nodes.

Manual trigger★★★☆☆ complexity10 nodes
General Trigger: Manual Nodes: 10 Complexity: ★★★☆☆ Added:

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "nodes": [
    {
      "parameters": {
        "conditions": {
          "conditions": [
            {
              "value1": "={{ $json.nomePaciente }}",
              "value2": "null",
              "operation": "equal"
            }
          ]
        },
        "options": {}
      },
      "name": "If - Falta nomePaciente",
      "type": "n8n-nodes-base.if",
      "typeVersion": 1,
      "position": [
        600,
        100
      ]
    },
    {
      "parameters": {
        "assignments": {
          "assignments": [
            {
              "name": "output",
              "value": "Ah! S\u00f3 preciso saber seu nome pra seguir com o agendamento \ud83d\udcdd Pode me dizer, por favor?",
              "type": "string"
            }
          ]
        },
        "options": {}
      },
      "name": "SET - Msg nomePaciente",
      "type": "n8n-nodes-base.set",
      "typeVersion": 1,
      "position": [
        800,
        100
      ]
    },
    {
      "parameters": {
        "conditions": {
          "conditions": [
            {
              "value1": "={{ $json.email }}",
              "value2": "null",
              "operation": "equal"
            }
          ]
        },
        "options": {}
      },
      "name": "If - Falta email",
      "type": "n8n-nodes-base.if",
      "typeVersion": 1,
      "position": [
        600,
        300
      ]
    },
    {
      "parameters": {
        "assignments": {
          "assignments": [
            {
              "name": "output",
              "value": "Agora preciso s\u00f3 do seu e-mail para finalizar certinho \ud83d\udce9 Pode me passar?",
              "type": "string"
            }
          ]
        },
        "options": {}
      },
      "name": "SET - Msg email",
      "type": "n8n-nodes-base.set",
      "typeVersion": 1,
      "position": [
        800,
        300
      ]
    },
    {
      "parameters": {
        "conditions": {
          "conditions": [
            {
              "value1": "={{ $json.tipoConsulta }}",
              "value2": "null",
              "operation": "equal"
            }
          ]
        },
        "options": {}
      },
      "name": "If - Falta tipoConsulta",
      "type": "n8n-nodes-base.if",
      "typeVersion": 1,
      "position": [
        600,
        500
      ]
    },
    {
      "parameters": {
        "assignments": {
          "assignments": [
            {
              "name": "output",
              "value": "Qual o procedimento que voc\u00ea gostaria de fazer? \ud83d\udc86\u200d\u2640\ufe0f Temos: limpeza de pele, massagem, botox...",
              "type": "string"
            }
          ]
        },
        "options": {}
      },
      "name": "SET - Msg tipoConsulta",
      "type": "n8n-nodes-base.set",
      "typeVersion": 1,
      "position": [
        800,
        500
      ]
    },
    {
      "parameters": {
        "conditions": {
          "conditions": [
            {
              "value1": "={{ $json.horarioConsulta }}",
              "value2": "null",
              "operation": "equal"
            }
          ]
        },
        "options": {}
      },
      "name": "If - Falta horarioConsulta",
      "type": "n8n-nodes-base.if",
      "typeVersion": 1,
      "position": [
        600,
        700
      ]
    },
    {
      "parameters": {
        "assignments": {
          "assignments": [
            {
              "name": "output",
              "value": "\u00d3timo! Agora s\u00f3 preciso saber qual hor\u00e1rio voc\u00ea gostaria. Assim consigo agendar direitinho \ud83d\ude0a",
              "type": "string"
            }
          ]
        },
        "options": {}
      },
      "name": "SET - Msg horarioConsulta",
      "type": "n8n-nodes-base.set",
      "typeVersion": 1,
      "position": [
        800,
        700
      ]
    },
    {
      "parameters": {
        "conditions": {
          "conditions": [
            {
              "value1": "={{ $json.dataDoAgendamentoRealizado }}",
              "value2": "null",
              "operation": "equal"
            }
          ]
        },
        "options": {}
      },
      "name": "If - Falta dataDoAgendamentoRealizado",
      "type": "n8n-nodes-base.if",
      "typeVersion": 1,
      "position": [
        600,
        900
      ]
    },
    {
      "parameters": {
        "assignments": {
          "assignments": [
            {
              "name": "output",
              "value": "Pra qual dia voc\u00ea quer marcar sua consulta? Me fala o dia certinho pra eu seguir com o agendamento \ud83d\udcc6",
              "type": "string"
            }
          ]
        },
        "options": {}
      },
      "name": "SET - Msg dataDoAgendamentoRealizado",
      "type": "n8n-nodes-base.set",
      "typeVersion": 1,
      "position": [
        800,
        900
      ]
    }
  ],
  "connections": {
    "If - Falta nomePaciente": {
      "main": [
        [
          {
            "node": "SET - Msg nomePaciente",
            "type": "main",
            "index": 0
          }
        ],
        []
      ]
    },
    "If - Falta email": {
      "main": [
        [
          {
            "node": "SET - Msg email",
            "type": "main",
            "index": 0
          }
        ],
        []
      ]
    },
    "If - Falta tipoConsulta": {
      "main": [
        [
          {
            "node": "SET - Msg tipoConsulta",
            "type": "main",
            "index": 0
          }
        ],
        []
      ]
    },
    "If - Falta horarioConsulta": {
      "main": [
        [
          {
            "node": "SET - Msg horarioConsulta",
            "type": "main",
            "index": 0
          }
        ],
        []
      ]
    },
    "If - Falta dataDoAgendamentoRealizado": {
      "main": [
        [
          {
            "node": "SET - Msg dataDoAgendamentoRealizado",
            "type": "main",
            "index": 0
          }
        ],
        []
      ]
    }
  }
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

If Set. Manual trigger; 10 nodes.

Source: https://github.com/Arcano-2730-2/Ds-web-2025/blob/6a887ab25378d76de90b9fe478508b921c0023b9/N8N/if_set.json — original creator credit. Request a take-down →

More General workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

General

NextCloud:NextCloud:Folder:create move copy delete list:File:upload move copy download delete. Uses start, nextCloud, readBinaryFile. Manual trigger; 28 nodes.

Start, Next Cloud, Read Binary File
General

ClickUp:TimeEntry:create update start stop getall get delete:TimeEntryTag: add getAll remove. Uses start, clickUp. Manual trigger; 28 nodes.

Start, ClickUp
General

ClickUp:SpaceTag:create getAll update delete:TaskTag:add remove:TaskList:add remove. Uses start, clickUp. Manual trigger; 27 nodes.

Start, ClickUp
General

Transporeon - orders - step 3 - process single. Uses start, functionItem, httpRequest, microsoftSql. Manual trigger; 26 nodes.

Start, Function Item, HTTP Request +3
General

ClickUp:Folder:create update getAll get delete:Goal:create update getAll get delete:GoalKeyResult:create update delete. Uses start, clickUp. Manual trigger; 25 nodes.

Start, ClickUp