This workflow corresponds to n8n.io template #851 — we link there as the canonical source.
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 →
{
"id": "104",
"name": "location_by_ip",
"nodes": [
{
"name": "On clicking 'execute'",
"type": "n8n-nodes-base.manualTrigger",
"position": [
440,
510
],
"parameters": {},
"typeVersion": 1
},
{
"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": {
"name": "<your credential>"
}
},
"typeVersion": 1
},
{
"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
},
{
"name": "Create IP and Email Item",
"type": "n8n-nodes-base.functionItem",
"position": [
640,
510
],
"parameters": {
"functionCode": "item.ip = \"0.0.0.0\";\nitem.email = \"user@example.com\";\n\nreturn item;"
},
"typeVersion": 1
},
{
"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": "user@example.com",
"toAddresses": [
"={{$node[\"Create IP and Email Item\"].json[\"email\"]}}"
],
"additionalFields": {}
},
"credentials": {
"aws": {
"name": "<your credential>"
}
},
"typeVersion": 1
},
{
"name": "Send Spanish Email",
"type": "n8n-nodes-base.awsSes",
"position": [
1270,
420
],
"parameters": {
"body": "Hola,\n\n\u00a1Gracias por registrarte!",
"subject": "Bienvenido a bordo",
"fromEmail": "user@example.com",
"toAddresses": [
"={{$node[\"Create IP and Email Item\"].json[\"email\"]}}"
],
"additionalFields": {}
},
"credentials": {
"aws": {
"name": "<your credential>"
}
},
"typeVersion": 1
}
],
"active": false,
"settings": {},
"connections": {
"User in Spain?": {
"main": [
[
{
"node": "Send Spanish Email",
"type": "main",
"index": 0
}
],
[
{
"node": "Send English Email",
"type": "main",
"index": 0
}
]
]
},
"Get Location By IP": {
"main": [
[
{
"node": "User in Spain?",
"type": "main",
"index": 0
}
]
]
},
"On clicking 'execute'": {
"main": [
[
{
"node": "Create IP and Email Item",
"type": "main",
"index": 0
}
]
]
},
"Create IP and Email Item": {
"main": [
[
{
"node": "Get Location By IP",
"type": "main",
"index": 0
}
]
]
}
}
}
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
awsuprocApi
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Do you want to know where a web visitor lives?
Source: https://n8n.io/workflows/851/ — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
Do you want to create a website screenshot without browser extensions?
This n8n workflow template checks for new major releases (tagged with ) of the n8n project using its official GitHub releases feed. It runs multiple times a day and sends notifications via email and T
Send An Email Using Aws Ses. Uses manualTrigger, awsSes. Event-driven trigger; 2 nodes.
Loan eligibility workflow. Uses formTrigger, googleSheets, gmail. Event-driven trigger; 53 nodes.