AutoFlow Overview
Automate workflows and processes with CommFlow's powerful AutoFlow automation engine.
AutoFlow Overview#
AutoFlow is CommFlow's workflow automation engine. Create automated workflows that save time and ensure consistency across your team.
What is AutoFlow?#
AutoFlow lets you automate repetitive tasks:
- Triggers - Events that start workflows
- Conditions - Rules that filter when to run
- Actions - What happens automatically
- Workflows - Complete automation sequences
Key Concepts#
How AutoFlow Works#
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ TRIGGER │ → │ CONDITION │ → │ ACTION │
│ (Event) │ │ (If/Then) │ │ (Do this) │
└─────────────┘ └─────────────┘ └─────────────┘
- Trigger fires when something happens
- Condition checks if criteria are met
- Action executes if conditions pass
Example Workflow#
WHEN: New ticket created
IF: Priority is "Urgent" AND Category is "Support"
THEN:
- Assign to Support Team
- Send Slack notification
- Add "urgent" label
Getting Started#
Accessing AutoFlow#
- Click AutoFlow in the sidebar
- View existing workflows
- Create new automations
- Monitor activity
Creating Your First Workflow#
- Click New Workflow
- Name your workflow
- Select a trigger
- Add conditions (optional)
- Add actions
- Save and activate
Workflow Builder#
Interface Overview#
┌─────────────────────────────────────────────────────────┐
│ Workflow: Auto-assign Urgent Tickets [Save] │
├─────────────────────────────────────────────────────────┤
│ │
│ ┌─ TRIGGER ─────────────────────────────────────────┐ │
│ │ 📥 When ticket is created │ │
│ └───────────────────────────────────────────────────┘ │
│ ↓ │
│ ┌─ CONDITION ───────────────────────────────────────┐ │
│ │ If priority = "Urgent" │ │
│ │ AND status = "Open" │ │
│ └───────────────────────────────────────────────────┘ │
│ ↓ │
│ ┌─ ACTIONS ─────────────────────────────────────────┐ │
│ │ ✓ Assign to "Support Lead" │ │
│ │ ✓ Send notification to #support │ │
│ │ ✓ Add label "needs-attention" │ │
│ └───────────────────────────────────────────────────┘ │
│ │
│ [+ Add Step] │
└─────────────────────────────────────────────────────────┘
Building Workflows#
- Start with a trigger - What kicks off the workflow?
- Add conditions - When should it run?
- Define actions - What should happen?
- Test - Run a test to verify
- Activate - Turn it on
Triggers#
Available Triggers#
| Module | Triggers |
|---|---|
| Inbox | Ticket created, updated, assigned, resolved |
| Team Chat | Message sent, channel created, member joined |
| Live Support | Chat started, chat ended, visitor action |
| TaskFlow | Task created, moved, completed, overdue |
| DataFort | File uploaded, shared, deleted |
Trigger Configuration#
Each trigger has specific settings:
Ticket Created:
- All tickets
- Specific inbox only
- From specific channel
- With specific priority
Conditions#
Condition Types#
| Type | Example |
|---|---|
| Equals | Priority = "High" |
| Contains | Subject contains "urgent" |
| Is empty | Assignee is empty |
| Is not empty | Email is not empty |
| Greater than | Response time > 1 hour |
| Less than | Messages < 5 |
Combining Conditions#
Use AND/OR logic:
IF:
(Priority = "Urgent" OR Priority = "High")
AND
(Status = "Open")
AND
(Assignee is empty)
Condition Groups#
Create complex logic:
IF:
Group 1 (ANY):
- VIP customer
- Enterprise plan
AND
Group 2 (ALL):
- New ticket
- No response yet
Actions#
Available Actions#
| Category | Actions |
|---|---|
| Assignment | Assign to user, team, round-robin |
| Status | Change status, priority, labels |
| Notification | Send email, Slack, in-app |
| Communication | Send reply, internal note |
| Integration | Webhook, API call |
| Data | Update fields, create record |
Action Examples#
Send Notification:
To: #support-urgent channel
Message: "🚨 Urgent ticket from {{customer.name}}: {{ticket.subject}}"
Auto-Reply:
To: Customer
Subject: Re: {{ticket.subject}}
Body: "Thanks for reaching out! We've received your message and will respond within 2 hours."
Action Variables#
Use dynamic data in actions:
| Variable | Value |
|---|---|
{{ticket.subject}} | Ticket subject line |
{{customer.name}} | Customer's name |
{{customer.email}} | Customer's email |
{{assignee.name}} | Assigned agent name |
{{timestamp}} | Current date/time |
Workflow Management#
Workflow List#
View all workflows:
| Column | Description |
|---|---|
| Name | Workflow name |
| Status | Active/Inactive |
| Trigger | What starts it |
| Runs | Times executed |
| Last Run | Most recent execution |
Activating/Deactivating#
- Find workflow in list
- Click toggle switch
- Status changes immediately
Editing Workflows#
- Click workflow name
- Modify trigger, conditions, or actions
- Save changes
- Changes apply to new events
Duplicating Workflows#
Create similar workflows:
- Click ... menu
- Select Duplicate
- Modify as needed
- Save with new name
Deleting Workflows#
- Click ... menu
- Select Delete
- Confirm deletion
Note: Deleted workflows cannot be restored.
Testing Workflows#
Manual Testing#
Test before activating:
- Open workflow
- Click Test
- Provide sample data
- See what would happen
- Verify results
Test Mode#
Run in test mode:
- Enable Test Mode
- Workflows log actions without executing
- Review logs
- Disable test mode when ready
Workflow Logs#
See execution history:
Workflow: Auto-assign Urgent Tickets
─────────────────────────────────────
Jan 15, 10:30 AM - SUCCESS
Trigger: Ticket #1234 created
Condition: Passed (priority = urgent)
Actions:
✓ Assigned to Sarah
✓ Sent notification
✓ Added label
Jan 15, 9:15 AM - SKIPPED
Trigger: Ticket #1233 created
Condition: Failed (priority = normal)
Common Workflows#
Auto-Assignment#
Automatically assign tickets:
WHEN: Ticket created
IF: Subject contains "billing"
THEN: Assign to Billing Team
SLA Escalation#
Escalate before SLA breach:
WHEN: Ticket SLA at 80%
IF: Priority = "High"
THEN:
- Notify manager
- Add "sla-risk" label
Welcome Messages#
Greet new customers:
WHEN: Chat started
IF: Visitor is new
THEN: Send welcome message
Task Notifications#
Notify on task changes:
WHEN: Task moved to "Review"
IF: Has assignee
THEN: Notify assignee to review
Out of Hours#
Handle after-hours messages:
WHEN: Ticket created
IF: Outside business hours
THEN:
- Send auto-reply
- Add "after-hours" label
Best Practices#
Workflow Design#
- Start simple - Build basic workflows first
- Test thoroughly - Always test before activating
- Use clear names - Descriptive workflow names
- Document purpose - Add descriptions
- Review regularly - Audit workflows periodically
Performance#
- Be specific - Narrow conditions prevent unnecessary runs
- Avoid loops - Don't trigger workflows that trigger themselves
- Limit actions - Keep actions focused
- Monitor logs - Check for errors
Common Mistakes#
- Too broad triggers - Runs on too many events
- Missing conditions - Affects wrong items
- Circular workflows - Action triggers same workflow
- Too many actions - Overwhelming notifications
Plan Availability#
AutoFlow is available as an add-on:
| Feature | Included |
|---|---|
| Workflows | Unlimited |
| Triggers | All available |
| Actions | All available |
| Logs | 30-day history |
| Testing | Full test mode |
Next Steps#
- Triggers & Actions - Deep dive into triggers
- Building Workflows - Advanced workflow patterns
Was this page helpful?
Let us know if you found what you were looking for.