# Generate ideal customer profiles & find lookalike companies: n8n workflow

> Started by an event in a connected app. It calls services over plain HTTP rather than through connectors. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/generate-ideal-customer-profiles-and-find-lookalike-companie (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [CRM](https://millionrounds.com/workflows?category=CRM#library)

# Generate ideal customer profiles & find lookalike companies

Started by an event in a connected app. It calls services over plain HTTP rather than through connectors. It hands the judgement calls to OpenAI. 21 steps, 1 branch: large, and worth reading before you trust it with anything live.

Large Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fgenerate-ideal-customer-profiles-and-find-lookalike-companie)

**21 steps** Large: read it before trusting it with anything live

**1** Branch: places the flow splits

**0** Loops or waits

**0** Services by connector: it calls them over plain HTTP

## The flow

Starts it 1 Model 1 Logic 18 Service 1

The steps in the order they run, from what starts it.

- 1 **Manual Trigger** Manual trigger *Starts it*
- 2 **Authorization** Set *Logic*
- 3 **Configuration** Set *Logic*
- 4 **Mock ICP Companies based on Implisense-ID** Code *Logic*
- 5 **serialize_ids** Function *Logic*
- 6 **trim** Set *Logic*
- 7 **get_lookalikes** Http Request *Service*
- 8 **lookalikes_or_icp** Switch *Logic*
- 9 **parse_term_features** Function *Logic*
- 10 **get_companies** Split Out *Logic*
- 11 **Filter term.en** Function *Logic*
- 12 **Filter term.de** Function *Logic*
- 13 **list_of_companies** Set *Logic*
- 14 **sort_desc** Function *Logic*
- 15 **sort_desc2** Function *Logic*
- 16 **digest_terms_en** Function *Logic*
- 17 **digest_terms_de** Function *Logic*
- 18 **merge_terms** Merge *Logic*
- 19 **set_f2** Set *Logic*
- 20 **generate_icp_report** Open Ai *Model*
- 21 **icp_report** Set *Logic*

## How it's built

- **Starts on:** An event in a connected app
- **Steps:** 21, with 1 branch
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Nothing by connector; it calls services over plain HTTP
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an event in a connected app.

Does it use AI?

Yes. It calls OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 21 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 21 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fgenerate-ideal-customer-profiles-and-find-lookalike-companie)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Workflows like it

Also crm, with the same services where possible, closest in size first.

- [**AI-powered document workflow automation with OpenAI** 21 steps · calls a model · Email, Google Drive](https://millionrounds.com/workflow/ai-powered-document-workflow-automation-with-openai)
- [**Automated 4-stage email follow-up system with Groq and NocoDB** 21 steps · calls a model · Email, NocoDB](https://millionrounds.com/workflow/automated-4-stage-email-follow-up-system-with-groq-and-nocod)
- [**Capture and follow up on Tally inquiries with Salesforce** 21 steps · calls a model · Salesforce](https://millionrounds.com/workflow/capture-and-follow-up-on-tally-inquiries-with-salesforce)
- [**Assess contract risk from Google Drive with Groq** 22 steps · calls a model · Google Drive, Salesforce](https://millionrounds.com/workflow/assess-contract-risk-from-google-drive-with-groq)
- [**Capture and Store CRM Contacts with Telegram and Gemini** 22 steps · calls a model · Google Sheets, Telegram](https://millionrounds.com/workflow/capture-and-store-crm-contacts-with-telegram-and-gemini)
- [**Collect and publish customer testimonials with Claude and CRM** 22 steps · calls a model](https://millionrounds.com/workflow/collect-and-publish-customer-testimonials-with-claude-and-cr)
