> For the complete documentation index, see [llms.txt](https://support.parvenu.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.parvenu.io/features/flows/flow-examples.md).

# Flow Examples

Three Flows worth copying.

## 1. Keep an email campaign topped up

Your campaign never runs dry, and you never think about it. Parvenu watches the campaign, sources fresh leads when it gets low, and sends only the good ones back in.

1. **Trigger** - Smartlead campaign running low. Run low when fewer than 3 days of sending are left.
2. **Get Next TAM Slice** - take the next unused slice of your saved audience.
3. **Lead Search** - source that slice, with **Find emails too** on.
4. **Keep going until the list has enough** - loop back for another slice until you have the number you want.
5. **ICP Scoring** - score everyone against your ICP.
6. **If / else (multiple checks)** - `icp.is_match` equals `true` **and** `base.email` exists.
7. **Personalize with AI** - write the opener for the leads that passed.
8. **Send to Smartlead** - campaign `{{trigger.campaign_id}}`, so the leads go back into the campaign that ran low. The opener arrives as `{{Personalize_with_AI}}`.
9. **Send to Slack** - summary when the run finishes.

{% hint style="info" %}
The running-low trigger watches Smartlead campaigns. If you send from Instantly, Lemlist, Mailshake or Reply.io, use a **Parvenu list** trigger on a schedule instead and swap step 8 for that tool's export.
{% endhint %}

## 2. Score and route an inbound lead

Someone fills in a form on your site. Within a minute they are scored, and the good ones are in front of a rep while the rest go quietly into nurture.

1. **Trigger** - Inbound webhook. Point your form or automation tool at the Flow's webhook URL, and map the form's name, email, company and website to `base.person_name`, `base.email`, `base.organization_name` and `base.current_company_website`.
2. **Clean Contact Name** and **Clean Company Name** - tidy whatever they typed in.
3. **Company From Domain** - pull the company's details from its website.
4. **ICP Scoring** - score them against your ICP.
5. **If / else** - `icp.is_match` equals `true`.

**If they match:**

6. **Research with AI** - a short brief on the company for the rep.
7. **Send to HubSpot** - create the contact so the rep owns it.
8. **Send to Slack** - one message per lead, with the brief, so someone can call today.

**If they don't:**

6. **Move to a list** - drop them into your nurture list. This has to be the last step on that branch.

{% hint style="success" %}
No LinkedIn lookups and no email search here - the form already gave you the email. Only the leads that match go on to the AI step.
{% endhint %}

## 3. Deep personalization

One list in, a genuinely personal first line out. This Flow does a lot of work per lead, so point it at a short list of people who matter.

1. **Trigger** - Parvenu list. Add the people you want to research.
2. **LinkedIn Profile Lookup** - with **Full profile** on, for their role, history and about section.
3. **Recent LinkedIn Posts** - their last few posts, filtered to the past 3 months.
4. **Company From Domain** - the full company record.
5. **Find Company News** - anything the company has been in the news for recently.
6. **Scrape Website with AI** - ask it something specific, for example *what does this company promise its customers, in one sentence?*
7. **Personalize with AI** - write the opener using everything above.
8. **Send to Smartlead** - the opener arrives on the lead as the custom field `Personalize_with_AI`. Put `{{Personalize_with_AI}}` at the top of your first email.

A prompt for step 7:

```
Write one sentence to open a cold email to {{base.first_name}},
{{base.current_title}} at {{base.organization_name}}.

Use the most specific thing you can find, in this order:
their recent LinkedIn posts ({{posts}}), then company news ({{ai.company_news}}),
then what the company does ({{ai.website_scrape}}), then their about section ({{profile.about}}).

No greeting, no sign-off, no flattery. Under 25 words.
If nothing specific is available, return an empty string.
```

{% hint style="warning" %}
Steps 3 to 6 all cost credits before you have written a word. Test the Flow on 10 leads, open the run, click a few leads to read what the AI wrote, then fix the prompt before you run the full list.
{% endhint %}

{% hint style="info" %}
Clicking **Run** shows the estimate before anything starts. Most steps only charge on a hit, so the real cost usually lands below it.
{% endhint %}
