> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.meetgail.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.meetgail.com/_mcp/server.

# Welcome New Leads

> Build a workflow that greets every new lead the moment they arrive and enrolls them in a nurture campaign.

When a new lead comes in, the first few minutes matter. This guide builds a
workflow that reacts the instant a lead arrives: it saves them as a contact,
texts them a friendly welcome, and enrolls them in a nurture campaign so the
follow-up happens on its own.

The workflow has five steps that run top to bottom:

Start, then Add Contact, then Send SMS, then Add Contact to Campaign, then End.

![The Welcome New Leads workflow on the builder canvas: Start, Add Contact, Send SMS, Add Contact to Campaign, End.](https://fdr-prod-docs-files-public.s3.us-east-1.amazonaws.com/gail.docs.buildwithfern.com/18f17d3dd3f01fed6c844496686c9261bdb02eb57d402180b2de69d596937636/docs/pages/platform/workflows/assets/guide-welcome-canvas.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA6KXJSKKNFOCF7G4B%2F20260823%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260823T233013Z&X-Amz-Expires=604800&X-Amz-Signature=6eeb441390ebae1645ad189d90fdefcb730b0eed925ec8ef6f81698ece54efe6&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject)

## What each step does

* **Start** is the trigger. Here it is a webhook, fired by an external form or
  your CRM the moment a lead is created. The lead's details ride along in the
  request.
* **Add Contact** saves the lead as a contact in Gail.
* **Send SMS** texts the new lead a warm welcome, sent to the phone number the
  Add Contact step just recorded.
* **Add Contact to Campaign** enrolls the new contact in a nurture campaign so
  outreach continues automatically.
* **End** finishes the run.

## Build it step by step

### Set the Start step to a webhook trigger

Leave the Start step as the entry point and configure it as a webhook, so an
external form or CRM can start a run whenever a lead comes in. Publishing the
workflow gives you a URL the other system calls. See
[Triggers & Webhooks](/platform/workflows/core-concepts/triggers-webhooks) for the
full setup, and the
[Trigger from a Webhook](/platform/workflows/guides-and-recipes/recipes/trigger-from-a-webhook)
recipe for a quick walkthrough.

### Add the Add Contact step

Add an [Add Contact](/platform/workflows/node-reference/gail/add-contact) step below
Start and fill in the lead's details. In this example the fields are typed in
directly so you can see the shape of it:

| Field         | What to enter            |
| ------------- | ------------------------ |
| First name    | `Sarah`                  |
| Last name     | `Chen`                   |
| Email         | `sarah.chen@example.com` |
| Phone number  | `+15555550123`           |
| Business name | `Chen Insurance Group`   |

![The Add Contact settings panel with the new lead's name, email, phone, and business.](https://fdr-prod-docs-files-public.s3.us-east-1.amazonaws.com/gail.docs.buildwithfern.com/3b2418a3c6cd23efa54c7241ee25ef510d2e1f961a160d30eaa641afd983ea84/docs/pages/platform/workflows/assets/guide-welcome-add-contact.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA6KXJSKKNFOCF7G4B%2F20260823%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260823T233013Z&X-Amz-Expires=604800&X-Amz-Signature=0429afa2369501381c5c2907ccfe05b55ac5e883c2f4473aebc147b5157f32f6&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject)

In a live webhook flow you would not type a fixed name. Instead you would
point each field at the matching value from the incoming request, so every
run saves the real lead. See
[Variables & Data Flow](/platform/workflows/core-concepts/variables-data-flow).

### Add the Send SMS step

Add a [Send SMS](/platform/workflows/node-reference/communication/send-sms) step below
Add Contact. For the **To** field, do not type a number. Point it at the phone
number the Add Contact step just saved, using this expression:

```
add-contact.data.phoneNumbers[0].number
```

For the **Message**, write a short, friendly welcome, for example:

```
Hi Sarah, thanks for reaching out to Chen Insurance Group! An agent will be in touch soon.
```

### Add the Add Contact to Campaign step

Add an
[Add Contact to Campaign](/platform/workflows/node-reference/gail/add-contact-to-campaign)
step below Send SMS. Choose the nurture campaign from the picker. For the
**Contact** field, point it at the contact this run just created with the
expression:

```
add-contact.data.id
```

![The Add Contact to Campaign settings panel: a selected campaign and the Contact ID set to the expression add-contact.data.id.](https://fdr-prod-docs-files-public.s3.us-east-1.amazonaws.com/gail.docs.buildwithfern.com/fc5841bede3016a876dd1435c48b52c0cb8508db7dba77ed7fe3980194ca33b2/docs/pages/platform/workflows/assets/guide-welcome-add-to-campaign.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA6KXJSKKNFOCF7G4B%2F20260823%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260823T233013Z&X-Amz-Expires=604800&X-Amz-Signature=f3328092399a49e0266b7f2b14e2ef0579c762348d016f0238b33ab64a3fb959&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject)

### Connect the steps and save

Draw connections so the run flows top to bottom: Start to Add Contact, Add
Contact to Send SMS, Send SMS to Add Contact to Campaign, and Add Contact to
Campaign to End. Save your work.

## Test it before you rely on it

Before this workflow greets real leads, watch it run once. You can step through
a run and confirm the welcome text goes to the right number and the contact
lands in the campaign. See
[Testing & Debugging](/platform/workflows/core-concepts/testing-debugging).

A run does real work. Send SMS sends a real text and Add Contact really saves a
contact. Use your own phone number and test details while you are trying things
out.

## What to try next

#### [Process a Daily CSV](/platform/workflows/guides-and-recipes/guides/process-a-daily-csv)

Handle many leads at once from a partner's daily file.

#### [Branch on a Value](/platform/workflows/guides-and-recipes/recipes/branch-on-a-value)

Route new leads differently based on a condition.

#### [Send a Slack Alert](/platform/workflows/guides-and-recipes/recipes/send-a-slack-alert)

Tell your team the moment a new lead arrives.

#### [Trigger from a Webhook](/platform/workflows/guides-and-recipes/recipes/trigger-from-a-webhook)

Wire an external form or CRM to start this workflow.