Automation

Lead Company Verification in Turkey: n8n Automation Guide

Berkay Yalçın
Lead Company Verification in Turkey: n8n Automation Guide

Lead company verification in Turkey is the process of checking whether the company behind each prospect reaching your sales team actually exists, is actively operating and fits your ideal customer profile. When you automate this with n8n, the tax number, domain, email domain, trade name and contact details are checked within minutes. Verified records are routed to your CRM, suspicious records to a manual review queue and invalid records to an archive. As a result, sales reps no longer waste time on closed companies, fake form submissions or vague inquiries left with a personal Gmail address.

The Turkish market comes with its own challenges. Trade names arrive in different spellings such as "A.Ş.", "Anonim Şirketi" and "Ltd. Şti.". Turkish characters (İ, ı, ş, ğ) break matching. Many SMEs still use free email services instead of a corporate domain. And most official registry sources don't offer an API that supports automation. In this guide, we walk through an n8n verification workflow that accounts for these challenges and can be built step by step, along with decision rules, a sample scoring model and the legal points to keep in mind.

Why should lead company verification be a separate process?

Many teams confuse verification with lead enrichment. There is an important difference between the two:

  • Enrichment adds new information to a record: employee count, industry, LinkedIn page, tech stack and so on.
  • Verification tests whether the existing information is accurate and reliable: Does this company really exist, is this tax number in a valid format, is this website working, does this email belong to this company?

Enriching unverified data just makes bad data more expensive. That's why the workflow should generally follow the order verify first, then enrich. If you want a detailed look at the enrichment side, we cover the step-by-step setup in our guide to B2B lead enrichment automation with n8n.

The impact of verification on sales is tangible:

  • Reps don't call companies that have closed or are in liquidation.
  • The same company no longer sits in the CRM as three separate records under different spellings.
  • Forms filled in by competitors, students or bot traffic stay out of the pipeline.
  • Cost-per-lead and conversion reports are based on real data.

What data is used to verify a company in Turkey?

The signals you can use to verify a company's identity in Turkey generally fall into five groups.

1. Tax identification number (VKN)

The 10-digit tax identification number of legal entities is the strongest unique identifier. The last digit of the VKN is a check digit calculated from the first nine digits. This means you can instantly check within n8n whether the number is valid in format, without running an actual lookup. This check filters out most randomly entered or mistyped numbers.

Confirming that a format-valid VKN actually belongs to the stated company is a separate step. For this, you can use the taxpayer lookup services of e-invoice integrators or licensed commercial data providers. Official portals are generally designed for human use. Scraping these portals automatically may violate their terms of use and won't work reliably.

2. Trade name and registry information

Trade Registry Gazette announcements and MERSİS records show a company's incorporation, name changes, address changes and liquidation status. Since these sources don't offer a public automation API, there are two practical approaches:

  • Creating a manual review task for high-value leads (e.g. those above a certain company size)
  • Working via API with commercial data providers that legally compile this data

3. Domain and website

The existence of a corporate website is a strong signal that the company is active. With n8n, you can run the following checks:

  • Does the domain return a 200 status code to an HTTP request, or does it redirect to a parked page?
  • Does the domain have an MX record? In other words, can this domain receive email?
  • Does a phrase resembling the company's trade name appear in the site's title or footer?

4. Email domain

Does the domain in the lead's email address match the domain of the company website? A match is a reasonable indication that the person works at that company. Free services such as Gmail, Hotmail, Outlook, Yandex and Yahoo should lower the verification score, but shouldn't invalidate the record on their own. A significant share of small businesses in Turkey still use these services. Checking whether the email address itself is deliverable is a separate topic, which we cover in our article on reducing cold email bounce rates by validating lists with n8n.

5. Address, phone and digital footprint

  • Phone: Is it in a valid format, starting with +90 and 10 digits long (including area code)? Is it a landline or mobile?
  • Address: Are the province and district consistent? For example, a combination like "Kadıköy, Ankara" is an error signal.
  • LinkedIn company page and map listing: Do the company's business profile, employee count and location match the declared information?

Outbound teams already collect some of these signals during prospecting. For example, lists from B2B contact data platforms like Apollo.io come with domain, industry and employee count already included. Still, for Turkish SMEs, it's worth cross-checking this data against local sources.

How do you build the verification workflow in n8n?

The workflow below takes a lead from any source, such as a web form, a Google Sheets list or a new record landing in your CRM, and routes it to one of three outcomes: Verified, Needs review or Invalid.

Step 1: Choose the trigger

Select a trigger based on where the lead comes from:

  • Webhook node: For forms on your website or ad lead forms
  • Google Sheets Trigger: For bulk list uploads
  • HubSpot / Pipedrive Trigger: When a new contact or company is created in the CRM

If you're building a Sheets-based workflow for bulk lists, you can use the structure in our guide to importing a Sheets lead list into HubSpot with n8n as a foundation and add the verification nodes before the import step.

Step 2: Normalize the data

This is the most frequently skipped step in verification, yet the one that makes the biggest difference. In a Code node, do the following:

  1. Simplify the trade name: "ABC Yazılım Anonim Şirketi", "ABC YAZILIM A.Ş." and "Abc Yazilim AS" are the same company. Move company type suffixes (A.Ş., AŞ, Anonim Şirketi, Ltd. Şti., Limited Şirketi, Tic., San. ve Tic.) into a separate field and convert the remainder to lowercase.
  2. Convert Turkish characters carefully: JavaScript's standard `toLowerCase()` function turns "I" into "i", whereas in Turkish it should be "ı". Use `toLocaleLowerCase('tr-TR')`. For the matching key, also create a field that converts Turkish characters to their ASCII equivalents (ş→s, ğ→g, ı→i, ö→o, ü→u, ç→c).
  3. Extract the domain: Strip "https://", "www." and the path from the website field. Take everything after the "@" in the email address.
  4. Standardize the phone number: Remove spaces, parentheses and hyphens. Convert a leading 0 or 90 into a single format (e.g. +90XXXXXXXXXX).

Step 3: VKN format check

In another Code node, calculate the VKN check digit. The commonly used algorithm works as follows:

  1. For each of the first 9 digits (starting from the left with i = 0): `t = (digit + 9 - i) % 10`
  2. `v = (t * 2^(9 - i)) % 9`; if `t` is non-zero and `v` is zero, then `v = 9`.
  3. Sum all `v` values. The check digit is `(10 - (sum % 10)) % 10`.
  4. If this value equals the 10th digit, the VKN is valid in format.

This check only validates the format; it doesn't tell you which company the number belongs to. But it's a cheap, fast filter for catching mistyped numbers before they enter the CRM. If the lead hasn't provided a VKN, mark this step as "no data" and move on. Making the VKN mandatory can reduce conversions, especially on first-contact forms.

Step 4: Domain and website check

Use two HTTP Request nodes:

  • Website check: Send a GET request to the domain. Follow redirects and limit the timeout to 8–10 seconds. Store the status code and the page title (`<title>`). If the title contains phrases like "domain satılık" (domain for sale), "coming soon" or the hosting provider's default page text, treat the site as inactive.
  • MX record check: Send an MX query to a resolver that offers DNS-over-HTTPS. If the response contains no MX record, the domain doesn't receive email.

Don't forget to enable the "Continue On Fail" option on both nodes. Otherwise, a single unresponsive site will stop the entire workflow.

Step 5: Email domain matching

Use an IF or Switch node to separate three cases:

  • Email domain = website domain → strong match
  • Email domain is on the free service list → weak signal
  • Email domain is a different corporate domain → inconsistency (could be an agency, a group company or incorrect data)

Keep the free service list as an array in a Set node and update it over time.

Step 6: Optional external verification

For high-value segments, you can add an HTTP request at this point to a commercial data provider or to your e-invoice integrator's taxpayer lookup service. To control costs, run this step only for records that exceed a certain threshold score or match your ICP. When deciding which records are worth this extra cost, you can use the criteria in our guide to defining your ideal customer profile (ICP) and MQLs.

Step 7: Duplicate check

Search the CRM using the normalized domain and the ASCII trade name key. If there's a match, add the contact to the existing record or log an activity note instead of creating a new company. This step prevents the same company from existing as two separate records, "ABC Yazılım" and "ABC Yazilim A.S.".

Step 8: Scoring and routing

In a final Code node, convert all signals into a verification score and route the record with a Switch node. We detail the scoring model in the next section.

How should the verification score be calculated?

Rather than making a decision based on a single signal, it's more reliable to use a weighted score. The model below is a starting point; you should adjust the weights based on your own data:

| Signal | Points | |---|---| | VKN valid in format | +20 | | Website returned 200 and is not a parked page | +20 | | Domain has an MX record | +10 | | Email domain = website domain | +25 | | Phone in valid Turkish format | +10 | | Province/district information consistent | +5 | | Trade name match in external source | +10 | | Email from a free service | −10 | | Website not responding | −15 | | VKN provided but format invalid | −25 |

Then set your thresholds:

  • 70 and above → Verified: The record is written to the CRM with a "verified" tag and enters the assignment workflow.
  • 40–69 → Needs review: A summary message is posted to a Slack or Teams channel. A member of the operations team approves or rejects the record.
  • Below 40 → Invalid: The record is moved to a separate Sheets tab or set to "could not be verified" status in the CRM, and is not sent to sales.

Let's walk through an example. Suppose a form is submitted on behalf of "Yıldız Endüstriyel Ltd. Şti." with a corporate-domain email. The website loads, there's an MX record, the phone number is valid, but no VKN was entered. Score: 20 + 10 + 25 + 10 + 5 = 70. This record goes straight to sales.

A record that fills in the same form with a personal Gmail address and no website, however, scores only 15 points from the phone and province information. With the free email penalty and the missing website, the score can drop below zero. This record can be routed to a nurture workflow instead of sales.

The verification score is different from a lead score, which measures a lead's purchase potential. Using both together delivers the best results: first ask "is this company real?", then "is this company valuable to us?". For the second question, take a look at our guide to B2B lead scoring with AI.

Where does AI add value to this workflow?

n8n's AI nodes are useful in ambiguous cases where rule-based checks struggle:

  • Trade name matching: Are "Özdemir Grup İnşaat" and "Özdemir İnşaat Taahhüt San. Tic. A.Ş." the same company? You can give a language model both trade names and the website title, and ask for a structured response of "same / probably same / different".
  • Website content classification: Extracting the company's industry and whether it operates B2B or B2C from the homepage text
  • Form content analysis: Classifying whether the text in the "Your message" field is a genuine purchase inquiry, a job application, a supplier offer or spam

Don't make the AI output the sole decision-maker. Add it to the scoring only as one signal, and always ask the model for a JSON-formatted response with fixed options. This keeps the workflow predictable.

How much does it cost?

The cost consists of three components:

  1. n8n: The self-hosted community edition requires no license fee; you only pay for the server. n8n Cloud offers plans priced by the number of monthly executions. Since you run a single workflow execution per lead, your volume is easy to estimate.
  2. External APIs: DNS and HTTP checks are practically free. Commercial data providers and AI models, however, charge per query. That's why it's important to apply the expensive steps only to records that pass initial screening.
  3. Setup and maintenance effort: The initial setup of a simple workflow takes a few days. The real effort lies in tuning the thresholds and the free email list against real data during the first few weeks.

Here's a simple example for calculating the other side of the equation. A team that receives 1,000 leads a month and manually checks each one in 3 minutes spends roughly 50 hours a month on this task. Automation reduces most of that time to just the records landing in the "Needs review" queue. Running this calculation with your own numbers and reflecting it in your cost per lead clarifies the return on investment.

What mistakes should you avoid?

  • Matching without normalizing: If Turkish characters and company type suffixes aren't cleaned up, duplicate checks won't work.
  • Treating free email as an automatic rejection reason: Many genuine SME owners in Turkey use Gmail. Lower the score, but don't eliminate the lead.
  • Scraping official portals without permission: This carries the risk of terms-of-use violations and unstable results. Prefer licensed data sources or manual checks.
  • Skipping error handling: A timed-out HTTP request shouldn't stop the entire workflow. Use "Continue On Fail" on every external call and write errors to a separate log.
  • Not writing verification results to the CRM: The score and which checks passed should be stored as custom fields in the CRM. This lets the sales team see why they can trust a record and makes reporting possible.
  • Never updating thresholds: In the first month, analyze the records approved and rejected from the "Needs review" queue. Adjust the score weights accordingly.

What should you watch out for under KVKK?

Company verification works mainly with legal entity data. However, the process also touches fields containing personal data: the lead's name, email address and phone number. Also keep in mind that sole proprietorships use the Turkish national ID number (T.C. kimlik numarası) instead of a tax number. Therefore:

  • Don't send personal data that isn't needed for verification to external APIs. For example, the domain alone is sufficient for the website check.
  • Avoid collecting Turkish national ID numbers. If it's unavoidable, process this data only in the necessary step and don't write it to logs.
  • In your self-hosted n8n, decide how long execution history will be retained and regularly delete unnecessary data.
  • Review with your legal counsel where the AI and data providers you use process data, and the conditions for cross-border transfers.

Where should verified leads go next?

Verification isn't an end in itself; it's the front door to the sales process. For records entering the CRM with the "Verified" tag, the typical follow-up workflow is:

  1. Enrichment (industry, employee count, LinkedIn data)
  2. Lead scoring and ICP fit assessment
  3. Assignment to a rep by region, industry or company size
  4. Automated notification or welcome email for fast first contact

On the outbound side, list quality directly determines campaign success. If you'd like company verification delivered as an end-to-end service together with list building and outbound campaign management, SAAS Corner, which provides outbound sales and lead generation services to B2B SaaS companies, can design this process for you.

Frequently asked questions

Is it possible to automatically verify tax numbers in Turkey with n8n?

You can instantly check whether a VKN is valid in format using the check digit algorithm in n8n's Code node. To confirm that the number belongs to a specific company, however, you need the taxpayer lookup services of e-invoice integrators or licensed commercial data providers. Scraping official portals without permission is not recommended.

Should leads with Gmail or Hotmail addresses be eliminated?

No, they shouldn't be eliminated outright. Many SMEs in Turkey still use free email services. These addresses should lower the verification score and route the record to manual review when necessary. The final decision should be made together with other signals such as the website, phone number and trade name.

What is the difference between company verification and lead enrichment?

Verification checks whether the existing information is accurate and whether the company is real. Enrichment adds new information to the record, such as industry, employee count and social profiles. The correct order is verification first, then enrichment. This way, you avoid unnecessary data costs for bad records.

Do you need a developer to build this workflow?

The core workflow can largely be built with n8n's visual nodes. Trade name normalization and the VKN check require short JavaScript snippets; these are reusable pieces just a few lines long. Companies without a technical team can do the initial setup with an automation partner and then hand over maintenance to their own operations team.

Conclusion

Lead company verification in Turkey is a low-cost, high-impact automation that lets your sales team focus its time on real, active companies. A workflow built with n8n normalizes the data, checks the VKN format, tests the website and email domain, catches duplicate records and routes each lead to the right queue with a transparent score. The keys to success are addressing Turkish characters and trade name variations from the start, not automatically eliminating free email addresses, and regularly updating thresholds with real data.

If you want to build your lead verification, enrichment and CRM workflows end to end with n8n, the Corner Group team can help. Get in touch through our contact page to review your current lead process together.

Related Posts

TREN