Back up databases and files to Box with Mailgun email notifications
Needs changesWhat this workflow does
This workflow has 15 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Box and Mailgun.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Set Default Backup Config (Edit Fields (Set)): sets or maps fields
- Create Backup Folder (Box): create folder
- Prepare Backup Items (Code): runs custom JavaScript code
- Split Backups (Loop Over Items (Split in Batches)): loops over the items in batches
- Export Backup Data (HTTP Request): calls an HTTP API
- Was Export Successful? (If): checks a condition and branches into true / false
- Compress Export (Code): runs custom JavaScript code
- Compose Failure Email (Edit Fields (Set)): sets or maps fields
- Prepare File for Box (Convert to/from binary data): uses Convert to/from binary data
- Send Failure Notification (Mailgun): uses Mailgun
…plus 4 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- Convert to/from binary data in Prepare File for Box: replace with Convert to File or Extract from File.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| Convert to/from binary data Prepare File for Box | Convert to File or Extract from File |
Nodes used (9)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - Box
n8n-nodes-base.box - Code
n8n-nodes-base.code - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if - Convert to/from binary data
n8n-nodes-base.moveBinaryData - Mailgun
n8n-nodes-base.mailgun
From the author
Scheduled Backup Automation – Mailgun & Box This workflow automatically schedules, packages, and uploads backups of your databases, files, or configuration exports to Box cloud storage, then sends a completion email via Mailgun. It is ideal for…