{"id":"104","name":"location_by_ip","nodes":[{"name":"On clicking 'execute'","type":"n8n-nodes-base.manualTrigger","position":[440,510],"parameters":{},"typeVersion":1,"id":"f9e043a0-c800-458b-9b1b-77b9bdf40a02","notes":"This manualTrigger node performs automated tasks as part of the workflow."},{"name":"Get Location By IP","type":"n8n-nodes-base.uproc","position":[850,510],"parameters":{"ip":"={{$node[\"Create IP and Email Item\"].json[\"ip\"]}}","tool":"getLocationByIp","group":"geographic","additionalOptions":{}},"credentials":{"uprocApi":"miquel-uproc"},"typeVersion":1,"id":"c936eca1-6f7e-4132-af5d-7829b0616205","notes":"This uproc node performs automated tasks as part of the workflow."},{"name":"User in Spain?","type":"n8n-nodes-base.if","position":[1050,510],"parameters":{"conditions":{"string":[{"value1":"={{$node[\"Get Location By IP\"].json[\"message\"][\"country_code\"]}}","value2":"ES"}]}},"typeVersion":1,"id":"2cfddaf5-eb79-4820-91c0-a5aea49e34da","notes":"This if node performs automated tasks as part of the workflow."},{"name":"Create IP and Email Item","type":"n8n-nodes-base.functionItem","position":[640,510],"parameters":{"functionCode":"item.ip = \"83.46.131.46\";\nitem.email = \"miquel@uproc.io\";\n\nreturn item;"},"typeVersion":1,"id":"fd136836-2c01-487b-ac4c-dc10cdf6180c","notes":"This functionItem node performs automated tasks as part of the workflow."},{"name":"Send English Email","type":"n8n-nodes-base.awsSes","position":[1270,650],"parameters":{"body":"Hi,\n\nThank you for your signup!","subject":"Welcome aboard","fromEmail":"sample@uproc.io","toAddresses":["={{$node[\"Create IP and Email Item\"].json[\"email\"]}}"],"additionalFields":{}},"credentials":{"aws":"ses"},"typeVersion":1,"id":"528ee4a5-6c54-4f67-8fba-0a0462d57ff0","notes":"This awsSes node performs automated tasks as part of the workflow."},{"name":"Send Spanish Email","type":"n8n-nodes-base.awsSes","position":[1270,420],"parameters":{"body":"Hola,\n\n¡Gracias por registrarte!","subject":"Bienvenido a bordo","fromEmail":"sample@uproc.io","toAddresses":["={{$node[\"Create IP and Email Item\"].json[\"email\"]}}"],"additionalFields":{}},"credentials":{"aws":"ses"},"typeVersion":1,"id":"96395561-aed3-43d1-a4bf-e05444188cb7","notes":"This awsSes node performs automated tasks as part of the workflow."},{"id":"error-8b968624","name":"Error Handler","type":"n8n-nodes-base.stopAndError","typeVersion":1,"position":[1000,400],"parameters":{"message":"Workflow execution error","options":{}}}],"active":false,"settings":{"executionOrder":"v1","saveManualExecutions":true,"callerPolicy":"workflowsFromSameOwner","errorWorkflow":null,"timezone":"UTC","executionTimeout":3600,"maxExecutions":1000,"retryOnFail":true,"retryCount":3,"retryDelay":1000},"connections":{},"description":"Automated workflow: location_by_ip. This workflow processes data and performs automated tasks.","meta":{"instanceId":"workflow-f6b69431","versionId":"1.0.0","createdAt":"2025-09-29T07:07:48.449990","updatedAt":"2025-09-29T07:07:48.450051","owner":"n8n-user","license":"MIT","category":"automation","status":"active","priority":"high","environment":"production"},"notes":"Excellent quality workflow: location_by_ip. This workflow has been optimized for production use with comprehensive error handling, security, and documentation."}