Generate ideal customer profiles & find lookalike companies in Germany
Needs changesWhat this workflow does
This AI workflow has 21 nodes and runs manually, when you click “Execute workflow”. Along the way it connects OpenAI.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Authorization (Edit Fields (Set)): sets or maps fields
- Configuration (Edit Fields (Set)): sets or maps fields
- Mock ICP Companies based on Implisense-ID (Code): runs custom JavaScript code
- serialize_ids (Function): runs custom JavaScript (legacy Function node)
- trim (Edit Fields (Set)): sets or maps fields
- get_lookalikes (HTTP Request): calls an HTTP API
- lookalikes_or_icp (Switch): routes items into 1 branches
- parse_term_features (Function): runs custom JavaScript (legacy Function node)
- get_companies (Split Out): splits a list into separate items
- Filter term.en (Function): runs custom JavaScript (legacy Function node)
…plus 10 more steps. See the full node list below.
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 (legacy) in Filter term.en, Filter term.de, parse_term_features…: replace with Code node, mode 'Run Once for All Items'.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
Published 2025 — 19% of 2025 templates need changes for 3.0. See how template age affects 3.0 readiness →
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
| Removed in 3.0 | Replace with |
|---|---|
| Function (legacy) Filter term.en, Filter term.de, parse_term_features, serialize_ids, sort_desc, digest_terms_en, digest_terms_de, sort_desc2 | Code node, mode 'Run Once for All Items' |
Nodes used (9)
- Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - Function
n8n-nodes-base.function - Merge
n8n-nodes-base.merge - HTTP Request
n8n-nodes-base.httpRequest - Switch
n8n-nodes-base.switch - Split Out
n8n-nodes-base.splitOut - OpenAI
@n8n/n8n-nodes-langchain.openAi - Code
n8n-nodes-base.code
From the author
This workflow generates a data driven Ideal Customer Profile (ICP) and retrieves lookalike companies in Germany from the official data source (Handelsregister). It starts by ingesting a set of base company IDs, serializes them, and sends a recommendation…