Summary
This workflow automates the processing of Datto alerts and events into PSA tickets. The solution ingests alerts from Datto BCDR, SIRIS, and cloud products, evaluates severity, deduplicates against existing tickets, creates new tickets with full contextual information, and routes them to the appropriate service board and team. By automating Datto ticket creation, the workflow ensures consistent alert handling, reduces manual effort, prevents duplicate tickets, and provides technicians with the information needed to resolve issues quickly.
Usage
Prerequisites
Before using this workflow, ensure the following requirements are met:
-
Datto Integration: Configure the Datto API integration in Rewst
-
PSA Integration: For ticket creation and management
-
Email Integration: For notifications
-
Organizational Variables:
datto_ticket_board: PSA service board for Datto ticketsdatto_severity_mapping: Map Datto alert severity to PSA prioritydatto_dedup_enabled: Enable ticket deduplicationdatto_dedup_window_hours: Deduplication window (e.g., 24)datto_auto_resolve_alerts: List of alert types to auto-resolve
Workflow Inputs
| Parameter | Type | Required | Description |
|---|---|---|---|
alert_id | String | Yes | Datto alert identifier |
alert_type | String | Yes | Type of Datto alert |
device_id | String | Yes | Datto device identifier |
severity | String | Yes | Alert severity level |
company_id | String | Yes | PSA company ID |
alert_message | String | No | Alert description/message |
create_ticket | Boolean | No | Create PSA ticket. Default: true |
force_new_ticket | Boolean | No | Skip dedup check. Default: false |
Execution
Event-Driven Trigger (Recommended)
- Webhook from Datto triggers processing for each alert
Scheduled Processing
- Poll Datto API every 15-30 minutes for new alerts
Processing Flow
- Alert Ingestion: Receive and parse Datto alert
- Device Lookup: Retrieve device details and associated company
- Deduplication: Check for existing open tickets for same device/alert
- Severity Mapping: Map Datto severity to PSA priority
- Context Enrichment: Add device details, backup status, and agent info
- Ticket Creation: Create or update PSA ticket
- Assignment: Route to appropriate board and team
- Notification: Alert team for high-severity alerts
- Documentation: Log processing details
Returned Data
{
"success": true,
"alert_id": "DATTO-2026-001",
"alert_type": "backup_failure",
"device": {
"device_name": "SERVER-DC01",
"device_id": "dev-12345",
"serial_number": "DATTO-SN-12345",
"model": "SIRIS 4",
"company": "Acme Corp"
},
"processing_results": {
"duplicate_found": false,
"ticket_created": true,
"ticket_id": "BCK-2026-015",
"ticket_priority": "High",
"ticket_board": "Backup & DR",
"assigned_team": "Infrastructure Team"
},
"alert_context": {
"description": "Backup failed for agent DC01-FullSystem",
"last_successful_backup": "2026-03-03T02:00:00Z",
"consecutive_failures": 2,
"recommended_action": "Check agent connectivity and storage space"
}
}
Changelog
2026-03-04
- Initial version of the document