Docs/Automation
WorkflowsFollow-up

Automation

Build visual, multi-step workflows that run on their own when something happens: a form comes in, a contact is created, an appointment is booked, or a pipeline stage changes.

How automation works

A workflow starts from one or more triggers, runs a chain of steps, and moves each contact through them. Steps send messages, wait, branch on conditions, update records, hand work to AI employees, or send data to your own endpoints. Contacts enroll when a trigger fires and progress step by step until they finish, hit a goal, or exit the workflow.

On the Android app (version 1.68 or later), a locked Automations row in More does not open the feature. Tap it to open a box that names the plan once, for example "Automations needs Community 97", with one button, Not now. The box has no plans or billing button, so change your plan on the website.

The workflows list

The workflows list shows every workflow in the account. Use the All, Live, Off, and Draft tabs to narrow the list. A Needs setup tab appears after them when some drafts still need something before you can turn them on. Off shows the paused and archived workflows. Each tab shows a count. When you have drafts, a line under the tabs says how many drafts send nothing yet, for example "2 drafts send nothing yet. Turn on a draft to start it." Folders keep workflows organized: press New Folder next to the folder chips to create one, and use the menu on a folder chip to rename or delete it. Workflows you built or added are listed under Yours, and the ones LeedAgent set up for your account are listed under From LeedAgent. Those run on their own, and you can edit or pause them. Their names and descriptions show in the app's language (English, Spanish, or Portuguese), and a name you renamed shows as you typed it. Search finds workflows by name or description, in the stored text or the translated text. The Watch how link sits beside the page title and opens a video about automations. The link shows only when that video is ready.

Each row shows the status, the number of steps, how many contacts are enrolled with how many still active, how many contacts have executed the workflow (reached its end), and when the workflow was last updated. Statuses are draft, published, paused, and archived. On a phone, each figure is labelled Steps, Enrolled, Active, or Executed.

A draft that is not on yet has one more line under its row, saying what it still needs before you can turn it on, for example "Needs before you turn it on: a texting number, a pipeline stage, and a form." A draft with nothing missing says "Nothing missing. Review it, then turn it on."

A draft whose message still has a template placeholder, such as [number of organizations] in Turning 65 Medicare Check or [your review link] in the review request, says "Needs before you turn it on: the [brackets] in the message filled in." Turn on is refused for any message that still has text in square brackets, and the refusal names the text to replace. Replace it with your real text or link, then turn the workflow on.

On a lender account, the workflows list can show a Mortgage kit: loan updates card. It lists the loan-update workflows that move a deal through your Loan Pipeline and that your account does not have yet. Select Add as drafts to add them all at once. They are added as drafts, so nothing is sent until you turn them on. See the whole Mortgage kit opens the New Workflow dialog. The card goes away when nothing is missing.

Turning on a workflow that sends texts needs a texting number on your account. If a text step has no sending number and you have no texting number yet, the Turn on window says "This workflow sends texts, and your account has no texting number. Set one up in Phone, then turn it on." It has a link to Phone, and its Turn on button stays unavailable until you have a number.

If a workflow had a failed step in the last 7 days, its row shows a red Failing badge, and a line under its name says why. For example, "3 steps failed in the last 7 days. Open Activity to see why." Contacts who did not get emails because their address is blocked (bounced or unsubscribed) are counted on that line too.

In the iPhone app (version 1.31 or later), when any workflow has failures, the list shows a segmented filter with All workflows and Needs attention, each with its count. Choose Needs attention to see only the workflows with failures.

A published workflow that still points at a pipeline or stage you deleted is broken: new leads are not added to a pipeline from it. Its row shows the red Failing badge with the line "A step uses a pipeline or stage that was deleted. Open the workflow and pick another one." In the builder, the step that points at the deleted pipeline or stage has a red border and says "Pipeline was deleted. Pick another one." or "Stage was deleted. Pick another one." The bell in the top bar shows one red alert for each such workflow, naming the workflow and saying a step uses a deleted pipeline. Select Fix the workflow in the alert to open it. Only team managers see these alerts, and the bell checks for them every five minutes, so a new one can take a few minutes to appear.

The actions are in the row menu, and depend on status:

  • Open Builder opens the workflow canvas.
  • Duplicate copies the workflow as a new draft, with " (copy)" added to its name.
  • Publish appears on drafts and archived workflows.
  • Pause appears on published workflows, and Resume on paused ones.
  • Archive retires a workflow.
  • Move to folder reorganizes it. It appears once you have folders.
  • Delete removes it. Deletion asks you to confirm and cannot be undone.

Build with AI

At the top of the New Workflow dialog is a Build with AI box. Describe what should happen, in up to 2000 characters, such as "When a new lead comes in, text them hello, wait 1 day, then send a follow-up email." Then click Build draft. The box says Building... while it works. AI builds a draft and opens it in the builder. Nothing sends until you review the draft and turn it on.

Build with AI uses your AI wallet. If the wallet is empty, the box says Your AI wallet is empty. Add funds to use Build with AI. On a plan without AI features, the box is locked and says Build with AI needs a plan with AI features. If AI cannot build a workflow from your description, the box says AI could not build a workflow from that, and asks you to try describing it more simply. The templates and kits are still under the box, under the line "or pick a template".

Start from a template

Templates give you a working starting point instead of a blank canvas. Pick one, adjust the messages and timing to fit how you sell, and publish. The templates are:

  • New Lead Follow-up.
  • Appointment Reminder. Sends a text 1 hour before the appointment.
  • Re-engagement.
  • Tag-based Nurture.

When the app is set to Spanish or Portuguese, the template names, descriptions, and messages appear in that language. Otherwise they appear in English.

On a real estate account on Solo or higher, the New Workflow dialog also has a Real estate kit group. On an insurance account that group is named Insurance kit. Pick a kit there to create its whole workflow at once. The kit cards are grouped by job: Follow up, Showings and appointments, Deals and closings, After closing, Tags, Seasonal (in season now), and More. Seasonal cards show only near their holiday. They are not deleted, and they come back in season. The Auto-tag by pipeline stage cards sit behind one card with that name and a count, such as Auto-tag by pipeline stage (8). Select it to show them. On an account with no workflows yet, the Automation page shows the real estate kit cards right away, under Start with the Real estate kit. Pick one to add it as a draft. Nothing sends until you turn it on. The real estate kit's workflows show in your account's language (English, Spanish, or Portuguese), with the same steps in each. If you already have that workflow, the dialog says You already have this workflow. Opening it. and opens the one you have.

On a lender account on Solo or higher, the New Workflow dialog has a Mortgage kit group. It holds the loan workflows, the shared tag workflows, and the loan stage workflows, such as Loan Update: Clear to Close. Each card shows the workflow's name and a one-line description, in your account's language. A workflow created from the dialog starts as a draft, so turn it on when it is ready.

A new real estate account that sets up its kit also gets Booking - Move Deal to Showing / Tour. When someone books a showing, it moves their deal to Showing / Tour in your Realtor Pipeline, or creates the deal there if they have none. The kit's Showing Reminder counts from the appointment start: a text one day before the showing and another one hour before it. Real estate accounts that were already set up do not change.

New real estate kit installs also get two post-closing workflows. In English they are named Buyer Client - Post Closing and Seller Client - Post Closing. Accounts that were already set up do not get them.

A new insurance account that sets up its kit also gets Booking - Move Deal to Appointment Set. When someone books a call, it moves their deal to Appointment Set in your Insurance Pipeline, or creates the deal there if they have none. Insurance accounts that were already set up do not change.

On an insurance account on Solo or higher, the New Workflow dialog also offers the insurance workflows. Pick one to create it as a draft, then turn it on when it is ready. The four insurance workflows are Renewal Reminder, New Client Welcome, Enrollment Follow-Up, and Review Request After Enrollment. Renewal Reminder and Enrollment Follow-Up start when you enroll a contact by hand. New Client Welcome and Review Request After Enrollment start when an opportunity is marked Won. Each one has Stop when they reply on, so a client who replies stops getting the next message. The review request has a placeholder, [your review link]. Replace it with your review link before you turn that workflow on. If you already have a workflow with that name, the dialog says You already have this workflow. Opening it. and opens the one you have.

The first time the workflows list opens on an insurance account, LeedAgent also adds seven ready-made recipes as drafts, in the account's language: Birthday Greeting, Turning 26 Coverage Check, Turning 65 Medicare Check, Cancelled Client Win-Back, Medical Appointment Reminder, Missed Appointment Follow-Up, and Policy Payment Failed Text. Nothing is turned on, sent or enrolled when they are added, and your existing workflows do not change. Each recipe is added once. If you delete or archive one, it does not come back. A recipe is skipped when you already have a workflow with the same name.

You can also start from a blank workflow. The new workflow dialog also has a line, Or ask the AI Desk to draft a workflow for you, with an Open AI Desk link.

The builder

Click a workflow to open the builder. The builder has two tabs: Builder, which is the canvas, and Activity, which shows what has run (see Activity below). The canvas shows the triggers and steps as blocks you connect. A side panel edits the block you select. Validation runs as you build and lists what must be fixed before you can publish.

A long flow opens at a readable size, starting at the trigger. If the whole flow does not fit at that size, drag the canvas to see the rest.

The Publish button opens a confirm dialog that reminds you triggers run for real contacts. A Test panel runs the workflow, and an unsaved-changes guard stops you from leaving with edits still unsaved.

Workflows built for you by AI or from a template wait in the Needs review tab on the Automation page. Check them, then confirm or turn them on. Open one and a banner at the top says This workflow was built for you by AI or from a template. Check each step before it runs. When you have checked it, select Mark as reviewed.

Triggers

A trigger is what starts the workflow. You can mark one trigger as the entry point. The Trigger links button in the Automation toolbar opens the Trigger links page, where you make a link with New trigger link. The Trigger link clicked trigger starts a workflow when a contact opens one of your trigger links. Its filter picks one trigger link, or any trigger link. In the merge field menu, the Trigger links group lists your links, or offers Create one. To add one, choose a type from the Trigger type list above the canvas, then select Trigger. Trigger types are grouped:

  • Contact events: a contact is created, updated, has a lifecycle change, or a birthday arrives.
  • Forms and surveys: a hosted form or a survey is submitted.
  • Appointments: booked, cancelled, rescheduled, completed, no-show, not confirmed, or confirmation sent.
  • Tags: a tag is applied or removed.
  • Pipeline: an opportunity is created, a stage changes, or a status changes to Open, Won or Lost.
  • Messages: an SMS or WhatsApp message arrives or goes out.
  • Reviews: a review is received or a reply is posted.
  • Calls: an outbound call starts, a call is missed, or power dialer activity.
  • Conversation AI: a handoff, the conversation finishes or pauses, or the CRM is updated.
  • Timekeeper milestones: a milestone is due, overdue, or completed.
  • Community: a community member's trial is ending, a member joins a community, reaches a new community level, or visits a community for the first time. Also a member's access ends, a cancellation is scheduled, a payment fails, or the member limit is almost reached.
  • Policies (insurance accounts only): a policy lapses or is cancelled, a policy's effective date is reached, its Special Enrollment date is reached, or open enrollment opens for ACA or Medicare. Each can be limited to one policy line. Open enrollment applies to ACA and Medicare only. Policy payment failed starts when a policy's payment status is marked Failed. It has no policy line filter. It sends nothing by itself: the workflow sends only the steps you add.

On a lender account that has a pipeline named Loan Pipeline, the trigger list also has a Loan milestones group. It has one entry for each stage of the Loan Pipeline, labelled Loan milestone: and then the stage name. Picking one starts the workflow when a deal in the Loan Pipeline moves to that stage. It is saved as the Pipeline stage changed trigger, filtered to that stage, so you can pick it again later from the same list.

Select Trigger above the canvas to open a new trigger in the side panel. It is not saved until you select Save. If the workflow already has a trigger, Save asks you to confirm first, because the new trigger replaces the current one. If you do not continue, the current trigger stays.

A Google review or reply older than 7 days does not start a workflow. A workflow runs at most once for each review.

Many triggers take a filter, so the trigger fires only for what you pick: a specific form (a hosted form, a Meta lead form, or a survey, or any of them), a booking link or calendar, a tag name, a pipeline stage, or a Conversation AI outcome such as qualified, disqualified, not interested, or human requested, among others. Changes in a contact's lifecycle fire too.

If the same visitor sends the same form again within 5 minutes, using the same phone or email, a workflow that starts on that form runs once for it, not once per send. A send more than 5 minutes after the one before starts it again.

Steps

Older SMS and email steps open in the message editor with their text, so you can read and edit them. Nothing changes until you save.

Send Review Request is no longer in the step list, so you cannot add one to a workflow. A workflow that already has one keeps running it, and the step editor shows it as a legacy option. To send review requests to contacts, use the Requests tab on the Reviews page.

Flow control

  • Wait pauses the contact for minutes, hours, days, or weeks. Under Wait for, pick one of three modes: A set amount of time, Until before the appointment starts, or Until a date.
  • With A set amount of time, you can also tick Only continue between certain hours. Set a start and an end time, and if the wait ends outside those hours, the next step waits for the next opening. Times use your business time zone.
  • Until before the appointment starts: set Minutes before the appointment starts. The contact continues that many minutes before the booked appointment. Use it with the Appointment booked trigger. If the appointment is moved, the wait moves with it. If it is cancelled or deleted, the workflow stops at this step and nothing after it is sent.
  • Until a date: wait for a date you pick, or for a Date field on the contact, at a time of day you set (9:00 AM by default). Times use your business time zone (Settings > Business hours). To use a contact date field, it must already exist: add a Date field in Settings > CRM Fields. Then choose what happens if the date is missing or already past: Go on to the next step, or Skip this step.
  • If / Else compares a field, such as email, phone, name, lifecycle status, or a custom field, using equals, contains, exists, or does not exist. The field list includes your own contact fields, by their label, so you do not need to know the key. For a field that is not in the list, choose Custom field... at the end and type its key. You wire the Yes and No branches, and both must lead somewhere before you can publish.

If / Else can also check a tag. Choose contact has tag or contact does not have tag, then type the tag name or pick one from your tags. Upper or lower case does not matter. System tags are not offered in the list, but a workflow that already checks one keeps it.

If / Else can also check whether the contact has not replied. Choose contact has not replied since, then pick Since: they entered this workflow, or the last message this workflow sent. Use it after a Wait step to follow up only when they did not reply.

  • Goal marks the enrollment completed when the contact reaches this point. Name the goal after what it means, like Booked call. On the canvas and in the People list, the step shows as Goal: Booked call.

Communication

  • Send Email, Send SMS, and Send WhatsApp. Email takes a subject and a rich body. SMS picks a sending number and writes the text against a character counter. WhatsApp writes a message or uses a template, and needs WhatsApp on your plan. Every channel has a test-send panel. On the canvas, an email step shows Sent and Failed counts for the workflow, so you can see at a glance whether emails are going out. Once emails have been sent and email tracking is on, a line under those counts shows Opened and Clicked. Each email counts once, at its first open or its first click. Clicks on unsubscribe links are not counted. A marketing email also needs your business address on the account before the workflow can be published; see Business address for marketing emails.
  • Internal notification alerts you or the lead's assigned owner by email, text, or Telegram, with a subject and message. Merge variables work here too.
  • Send Community Message sends the contact a message from your community. Leave the message empty to send the welcome message you set in Manage, under Settings. Or type your own message.

In an email step, the subject and the body each have an Insert field button. Pick a field from the menu and it goes in where your cursor was last, or at the end. The menu has three groups: Contact (first name, last name, email, and phone), Your business (agent name, business name, business phone, business email, website, and review link), and Your contact fields (the fields in your account, shown only when you have some). Open full editor, above the body, opens the subject and body in a wider Edit email window. Click Done to close it. Your changes show in both places.

Email, SMS, and WhatsApp steps can carry files. Under the message, select Add a file and pick a file from your computer. The limits depend on the channel. Email takes up to 5 files, 5 MB each and 10 MB in total: images (JPG, PNG, GIF, or WebP), PDF, Word, Excel, CSV or text files, and MP4 video. SMS takes up to 5 images (JPG, PNG, or GIF), 5 MB each, and goes out as a picture message, which costs more than a plain text. WhatsApp takes one file, 5 MB at most, and images must be JPG or PNG. A WhatsApp step with a file cannot use a template, and the file only reaches contacts who wrote to you in the last 24 hours.

Insurance

Insurance accounts get an Insurance group in the step list, with two steps. Other account modes do not see it. Both steps are skipped, not failed, when the contact has no policy.

  • Update Policy changes one thing on a policy of the contact: its status (quote, active, lapsed or cancelled), what it is waiting on (nothing, document, payment, approval, agent or updated by client), or its Important flag. The change is recorded in the policy's activity.
  • Create Client Request opens a request for the client. Pick a type (policy change, ID card, claim help, billing / payment, cancellation, document request or other), write notes, and set an optional due date in days from today.

AI employees

These steps need a plan that includes AI.

  • Start Conversation AI on the contact. You pick a profile and can add an optional delay. Contacts already in an active conversation with that profile are skipped.
  • Stop or pause Conversation AI on the contact.
  • AI agent runs one AI action from free-text instructions you write. It is metered against your AI usage.

Contact

  • Create contact adds a contact. It matches by email or phone first, and you choose whether an existing match is updated, skipped, or a new contact is created anyway. New contacts can get a default lifecycle status.
  • Update contact sets a field to a fixed value or to data from the trigger.
  • Archive contact archives the contact.
  • Apply or remove a tag. Type the tag name or pick one from your tags. Apply tag can create a new tag: type the name and choose Create "name", and the tag is created when the step first runs. Remove tag only picks tags you already have. If a saved name is not in your tag list, the step shows Not in your tags. and keeps the name as it is. Reserved system tag names are blocked, and system tags are not offered in the list.
  • Set do-not-disturb per channel: email, SMS, WhatsApp, or calls. Enable or disable each one, with an optional reason.
  • Add a note to the contact.
  • Create task adds a task for the contact to your Today list. Fill in Task note, Due in (days) from 0 to 365, and Plus (hours). Mark the task Done when it is handled.

Opportunity

  • Create opportunity sets the pipeline, the stage, and an open, won, or lost status, with an optional value.
  • Update opportunity changes the status, value, stage, or active state of an opportunity.
  • Move to pipeline stage moves the opportunity to a stage you pick.

On an insurance account, the builder calls Create opportunity and Update opportunity Create Application and Update Application. The steps work the same way.

Send data

  • Webhook sends a request to your own HTTPS endpoint using POST, GET, PUT, PATCH, or DELETE. Contact data is included automatically. You can add headers and extra payload, and a Send test request button shows you the response.

Publishing and validation

Publish runs validation first. It checks that every branch is connected, email steps have a subject and a body, SMS steps have a sending number, tags and notes are filled in, and webhook URLs are public HTTPS. Each problem names its step with a number, such as "Wait (step 3)", so you can find it. Fix the issues in the list, then publish.

Pausing a workflow stops new processing. Archiving exits active enrollments immediately.

Business address for marketing emails

A marketing email must show your postal address at the bottom. LeedAgent prints the business address from Settings, then Business, then Business Information. If that address is not filled in, the Automations page tells you. A banner at the top says your marketing emails are going out without your business address, and it has an Add address link. The bell in the top bar also shows an alert titled Add your business address. Both show only when you have a published workflow that sends marketing email and the address is not complete.

You cannot publish or resume a workflow that sends marketing email until the address is complete. The Automations page then shows "Add your business address first. Marketing emails must show a postal address (a PO box or private mailbox is fine)." with an Add address link. Workflows that are already published keep sending.

The address needs a street, a city, and a postal code. The region is also needed when the country is the US or left blank. A PO box or a private mailbox is fine.

Activity

Open a workflow and click the Activity tab to see how it is running.

Three cards show the totals for this workflow: In the workflow now, Finished, and Failed.

Under the cards, Recent activity lists the latest steps that ran. Each row shows When, Contact, Step, and Result. Click Refresh to load the newest rows.

The Result column uses these labels:

  • Done: the step ran.
  • Waiting: the contact is in a wait step. The row shows Waiting until followed by the date and time the contact continues. A wait before an appointment says (before the appointment). A message held for send hours shows Held until, the date and time, then (send hours).
  • Skipped: the step did not run. The row gives the reason in plain words, such as Skipped: this contact is set to do not automate, Skipped: already in this automation, or Skipped: contact opted out.
  • Failed: the step did not run. The row shows the error.
  • Ended: the contact was taken out of the workflow during a wait, so nothing more runs for it.

If a step points at a pipeline or stage you deleted, its Failed row names the step and says the selected pipeline or stage no longer exists. It was probably deleted. Open the step and pick another one. The step is not retried, because a retry would fail the same way.

The Activity tab also has a People view, next to the Activity log. It lists each contact in the workflow. When email tracking is on, the People view has an Email column that shows Opened and Clicked for each contact.

If the contact was deleted, the Contact column shows Contact removed. Test runs show the contact name followed by Test run. A wait that has already passed and was followed by more steps shows Done with Waited, then continued. A wait whose time has passed but has no later step yet shows Waiting with Waited until followed by the date.

If nothing has run yet, the tab says so. A published workflow says runs start when its trigger happens, and names the trigger. A draft or paused workflow says to publish the workflow and enroll a contact to see it here.

Testing (real sends)

The Test panel runs the workflow for a real contact you pick, and it sends for real: real emails, real texts, real WhatsApp messages. There is also a "process queue" action. Test runs show up on the Activity tab, marked Test run.

Tests are live

A test run is not a simulation. Pick a test contact you are allowed to message, like yourself or a colleague who agreed to receive the messages.

How enrollment works

When a trigger fires, every matching published workflow enrolls the contact. If the contact is already actively enrolled in that workflow, their existing journey continues instead of restarting.

Loop protection stops workflows from triggering each other endlessly.

Before every email, SMS, or WhatsApp send, the contact's consent and do-not-disturb settings are checked. Opted-out channels are skipped, and the skip is logged.

A monthly cap applies to SMS and WhatsApp messages. Workflows can optionally tag enrolled contacts, so you can see who is in a workflow at a glance. Click an empty part of the canvas to open Workflow Settings, then turn on Membership tag enrollment. While it is on, each contact who enters the workflow gets a tag that starts with sys:in:.

Workflow Settings also has two more options, both off by default. Enter once means a contact can go through this workflow only one time, ever. Stop when they reply takes a contact out of the workflow when they reply by SMS, WhatsApp or email.

Plan notes

How many workflows you can run depends on your plan.

  • AI steps need a plan that includes AI: Solo and up.
  • WhatsApp sending needs WhatsApp on your plan.