Workflow Execution
When a CRM event matches your workflow’s trigger conditions, Thread automatically creates a run - an instance of the workflow executing for a specific account. [SCREENSHOT: Workflows page showing runs tab with recent executions] Caption: The runs tab shows all workflow executions with status and timingHow Workflows Execute
Automatic Triggers
Active workflows respond to CRM events in real-time:- CRM event occurs (deal reaches stage, status changes, etc.)
- Thread receives webhook from the CRM
- Workflow starts - creates run, extracts account data
- Nodes execute sequentially until complete or paused
Workflows process CRM events within seconds. If you update a deal in HubSpot and the workflow is active, you’ll see a new run almost immediately.
Manual Triggers (Testing)
You can also manually trigger workflow runs for testing:- Open the workflow editor
- Click “Test” in the toolbar
- Select or create test data
- Click “Run Test”
Run States
| State | Icon | Meaning |
|---|---|---|
| Running | 🔵 | Workflow is actively executing |
| Paused | ⏸️ | Waiting at a human task node |
| Completed | ✅ | Successfully reached an End node |
| Failed | ❌ | Error occurred during execution |
| Cancelled | 🚫 | Manually cancelled by admin |
State Transitions
Viewing Runs
From Workflows Page
The Runs tab on the Workflows page shows all recent runs across all workflows: [SCREENSHOT: Runs tab showing list of recent workflow runs] Caption: View all recent runs with account, workflow, status, and timing Columns:- Account - Company the run is for
- Workflow - Which workflow ran
- Status - Current state
- Started - When the run began
- Duration - Total time (or time so far)
- Current Node - Where the run is (if not completed)
Run Detail View
Click any run to see detailed execution information: [SCREENSHOT: Run detail view showing execution path and node statuses] Caption: The run detail view shows exactly what happened at each step What you’ll see:- Visual path through the workflow
- Status of each node (completed, skipped, current)
- Data at each step
- Time spent at each node
- Error details (if failed)
Debugging Failed Runs
When a run fails, you’ll see:- Red failed status on the run
- Error indicator on the failing node
- Error details in the run detail view
Common Failure Causes
Missing Required Data
Missing Required Data
Symptom: Node fails with “required field missing” errorCause: CRM record doesn’t have expected dataFix:
- Add condition node to check for required data
- Update CRM record and retry
- Make the field optional in node config
Integration Disconnected
Integration Disconnected
Symptom: Node fails with “authentication error”Cause: CRM integration token expired or revokedFix:
- Go to Connectors and reconnect the integration
- Retry the run
Invalid Variable Reference
Invalid Variable Reference
Symptom: Node fails with “variable not found” errorCause: Node references variable that wasn’t setFix:
- Check upstream nodes are configured correctly
- Ensure conditional paths set required variables
- Add default values where appropriate
Email Send Failed
Email Send Failed
Symptom: Send Email node failsCause: Invalid email address, rate limits, or email service issueFix:
- Verify recipient email addresses
- Check email service status
- Retry after brief delay
Retrying Failed Runs
Managing Paused Runs
Runs pause when they reach human task nodes (CSM Assignment, Approval, Triage, Handoff Form).Finding Paused Runs
From Runs tab: Filter by status = “Paused” to see all runs waiting for human action. From Queue Dashboard: Human tasks appear in the Queue Dashboard for team members to process. [SCREENSHOT: Queue dashboard showing paused workflow items] Caption: Paused runs appear as tasks in the Queue DashboardCompleting Human Tasks
When you complete a human task in the Queue Dashboard:- Task is marked complete
- Run automatically resumes
- Execution continues to next node
- Run completes or pauses at next human task
Queue Dashboard Guide
Learn how to process queue items
Cancelling Runs
To stop a run that’s in progress or paused:When to Cancel
- Test run you no longer need
- Duplicate run created by mistake
- Run stuck due to unfixable issue
- Account was created in error
Run History & Reporting
Viewing History
All runs are retained for auditing and analysis:- Filter by workflow - See runs for a specific workflow
- Filter by status - Find completed, failed, or paused runs
- Filter by date - Search within time ranges
- Filter by account - See all workflow runs for an account
Key Metrics
Monitor these metrics to assess workflow health:| Metric | What It Shows |
|---|---|
| Completion rate | % of runs that reach End node |
| Average duration | Time from start to completion |
| Pause time | Time spent waiting at human tasks |
| Failure rate | % of runs that fail |
Detailed analytics dashboard coming soon! Currently, you can export run data for analysis.
Real-Time Monitoring
Watching Active Runs
In the run detail view, you can watch execution in real-time:- Nodes highlight as they execute
- Data updates appear immediately
- Human task status shows when someone claims it
Notifications
Thread can notify you about workflow events:- Failures - Alert when a run fails
- Long pauses - Alert when human tasks aren’t completed
- Completions - Optional notification on success
Notification preferences are configured in Settings → Notifications.
Best Practices
Monitor Regularly
Check runs daily to catch issues early
Set Up Alerts
Get notified about failures immediately
Track Metrics
Watch completion rates and duration trends
Review Failures
Investigate every failure to prevent recurrence
Healthy Workflow Indicators
- ✅ 95%+ completion rate
- ✅ Human tasks completed within hours
- ✅ No recurring failure patterns
- ✅ Average duration within expectations
Warning Signs
- ⚠️ Rising failure rate
- ⚠️ Human tasks sitting for days
- ⚠️ Same error appearing repeatedly
- ⚠️ Runs taking much longer than expected
