Daily Status Automation

This workflow sends daily system status updates to Mattermost at 9 AM, Monday to Friday. Key nodes include Daily Schedule (cron trigger), Set Automation Info (sets metadata), System Health Check (collects system metrics), Get Current Time (formats time), Check Time Formatting (verifies time), Time Error Fallback (handles time errors), Combine Health and Time (merges data), Format Status Message (creates message), Send Daily Status (posts to Mattermost), Check Message Sent (verifies post), Log Success (logs success), Log Mattermost Error (handles errors). It uses the Mattermost API for notifications. Setup Requirements Install n8n from n8n.io or sign up at cloud.n8n.io. Import the JSON into n8n’s workflow editor. Create a Mattermost account, get an access token (User Settings > Personal Access Tokens), and note your team’s channel ID (Channel > Info > Copy Channel ID). Configure n8n credentials: mattermostApi with your token and Mattermost URL (e.g., your-team.mattermost.com). Replace YOUR_CHANNEL_ID in Send Daily Status. No webhook is used, but ensure Mattermost accepts API posts. Handle errors like invalid credentials (401: Unauthorized) or incorrect channel ID (400: Invalid Channel). Use a secure token and avoid sharing it. Testing and Deployment Import the JSON into n8n. Set Mattermost credentials and channel ID. Manually trigger the workflow to simulate the 9 AM cron job. Verify Get Current Time formats correctly and Send Daily Status posts a message with system status, automation ID, and timestamp to Mattermost. Check Log Success for status: completed and messageId. Test with an invalid token (401: Unauthorized) or wrong channel ID (400: Invalid Channel). Monitor for rate limits (429: Too Many Requests). If the message doesn’t post, verify the token, URL, and channel ID. Activate the workflow for weekday execution at 9 AM. Deploy for reliable system status updates, ensuring Mattermost notifications are visible to your team.

$5.49

Workflow steps: 12

Integrated apps: scheduleTrigger, set, dateTime

Daily Status Automation preview