What’s inside a workflow
Each workflow keeps everything it needs in one place:When to create a new workflow
Create one workflow per process. Keep steps together when they are part of the same job and share data. Split them when they run independently:Good: Separate workflows
Good: Separate workflows
- Ticket routing — Classify new tickets and assign them to a team
- Order confirmation — Email the customer when an order is placed
- Lead capture — Add new form submissions to the CRM
Good: One workflow
Good: One workflow
- Order confirmation email
- Shipping notification
- Delivery confirmation
- Review request
Creating a workflow
1
Open Workflows
Log in to CogniAgent and click Workflows in the left sidebar.
2
Click + Workflow
Click + Workflow in the toolbar. On an empty list, click Start from scratch instead — or Describe what you want to automate to have it built for you.
3
Name your workflow
In the Add Workflow dialog, choose a descriptive name that reflects what the automation does, then click Add workflow.Good names:
- “Customer Support Triage”
- “E-commerce Order Confirmation”
- “Lead Qualification”
- “Test”
- “New Workflow”
- “Untitled”
4
Start building
The workflow opens on the Create New Workflow screen. Pick a template, a trigger, or an action to add your first node.
Workflow variables
Variables store data that nodes can read and write. Two types:Runtime variables
Exist only during a single run. Use these for temporary data. Example: Store the result of an AI classification to use in a condition node later in the same run.Workflow variables
Persist across runs. They are provisioned once and shared by every execution of the workflow. Use these for data that needs to survive between runs. Example: Track how many support tickets were processed today, or store the last sync timestamp for an integration.Setting variables
You can set variables in two ways:- Update Variable node — Set a value while the workflow runs
- The Run dialog — Set initial values before a run
Referencing variables
Use the syntax{{variable_name}} to reference variables in node configurations.
Managing workflows
Viewing execution history
Every run is logged. The execution history shows:- Status — Completed, Failed, Running, or Waiting
- Start time — When the execution began
- Duration — How long it took
- Trigger — What started the run
- Node details — What each node did, including inputs and outputs
Workflow states
The status badge on each workflow shows one of:
Start or stop a workflow with Start / Stop in its row menu on the Workflows list.
Duplicating workflows
Need a similar automation? Choose Duplicate from the workflow’s row menu instead of starting from scratch. Its nodes, variables, and settings are copied.Deleting workflows
Best practices
Naming conventions
Use consistent naming across your workflows:- Workflows — Describe the specific automation (e.g., “Process New Invoice”)
- Nodes — Describe the step (e.g., “Classify Ticket”)
- Variables — Use clear, descriptive names (e.g.,
last_sync_timestampnotlst)
Keep workflows focused
Each workflow should do one thing well. If a workflow is getting too complex:- Split it into several smaller workflows
- Use the “Execute Workflow” action to coordinate between them
Document your automations
Add descriptions to:- Workflows — What business problem does this solve? What triggers it?
- Complex nodes — Why is this configured this way?
Next steps
Define Your Workflow
Learn how to add and connect nodes on the canvas
Create Your First Workflow
Step-by-step guide to getting started
