← All documentation · Workflows & Automation
Workflow automation
Automate your business in LogAI: build workflows visually or describe them to AI, trigger on lead/deal/task/calendar events, send emails, call APIs, branch with conditions, add delays, and monitor every run step by step.
8 min read · Last updated
Workflows react to events — a new lead, an updated deal, a deleted task — and run the follow-up for you: send an email, create a task, call an API, wait a day, branch on a condition, or ask AI to analyze the record. Manage them under Workflows → Configurations; build them in the full-screen visual Builder, or just describe what you want and let the AI assistant draft the whole thing.
Build a workflow
- Create it. Click
Create Workflowand choose a path: Describe it — we'll draft it (the AI assistant, 5 credits per draft — clarifying questions are free and refunded drafts cost nothing) or Start from scratch (name it and open a blank canvas). Either way the workflow is created paused — nothing runs until you switch it on. - Pick the trigger. Choose what starts it: a Lead, Deal, Task, or Calendar Event being
Created,Updated, orDeleted. Update triggers can watch specific fields (fire only when those change), and every trigger supports Start only when conditions with AND/OR rules. - Add actions. From the Action Library, chain any steps: create/update/delete a Lead, Deal, Task, or Calendar Event · Send Email · HTTP Request · Condition (Yes/No branch) · Delay (minutes, hours, or days — up to 30 days) · AI (analyze data with instructions and reuse the answer downstream). Click any node to configure it in the side panel — each step saves on its own.
- Use dynamic data. Fields accept variables: trigger record fields as
{{entity_data.field}}and earlier step outputs as{{outputs.<step>.field}}— or click any upstream node on the canvas to browse its available fields. - Activate. Close the builder and flip the row's switch. LogAI validates the whole graph first — a missing trigger, disconnected step, or looping connection blocks activation with a precise message. Once active, it runs automatically on every matching event.
The AI assistant is conversational: Describe the automation in plain words — “When a new lead is created, wait a day, then send a follow-up email” — review the proposed plan, reply with changes, and click Build this workflow. Drafts arrive as paused workflows with every step pre-configured for your review. Inside the builder, Edit with AI drafts changes the same way.
What each action can do
| Action | Details |
|---|---|
| Record actions | Create, update, or delete a Lead, Deal, Task, or Calendar Event. Update/delete first find their target with filter conditions — applied to the latest match or all matches. |
| Send Email | To (required), CC, Subject (max 255), rich-text body — sent through your organization's SMTP settings, with the platform mailer as fallback. |
| HTTP Request | GET/POST/PUT/PATCH/DELETE to any public https endpoint with custom headers and a JSON body — connect LogAI to external tools. |
| Condition | Branches the flow: the Yes path continues below, the No path exits right. |
| Delay | Wait minutes, hours, or days (max 30 days). The run shows as Delayed and resumes automatically. |
| AI | Send context (up to 10,000 chars, variables allowed) plus instructions (up to 2,000 chars); its output feeds later steps — e.g. summarize a lead and draft the follow-up. |
Monitor every run
Each row shows a live rail of its last 10 runs with a success rate. Click Runs to open the execution history: every run records the triggering record, duration, and a per-step timeline — select any step to see its Input Data, Output Data, and Error Trace (the failed step is auto-selected). Failed runs retry with one click as a fresh run; pending or waiting runs can be stopped.
| Run status | Meaning |
|---|---|
| Success | All steps completed. |
| Failed | A step errored — open the run to read its Error Trace, then Retry. |
| Delayed | Paused at a Delay step; resumes automatically at the scheduled time. |
| Running | Currently executing (the view live-refreshes every few seconds). |
| Stopped | A user clicked Stop Execution. |
Rules of the engine
- Workflows chain — an action that creates or updates a record can trigger other active workflows, up to 3 hops deep; a workflow never re-triggers itself in the same chain, so no infinite loops.
- Versioned — the version tag (v1, v2…) in the list increments on workflow-level updates such as renames and pause/activate flips.
- Plan entitlements — Pro includes up to 10 workflows; Pro Plus is unlimited.
- Testing — there's no simulate button: activate, trigger a real event (e.g. create a test lead), and inspect the run's step-by-step data under Runs.
- Permissions — viewing needs the Workflow permission (Viewer); creating, editing, toggling, and deleting need Editor.
Pipeline-stage automations live with pipelines: Workflows that fire when a deal enters or leaves a pipeline stage are attached in the pipeline's stage editor — see Sales pipelines & deals.
Frequently asked questions
What events can start a LogAI workflow?
Lead, Deal, Task, and Calendar Event triggers — each on Created, Updated, or Deleted, with optional watch-fields (fire only when specific fields change) and Start-only-when conditions. Pipeline-stage workflows additionally fire when a deal enters or exits a stage.
What actions can a workflow perform?
Create/update/delete Leads, Deals, Tasks, or Calendar Events; send emails; make HTTP requests to external APIs; branch with conditions; wait with delays up to 30 days; and run an AI step whose output later steps can use. WhatsApp and SMS actions aren't available in workflows today.
Does the AI workflow assistant cost credits?
5 AI credits per drafted plan (for both new workflows and AI edits). Clarifying questions are free — credits are refunded whenever no plan is produced — and building the drafted plan costs nothing.
How do I test a workflow before going live?
Workflows are created paused. Review each step, activate, then trigger a real event — like creating a test lead — and open Runs to inspect every step's input, output, and errors. Failed runs retry in one click.
Why won't my workflow activate?
Activation validates the whole graph and lists what's wrong: no trigger, no actions, a step not connected to the trigger, a looping connection, a condition without rules, or a delay without a duration. Fix each listed item and toggle again.
Can one workflow trigger another?
Yes — record-changing actions fire real events that can start other active workflows, up to a chain depth of 3 to prevent runaway cascades. A workflow can never re-trigger itself within a chain.
How do I use trigger data inside a step?
Insert variables: {{entity_data.field}} for the triggering record's fields, {{outputs.<step>.field}} for earlier step outputs (like the AI step's answer) — or use the canvas picker to click an upstream node and browse its fields.
Why is my run showing “Delayed”?
It reached a Delay step and is waiting; the run resumes automatically at the scheduled time (a single delay can wait up to 30 days). You can stop a waiting run with Stop Execution.
What address do workflow emails come from?
Your organization's configured SMTP account (mail settings); if none is set up, LogAI's platform mailer is used as fallback.
How many workflows can I create?
The Pro plan includes up to 10 workflows and Pro Plus includes unlimited workflows as plan entitlements.
Open the LogAI app — start free, no credit card required.