AutomationFlowsAI & RAG › Ejemplos De Expresiones

Ejemplos De Expresiones

Ejemplos de Expresiones. Uses start, httpRequest. Manual trigger; 5 nodes.

Manual trigger★★★★☆ complexity5 nodesStartHTTP Request
AI & RAG Trigger: Manual Nodes: 5 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
{
  "name": "Ejemplos de Expresiones",
  "nodes": [
    {
      "parameters": {},
      "id": "7j5l3h85-0j8l-1i1i-6i0h-3k2l5m9h8i1j",
      "name": "Start",
      "type": "n8n-nodes-base.start",
      "typeVersion": 1,
      "position": [
        250,
        300
      ]
    },
    {
      "parameters": {
        "url": "https://jsonplaceholder.typicode.com/users",
        "method": "GET",
        "options": {}
      },
      "id": "8k6m4i96-1k9m-2j2j-7j1i-4l3m6n0i9j2k",
      "name": "Obtener Usuarios",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.1,
      "position": [
        450,
        300
      ]
    },
    {
      "parameters": {
        "values": {
          "string": [
            {
              "name": "nombreCompleto",
              "value": "={{ $json.name }}"
            },
            {
              "name": "nombreMayusculas",
              "value": "={{ $json.name.toUpperCase() }}"
            },
            {
              "name": "primerNombre",
              "value": "={{ $json.name.split(' ')[0] }}"
            },
            {
              "name": "emailDominio",
              "value": "={{ $json.email.split('@')[1] }}"
            },
            {
              "name": "ciudadPais",
              "value": "={{ $json.address.city + ', ' + $json.address.zipcode }}"
            },
            {
              "name": "esAdministrador",
              "value": "={{ $json.id === 1 ? 'S\u00ed' : 'No' }}"
            }
          ],
          "number": [
            {
              "name": "userId",
              "value": "={{ $json.id }}"
            },
            {
              "name": "userIdDoble",
              "value": "={{ $json.id * 2 }}"
            }
          ],
          "boolean": [
            {
              "name": "tieneWebsite",
              "value": "={{ $json.website !== undefined && $json.website !== '' }}"
            }
          ]
        },
        "options": {}
      },
      "id": "9l7n5j07-2l0n-3k3k-8k2j-5m4n7o1j0k3l",
      "name": "Transformar con Expresiones",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.2,
      "position": [
        650,
        300
      ]
    },
    {
      "parameters": {
        "conditions": {
          "string": [
            {
              "value1": "={{ $json.tieneWebsite }}",
              "operation": "equals",
              "value2": "true"
            }
          ]
        }
      },
      "id": "0m8o6k18-3m1o-4l4l-9l3k-6n5o8p2k1l4m",
      "name": "Filtrar Solo con Website",
      "type": "n8n-nodes-base.if",
      "typeVersion": 2,
      "position": [
        850,
        300
      ]
    },
    {
      "parameters": {
        "values": {
          "string": [
            {
              "name": "mensaje",
              "value": "={{ 'Usuario ' + $json.nombreCompleto + ' de ' + $json.ciudadPais }}"
            },
            {
              "name": "fechaActual",
              "value": "={{ $now.toFormat('yyyy-MM-dd HH:mm:ss') }}"
            },
            {
              "name": "timestamp",
              "value": "={{ Date.now().toString() }}"
            },
            {
              "name": "workflowName",
              "value": "={{ $workflow.name }}"
            },
            {
              "name": "executionId",
              "value": "={{ $execution.id }}"
            }
          ]
        },
        "options": {}
      },
      "id": "1n9p7l29-4n2p-5m5m-0m4l-7o6p9q3l2m5n",
      "name": "Agregar Metadata",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.2,
      "position": [
        1050,
        200
      ]
    }
  ],
  "connections": {
    "Start": {
      "main": [
        [
          {
            "node": "Obtener Usuarios",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Obtener Usuarios": {
      "main": [
        [
          {
            "node": "Transformar con Expresiones",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Transformar con Expresiones": {
      "main": [
        [
          {
            "node": "Filtrar Solo con Website",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filtrar Solo con Website": {
      "main": [
        [
          {
            "node": "Agregar Metadata",
            "type": "main",
            "index": 0
          }
        ],
        []
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "1",
  "tags": [
    {
      "createdAt": "2025-01-15T10:00:00.000Z",
      "updatedAt": "2025-01-15T10:00:00.000Z",
      "id": "3",
      "name": "Expresiones"
    },
    {
      "createdAt": "2025-01-15T10:00:00.000Z",
      "updatedAt": "2025-01-15T10:00:00.000Z",
      "id": "1",
      "name": "Tutorial"
    }
  ]
}
Pro

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

About this workflow

Ejemplos de Expresiones. Uses start, httpRequest. Manual trigger; 5 nodes.

Source: https://github.com/rojaldo/agents/blob/23de72ffafb6bd3432e7d3abc4b3d26dde767776/ejemplos/n8n/03-expresiones-ejemplo.json — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

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

AI & RAG

Lemanti - Fluxo Completo com WhatsApp, Gmail, AI Agent. Uses start, httpRequest, aiAgent. Manual trigger; 5 nodes.

Start, HTTP Request, Ai Agent
AI & RAG

Lead to AI Call - SniperThink. Uses httpRequest. Manual trigger; 6 nodes.

HTTP Request
AI & RAG

OMNIKAI - Tor Integration Agent. Uses start, executeCommand. Manual trigger; 5 nodes.

Start, Execute Command
AI & RAG

Pobieranie dokumentów. Uses httpRequest, microsoftSql, seaTable, readBinaryFile. Event-driven trigger; 59 nodes.

HTTP Request, Microsoft Sql, Sea Table +5
AI & RAG

Send one WhatsApp message → Get AI-optimized content across 7+ social platforms.

Output Parser Structured, Google Gemini Chat, OpenAI Chat +8