Description
n8n-nodes-webmetic
This is an n8n community node that lets you use Webmetic in your n8n workflows.
Webmetic shows which companies visit your website, and finds the right contact person at them, for sales and marketing teams.
n8n is a fair-code licensed workflow automation platform.
Before you start
Installation
Connect your account
Operations
Your first workflow
If something goes wrong
Compatibility
Resources
Before you start
1. Your Visitor Intelligence API key. In your Webmetic dashboard, open contact setup once, choose your target group and confirm. This also unlocks your welcome credits.
Installation
Follow the installation guide in the n8n community nodes documentation and install n8n-nodes-webmetic.
Connect your account
1. Add the Webmetic node to a workflow.
2. Under Credential to connect with, choose Create new credential.
3. Paste your Visitor Intelligence API key and click Save. n8n checks the key right away.
Operations
- New Visit › Get: companies that visited your website for the first time
- Intensive Visit › Get: companies that spent a lot of time on your website
- Returning Visit › Get: companies that came back several times
- Contact › Find: a contact person at a company that visited your website, with e-mail or phone number (costs credits)
- Webmetic Trigger: starts a workflow the moment a company visits your website (webhook, no polling)
- Domain: the main domain as shown under Menu › Websites in your Webmetic dashboard, without
https://and withoutwww.(e.g.example.com). Use the main domain even if the tracking code runs on a subdomain such asshop.example.com. - From Date and To Date (optional): the time window, by default the last 30 days. Relative times such as
-1 hour,-7 daysor-45 minuteswork, as do dates like2026-01-31andnow. - Company ID: filled in automatically from the visits node (
{{ $json.company_id }}). Contacts are only available for companies that visited your website. - Departments and Minimum Level: the same choices as the contact setup in your Webmetic dashboard. Leave them empty to use your setup.
- Reveal: e-mail and LinkedIn (2 credits), phone numbers (8 credits), or both (10 credits). You only pay for data that is delivered. Running the node again for the same company returns the same person for free.
- Events: which happenings start the workflow.
- Websites (optional): the websites of your account to receive events for, separated by commas. Leave it empty for all websites. Use the main domain as shown under Menu › Websites, without
https://and withoutwww.. - Tested with n8n 2.11
- Node version 2 needs this package from version 0.5.0 on
- The Webmetic Trigger needs this package from version 0.6.0 on
- n8n community nodes documentation
- Webmetic API reference for developers
Getting visits
The node outputs one item per company, so the next node runs once for each company. Workflows created with an older version of this node (node version 1) keep receiving a single item that holds the result list.
Finding a contact person
Add Contact → Find after a visits node. For each company it looks for contact persons, takes the first one who has the requested data on file, and reveals it.
The output contains name, jobtitle, email, linkedin, directphone, mobilephone and creditsremaining. Contacts are limited to the company’s country. country_fallback: true means nobody matched there and the contact may work at a sister company abroad.
If nobody fits at a company, the node outputs no item for it and nothing is charged.
Webmetic Trigger
The Webmetic Trigger node starts the workflow within about two minutes of a visit, without a schedule. When you activate the workflow, the node registers a webhook in your Webmetic account for its own address; when you deactivate the workflow, it removes the webhook again. To test, click Execute step (or Listen for test event): Webmetic sends a sample company (Beispiel GmbH) within seconds, so you can map its fields in the next nodes.
– Company Identified: a company visits your website for the first time (once per company).
– Company Returned: a company Webmetic already knows visits again (once per visit).
– Intensive Visit: a visit of 30 seconds or more (once per visit).
– Segment Entered: a company newly matches a segment (once per company and segment). Needs the Segment ID: open the segment in your Webmetic dashboard and copy its ID from the address bar.
Each event is one item with the company’s fields at the top level (companyid, companyname, companyurl, city, industry and more, the same fields as the visits nodes), plus event, eventid, website, occurred_at, test, visit (the visit with its page views) and segment. The sample company arrives with test: true.
Every event is signed. The node checks the Webmetic-Signature header against the secret it received when it registered the webhook and answers 401 to anything else, so nobody can feed your workflow invented visitors. On the Free plan, events arrive for the readable companies of the month only.
Webmetic sends events to public https addresses only. On n8n Cloud this works out of the box; on your own server, WEBHOOK_URL must be the public https address of your n8n. Test webhooks on localhost cannot be reached.
Your first workflow
New companies every hour, with a contact person, to your sales team:
1. Schedule Trigger: every hour.
2. Webmetic › New Visit › Get: your domain, From Date -1 hour. Match the time window to the schedule, otherwise the same companies come back on every run.
3. Webmetic › Contact › Find: Reveal E-mail and LinkedIn to start with.
4. Send Email, Microsoft Teams or Slack: for example “{{ $json.companyname }} visited our website. Contact: {{ $json.name }}, {{ $json.jobtitle }}, {{ $json.email }}“.
If something goes wrong
| Message in n8n | What to do |
|—|—|
| Webmetic does not recognize this API key | Use the Visitor Intelligence key from API keys, not the Enrichment or Data Layer key. |
| This domain is not in your Webmetic account | Enter the main domain as shown under Menu › Websites in your Webmetic dashboard, without https:// and without www., also if the tracking code runs on a subdomain. |
| The contact setup in Webmetic is missing | Open the contact setup once and confirm. |
| Not enough Webmetic credits | Top up via your credit balance at the top of the Webmetic dashboard. |
| This company has not visited your website | Pass the Company ID from a Webmetic visits node. |
| Too many requests to Webmetic | Webmetic allows one request per second. Add a Wait node between Webmetic nodes. |
| Find returns no item | Nobody at that company fits your departments and level. Nothing was charged. |
| Webmetic cannot reach this n8n webhook address | Events go to public https addresses only. Use n8n Cloud or set WEBHOOK_URL to your server’s public https address. |
| Your Webmetic account has reached its number of webhooks | Remove a webhook you no longer need under Integrations › Webhooks in your Webmetic dashboard. |
| The Webmetic Trigger receives nothing | Check the log under Integrations › Webhooks in your dashboard. A paused or disabled webhook sends nothing; activate the workflow again to register it afresh. |


