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.

GroupTriggerStarts whenExtra settings
LeadsNew Lead AddedA new lead is created.—
Lead Status ChangedA lead’s status is updated.—
Lead AssignedA lead is assigned to a user.—
Label Added to LeadA Label is added to a lead.—
AppointmentAppointment BookedA new Appointment is Booked.—
Date and timeDate ArrivesA lead’s follow-up date is reached.Check at (required)
EmailEmail openedA lead opens a tracked email.Only within (optional)
Email RepliedA lead replies to an email.—
IncomingWebhookA 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.

SettingMeaning
NameA label for the trigger, for example New lead webhook.
Webhook URLThe 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 requestThe 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:

PartOptions
IfLead Source, Lead Status, Website, Assigned User, Label, Appointment Status
Conditionis, is not, contains, is empty, is not empty
ValueOne 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

ActionWhat it doesSettings
AI EngagementMultichannel 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 followupLike 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

ActionWhat it doesSettings
Create leadCreate a new lead from the incoming data.See Create lead below.
Update Lead FieldChange 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 StatusUpdate the lead status.Lead status
Assign to Team MemberAssign lead to a team member.Team member
Add NoteAdd an internal note to lead.Note
Add LabelAdd a Label to lead.Label
Move to groupMove lead to another group.Lead group
Notify a team memberSend 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

ActionSettings
Send SMS MessageMessage content, Booking link
Send WhatsApp MessageMessage content, Booking link
Send Email MessageSubject (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:

OptionResult
No booking link{{booking_url}} is left empty.
Custom URLThe Booking URL you paste.
Business scheduling URLThe URL you enter, or the business widget’s custom link if you leave it blank.
Lead booking linkGenerates 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.

SettingMeaning
MethodPOST 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).

ConditionUse it to
Check if / elseCheck if a field has a specific value.
Check Lead StatusCheck 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

WaitSettings
DurationWait X minutes/hours/days. Wait for (a number, minimum 1, default 5) and Unit (Minutes, Hours or Days).
UntilWait 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.”