Email automation means emails go out automatically when a contact takes an action or meets a condition, for example when someone requests a demo, starts a trial or goes quiet for 30 days. You build the logic once as a workflow, and your email platform or CRM sends the right message to each person at the right time.
For B2B lead generation, a handful of email automation workflows do most of the work: fast follow-up on new leads, nurturing for leads that are not ready to buy, and onboarding for trial users and new customers. This guide covers which flows to build first, how to set them up and which rules to meet so your emails reach the inbox. It is part of our marketing automation hub.
What is email automation?
Email automation is a workflow made of a trigger, optional conditions and one or more actions, such as sending an email, waiting or updating a field. Once it is live, it runs for every contact who meets the trigger, without anyone pressing send.
A typical workflow looks like this: a contact submits the demo request form (trigger), the contact is not a current customer (condition), and the system sends a confirmation, notifies the account owner and waits two days before a follow-up (actions). HubSpot, for example, describes four kinds of enrollment triggers in its workflow tool: filter-based, event-based, schedule-based and webhook-based. Other platforms use different names for the same ideas.
This is different from an email campaign. A campaign, such as a newsletter, goes to a list at a moment you choose. Automation is always on and reacts to each contact individually. Most programs need both.
Email automation workflows to set up first
Start with the workflows that sit closest to revenue: lead follow-up, nurturing and onboarding. They affect pipeline directly and are easy to measure.
| Workflow | Trigger | Goal | Stop when |
|---|---|---|---|
| Lead follow-up | Demo or contact form submitted | Confirm, set expectations, book the meeting | Meeting booked or reply received |
| Lead nurture | Content download or newsletter signup | Educate until the lead is ready for sales | Lead becomes sales-qualified or unsubscribes |
| Trial onboarding | Trial account created | Get the user to the first key action in the product | Key action done or trial converted |
| Customer onboarding | Deal closed won | Help new customers start using the product | Onboarding steps completed |
| Re-engagement | No activity for a set period | Restart the conversation or clean the list | Contact engages or is suppressed |
Lead follow-up is the most valuable and the most often neglected. A demo request should get an immediate, plain confirmation with a booking link and a short note on what happens next. Follow-up email automation then covers the gap until a meeting is booked, and stops as soon as the contact replies.
Lead nurture is for people who showed interest but are not ready to talk. Send useful content mapped to the questions buyers ask before they talk to sales: the problem, how others solve it, what it costs and how to choose. Each email should have one clear next step.
Onboarding flows for trials and new customers are triggered by product data, not by marketing forms. That makes them the best reason to connect your product to your CRM or email platform.
How to set up email automation
Setting up email automation is mostly preparation: clean data, a clear goal per workflow and a rule for when contacts leave. The building itself is the quick part.
- Define one goal per workflow. Write down the action you want, such as a booked meeting or a completed setup step, and the metric you will judge it on.
- Map the trigger and exit rules. Decide what enrolls a contact, what removes them, and whether they can enroll again. Missing exit rules cause most embarrassing emails.
- Check your data. Make sure the fields you use for triggers and personalization, such as lifecycle stage, company and owner, are filled in reliably.
- Write the emails. Keep them short, sent from a real person when it fits, with one call to action each. Plain text often suits B2B follow-up better than heavy templates.
- Build and test. Create the workflow, then enroll a test contact and check every branch, delay and personalization token.
- Turn it on and review weekly. For the first weeks, check enrollment numbers, errors and replies every week, then move to a monthly review.
CRM and email automation: where to build it
Build email automation in the system that holds your contact, deal and product data, usually the CRM. The closer the workflow sits to that data, the better it can react to what sales and the product already know.
| Type of system | Strengths | Watch out for |
|---|---|---|
| CRM with marketing automation | Workflows can use deal stages, owners and sales activity | Advanced workflow features often need a higher paid tier |
| Email marketing platform | Strong templates and list management, often cheaper | Needs a sync with your CRM, or sales data stays out of reach |
| Sales engagement tool | Personal sequences sent from a rep's mailbox, reply detection | Easy to over-send, and cold outreach brings legal and deliverability risk |
If your email tool and CRM are separate, sync at least lifecycle stage, owner and unsubscribe status in both directions. Otherwise sales keeps emailing people who opted out, or marketing keeps nurturing people who are already in a deal. Lead scoring can then use email engagement as one of its signals, alongside website visits and form data.
Deliverability rules for automated email
Automated emails only work if they reach the inbox, and the large mailbox providers have tightened their rules. Authentication, easy unsubscribes and a low spam rate are now requirements, not best practices.
Google's email sender guidelines apply to everyone who sends to Gmail accounts. Since February 1, 2024, all senders need SPF or DKIM authentication and must keep spam rates reported in Postmaster Tools below 0.3%. Senders of more than 5,000 messages a day to Gmail accounts must set up SPF, DKIM and DMARC, align the From domain, and support one-click unsubscribe for marketing and subscribed messages, with a clearly visible unsubscribe link in the body.
Legal rules come on top. The FTC's CAN-SPAM compliance guide states that the law makes no exception for business-to-business email, and that you must honor an opt-out request within 10 business days. In the EU, the ePrivacy Directive and national laws decide when you need prior consent, so check the rules for each country you send to.
Cold email automation: where it fits
Cold email automation can support outbound prospecting, but it is a different job from automating email to people who opted in. It carries more legal risk, and it can hurt the sending reputation of your main domain.
If you do outbound, keep it apart from your marketing automation. Many teams use a separate sending domain, low daily volumes per mailbox and genuinely personal messages. Stop sequences on any reply, honor opt-outs immediately and never add cold contacts to newsletter or nurture flows without a lawful basis.
How to measure email automation
Measure email automation on what happens after the email: replies, booked meetings, product activation and pipeline. Opens are no longer a reliable signal on their own.
Apple's Mail Privacy Protection, for example, prevents senders from seeing whether a recipient opened a message, which distorts open rates for those users. Clicks are more reliable but can be inflated by security scanners that follow links. Track the business outcome per workflow in your CRM, and connect email touches to your reporting so you can see their contribution next to paid channels. Our guide to attribution models explains how to give email credit without counting the same conversion twice.
Test one variable at a time in your workflows, such as the subject line or the call to action, and give each test enough volume. The same discipline you use for landing pages applies, as covered in our guide to conversion rate optimization.
Common mistakes in email automation
- No exit rules. Contacts keep getting nurture emails after they booked a meeting or became customers. Add exit conditions for replies, meetings, deals and unsubscribes to every workflow.
- Automating before the data is clean. Triggers on empty or wrong fields send the wrong email to the wrong person. Fix the fields your workflows depend on first.
- Too many overlapping workflows. One contact can end up in three sequences in one week. Set a priority order and suppress contacts already in a higher priority flow.
- Judging success on open rates. Privacy features distort opens. Use replies, meetings and pipeline as the main metrics.
- Skipping authentication. Without SPF, DKIM and DMARC, automated mail is more likely to land in spam or be rejected. Set them up before you scale volume.
- Set and forget. Product names, offers and links change. Review every live workflow at least once a quarter.
