For the complete documentation index, see llms.txt. This page is also available as Markdown.

Configuring Workflows

How to use the Workflow editor, covering triggers, steps, settings, and the publish lifecycle.

Every Workflows is built in the Workflow editor, a canvas where you define a Trigger (which leads enter the workflow) and a sequence of Steps (what happens to them once they do). This page covers the editor, its settings, and how a published workflow runs.

Triggers

Every workflow starts with a Trigger, the criteria that defines which leads enter the workflow. Triggers can include multiple condition groups combined with AND/OR logic, giving you precise control over which leads are enrolled.

Any field in Spara's Data Model is available as trigger criteria, including fields captured by your agents, synced from your CRM, or tracked from website activity.

Trigger criteria with multiple conditions combined using AND logic.

A workflow continues to operate on a lead even if that lead no longer matches the trigger criteria after entering. Triggers only control entry.

Spara evaluates leads who have been active within the past 2 years for new-lead workflows. A lead active in the last year but not the last month will still be eligible to enter.

Phone call event triggers

In addition to field-based criteria, workflows can trigger on phone call events. Use the On navigator call ended event to fire a workflow after a web-based (Navigator) voice call ends — for example, to send a follow-up email or enroll the lead in a next-step sequence. This is separate from the SIP-based incoming and outgoing call triggers used with standard phone numbers.

Product demo event triggers

The On product demo ended event fires after a lead completes an AI product demo, so you can follow up while the demo is still fresh.

Adding steps

After the trigger, add Workflow Steps to the canvas. Each step executes in sequence: when one finishes, the next begins. Use Wait steps to control timing, and Condition steps to branch the logic. See Workflow Steps for the full list of step types and how each is configured.

Workflow settings

Workflow settings control when a lead should automatically exit a workflow based on engagement. These are configurable per workflow:

  • End on email reply: Lead exits when they reply to an email from a Send Email step

  • End on text reply: Lead exits when they respond to a text from a Send Text step

  • End on call answer: Lead exits when they pick up a call from a Call Phone step

All three are enabled by default. Disable them if you want leads to continue through the workflow even after engaging.

Testing and publishing

Save the workflow as a draft to test it before going live. When you open the Test panel from the editor, Spara automatically generates a test lead pre-filled with values that satisfy your trigger criteria and any condition branches on the happy path, so you can start a test immediately without filling in fields manually. You can adjust individual field values before running the test. When you're ready, Publish to start enrolling leads.

Send real messages during a test

By default, test runs simulate all outbound messages — emails, texts, calls, and notifications (Slack, Teams) are not actually sent. Workflow editors can enable Send real messages in the Test panel to verify that messages truly land: pick which channels should really deliver, provide a destination email address and/or phone number, and Spara sends live messages to those addresses instead of the test lead's contact info. Channels you don't pick stay simulated. The test lead itself stays in Test Mode; nothing is written to your CRM and analytics are excluded.

For a step-by-step walkthrough of building a workflow, see Guide: Building Your First Workflow.

How a published workflow runs

A lead only enters a workflow once. Updating trigger criteria does not cause leads who already entered to re-enter.

Unpublishing pauses execution. Leads already in the workflow will not continue until you republish. Republishing resumes from where each lead left off; it does not restart the workflow.

Misconfigured steps don't stop the whole workflow. If a published step becomes misconfigured (e.g., a disconnected Twilio account), leads that reach that step are paused there. Other steps continue to execute normally. Fix the configuration and paused leads will resume.

Engagement-based exits. When workflow settings are enabled, leads automatically exit the workflow when they reply to an email, respond to a text, or answer a call from a workflow step.

FAQ

Can a lead be in multiple workflows at the same time?

Yes. A lead can be enrolled in multiple workflows simultaneously. Each workflow operates independently.

What happens if I change a workflow that already has leads in it?

Unpublished changes do not affect leads currently in the workflow. When you publish, new leads will follow the updated workflow. Leads already in progress continue from their current step.

Can workflows send messages to the assigned sales rep?

Yes. The Send Email and Notify steps can target the lead's assigned sales rep. Use Send Email to CC or send directly to the rep, and Notify to alert them via Slack or Teams.

Last updated