Detect web visitors country by IP address with uProc
Needs changesWhat this workflow does
This workflow has 6 nodes and runs manually, when you click “Execute workflow”. Along the way it connects uProc and AWS SES.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Create IP and Email Item (Function Item): runs custom JavaScript per item (legacy Function Item node)
- Get Location By IP (uProc): uses uProc
- User in Spain? (If): checks a condition and branches into true / false
- Send Spanish Email (AWS SES): uses AWS SES
- Send English Email (AWS SES): uses AWS SES
Services it uses
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- Function Item (legacy) in Create IP and Email Item: replace with Code node, mode 'Run Once for Each Item'.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| Function Item (legacy) Create IP and Email Item | Code node, mode 'Run Once for Each Item' |
Nodes used (5)
- Manual Trigger
n8n-nodes-base.manualTrigger - uProc
n8n-nodes-base.uproc - If
n8n-nodes-base.if - Function Item
n8n-nodes-base.functionItem - AWS SES
n8n-nodes-base.awsSes
From the author
Do you want to know where a web visitor lives? This workflow enriches any lead by IP address using the uProc.io Location By IP address tool and sends an email in Spanish or English depending on the detected web visitor country. You need to add your…