workflows.fit
Back to n8n workflows
n8n templateFreeBy Miquel Colomer

Detect web visitors country by IP address with uProc

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](https://app.uproc.io//tools/processor/get/location/by-ip) and sends an emai...

CommunicationDevelopmentData & StorageCore NodesManual TriggerUprocIfFunction Item
Loading interactive preview...

Template notes

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](https://app.uproc.io//tools/processor/get/location/by-ip) and sends an email in Spanish or English depending on the detected web visitor country.

![workflow-screenshot](fileId:353)

You need to add your credentials (Email and API Key - real -) located at [Integration section](https://app.uproc.io//settings/integration) to n8n.

Node "Create IP and Email Item" can be replaced by any other supported service with IP and Email values, like Mailchimp, Calendly, or MySQL.

The "uProc" node returns the location of the provided IP address.

"If" node checks if the web visitor country code belongs to Spain (ES Isocode). If positive, we use the Spanish language in our emails. Otherwise, we will use the English language in our communications.

Depending on the detected country code, we use the Amazon SES node to send the customized email adapted to the right language.