Triggers and actions
Every block the workflow builder offers — triggers and their filters, AI, lead, messaging and webhook actions, conditions, waits and End — with the settings each one takes.
When you click + in the Flow Builder, the + Add New panel lists the five block types: Trigger, Action, Condition, Delay / Wait and End. Pick one to see its steps, grouped as below. Select a step, fill in its settings and click Add Block. To learn how to lay blocks out and publish, see Creating a workflow.
Triggers
A trigger decides what starts a run. A workflow has exactly one.
| Group | Trigger | Starts when | Extra settings |
|---|---|---|---|
| Leads | New Lead Added | A new lead is created. | — |
| Lead Status Changed | A lead’s status is updated. | — | |
| Lead Assigned | A lead is assigned to a user. | — | |
| Label Added to Lead | A Label is added to a lead. | — | |
| Appointment | Appointment Booked | A new Appointment is Booked. | — |
| Date and time | Date Arrives | A lead’s follow-up date is reached. | Check at (required) |
| Email opened | A lead opens a tracked email. | Only within (optional) | |
| Email Replied | A lead replies to an email. | — | |
| Incoming | Webhook | A webhook URL is called. | Webhook URL and sample |
Date Arrives
Check at picks an hour of the day. “Each day at this hour — in your business timezone — every lead whose follow-up date is that day starts this workflow.” The follow-up date itself is set on the lead.
Email opened
Only within limits the trigger to opens 1, 3, 7, 14 or 30 days after the email was sent. Leave it at Any time after sending to count every open. As the panel explains, “Someone reopening an old email is not a warm lead, so opens outside this window are ignored.”
Webhook
Use the webhook trigger to start a workflow from a website form or another tool.
| Setting | Meaning |
|---|---|
| Name | A label for the trigger, for example New lead webhook. |
| Webhook URL | The address your tool sends a POST request to. Copy copies it; Rotate issues a new URL, and the old one stops working straight away. |
| Sample request | The fields in the last request Zoie received. Send one test request, then click Fetch sample. |
A webhook run starts with incoming data, not a lead. Add a Create lead action straight after the trigger. Steps that need a lead won’t publish until a Create lead step comes before them.
Trigger filters
Under Filters (optional), click + Add Filter to limit which leads start the workflow. Each filter has three parts:
| Part | Options |
|---|---|
| If | Lead Source, Lead Status, Website, Assigned User, Label, Appointment Status |
| Condition | is, is not, contains, is empty, is not empty |
| Value | One or more values. Lead Status, Assigned User and Label list your own statuses, team members and labels. Lead Source offers Email, Google, Appointment, Website, Referral, Facebook and Zoie Signup. For Website and Appointment Status you type the values. |
With more than one filter, Logic decides how they combine: All filters must be true or At least one filter must be true.
For example, a Lead Status Changed trigger with the filter Lead Status is Lost runs only when a lead moves to Lost.
Actions
AI Agent
| Action | What it does | Settings |
|---|---|---|
| AI Engagement | Multichannel outreach. Your AI agent writes and sends a message to the lead. It uses SMS if the lead has a phone number, otherwise email. | Instructions for the AI agent, for example what to focus on. |
| Send AI followup | Like AI Engagement, but based on previous conversation: the agent reads the recent messages before writing. | Instructions for the AI agent |
Both need an AI agent set up for the business, and SMS needs a sending phone number. See AI Agents.
Lead
| Action | What it does | Settings |
|---|---|---|
| Create lead | Create a new lead from the incoming data. | See Create lead below. |
| Update Lead Field | Change a field value in the lead profile. | Field (Lead Source, Website or Appointment Status), New value, and Clear the value instead, which wipes the field rather than setting it. Status, assignee and labels have their own actions. |
| Change Lead Status | Update the lead status. | Lead status |
| Assign to Team Member | Assign lead to a team member. | Team member |
| Add Note | Add an internal note to lead. | Note |
| Add Label | Add a Label to lead. | Label |
| Move to group | Move lead to another group. | Lead group |
| Notify a team member | Send an internal notification about this lead. This is the only action aimed at your team rather than the lead. | Notify: The lead’s assigned user or A specific team member (then pick one), plus a Message. |
If Notify is set to the assigned user and the lead has no owner, “the step is skipped rather than failing the run.”
Create lead
Create lead from has two modes:
- Incoming webhook payload builds a lead from a webhook request. Map fields lists each incoming field so you can point it at a lead field: First Name, Last Name, Email, Phone Number, Company, Job Title, Website, Service, Notes, Location, UTM Source, UTM Medium or UTM Campaign. Leave a field on Ignore to drop it. Auto-map by name fills in the obvious matches. Map at least an email or a phone number, “without one the lead cannot be messaged.”
- If the lead already exists: Match on email (default), Match on phone number or Always create a new lead.
- Lead Source: stamped on every lead this step creates. It defaults to Web_Lead.
- A copy of this lead copies the lead the run is about Into group of your choice. “The original stays where it is; the copy is linked back to it. Running twice reuses the copy rather than making another.”
Messaging
| Action | Settings |
|---|---|
| Send SMS Message | Message content, Booking link |
| Send WhatsApp Message | Message content, Booking link |
| Send Email Message | Subject (optional), Email content, Booking link |
Messages can include these placeholders, written as {first_name} or {{first_name}}: first_name, last_name, full_name, email, phone_number, business_name and booking_url.
Booking link decides what {{booking_url}} becomes:
| Option | Result |
|---|---|
| No booking link | {{booking_url}} is left empty. |
| Custom URL | The Booking URL you paste. |
| Business scheduling URL | The URL you enter, or the business widget’s custom link if you leave it blank. |
| Lead booking link | Generates a lead-scoped Zoie book link at send time. |
Click Insert {{booking_url}} to add the placeholder to the end of the message.
Other
Send webhook posts the lead to an external URL when the workflow reaches this step.
| Setting | Meaning |
|---|---|
| Method | POST or PUT. |
| URL | “Must be https, and must point at a public address — internal hosts are refused when the workflow runs.” |
| Secret (optional) | “Sent as the X-Zoie-Webhook-Secret header so the receiver can verify the call came from you.” |
Conditions
A condition checks the lead and splits the flow into an Is true path (left dot) and an Is false path (right dot).
| Condition | Use it to |
|---|---|
| Check if / else | Check if a field has a specific value. |
| Check Lead Status | Check if a lead is in a specific status. |
Both use the same rule builder as trigger filters, under Conditions: + Add Condition, then If, Condition and a value, with Logic when you have more than one. A condition needs at least one rule and at least one connected branch. A lead sent down a branch that leads nowhere simply stops.
Delay / Wait
| Wait | Settings |
|---|---|
| Duration | Wait X minutes/hours/days. Wait for (a number, minimum 1, default 5) and Unit (Minutes, Hours or Days). |
| Until | Wait until date/time. Wait until a date and time. It must be in the future when you publish. |
End
End (Stop this automation) marks the end of a path. “This step ends the automation — no configuration needed.”