Automate ConnectWise Ticket Alerts to Microsoft Teams with n8n

This n8n workflow automates sending new ConnectWise ticket alerts directly to Microsoft Teams, streamlining team notifications and reducing missed tickets. It filters already alerted tickets using Redis, ensuring your dispatch team only sees fresh requests instantly.
scheduleTrigger
microsoftTeams
httpRequest
+3
Workflow Identifier: 1371
NODES in Use: Schedule Trigger, Code, Redis, Merge, HTTP Request, Microsoft Teams

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

Visit through Desktop for Best experience

What This Workflow Does

This workflow automatically checks for new tickets from multiple ConnectWise boards during business hours and sends grouped alerts to a Microsoft Teams channel.

It avoids sending duplicate alerts by remembering ticket IDs in a Redis database.

It organizes tickets by company and site, making alerts easy to read and helping the team respond faster.


Who Should Use This Workflow

This workflow is for people managing many support tickets in ConnectWise and who manually notify dispatch teams in Microsoft Teams.

If manual monitoring causes delays or duplicate alerts, this workflow will save time and reduce errors.


Tools and Services Needed

  • ConnectWise API: To fetch new support tickets.
  • Microsoft Teams API: To send alert messages to a chat or channel.
  • Redis Database: To store ticket IDs that already triggered alerts.
  • n8n automation platform: To build, schedule, and run the workflow.

How This Workflow Works

Inputs

  • Scheduled timer triggers every minute between 8 AM and 4 PM on weekdays.
  • ConnectWise API returns new tickets from selected boards without parent tickets.
  • Redis is queried to find which tickets were already notified.

Processing Steps

  • Convert ticket IDs to strings and add a filter field.
  • Use a merge node to filter out tickets already recorded in Redis.
  • Group remaining tickets by company and site, combining ticket IDs and summaries into HTML format.

Output

  • Send formatted HTML alerts to the Microsoft Teams dispatch channel.
  • Store alerted ticket IDs into Redis to avoid future duplicate notifications.

Beginner Step-by-Step: How to Use This Workflow in n8n

Import and Configure

  1. Download the workflow file using the Download button on this page.
  2. Open the n8n editor and choose “Import from File” to load the workflow.
  3. Add required credentials for ConnectWise HTTP API and Redis in n8n credential settings.
  4. Update the Microsoft Teams node by entering the correct chatId and connecting OAuth2 credentials.
  5. Check if ticket board IDs or company fields need changes in the HTTP Request node and any code nodes.

Test and Activate

  1. Run the workflow manually once to verify new tickets are fetched and messages are sent to Teams.
  2. Review Teams chat to confirm the alert format and ticket grouping.
  3. Activate the workflow by turning on the Active switch inside n8n.
  4. Keep n8n running during business hours to ensure continuous alerts.

For self-host n8n setups, see self-host n8n resources to improve uptime and reliability.


Customization Ideas

  • Change the schedule trigger cron to run the workflow less often, such as every 5 minutes, to reduce alert noise.
  • Add more boards or ticket statuses in the API URL to watch other ticket types.
  • Modify group-by logic to combine tickets by priority or other fields instead of company/site.
  • Edit the Microsoft Teams message HTML to add colors, emojis, or brand styling.
  • Switch the Teams chatId to notify different channels or users.

Common Issues and Fixes

HTTP Request returns no tickets or empty data

Possible cause: API URL or clientId is wrong or missing.

Fix: Check the ConnectWise API endpoint and add proper clientId headers. Test tokens separately with tools like Postman.

Redis node fails or returns wrong data

Possible cause: Incorrect Redis connection or wrong key format.

Fix: Verify credentials in n8n and make sure ticket IDs are strings when used as Redis keys.

Microsoft Teams node does not send messages

Possible cause: Wrong chatId or expired OAuth2 token.

Fix: Regenerate the OAuth credentials and confirm chatId points to a valid channel or user. Test sending messages manually via the Teams API.


Summary of Benefits

✓ Saves 10+ hours a week by automating ticket alerts.
✓ Avoids duplicate or missed alerts with Redis tracking.
✓ Groups tickets by company and site for clear communication.
✓ Sends easy-to-read HTML messages in Microsoft Teams.
✓ Runs only during business hours to reduce interruptions.
✓ Improves team response time and client satisfaction.


Frequently Asked Questions

The workflow fetches new tickets from selected ConnectWise boards, groups them by company and site, then sends alert messages to a Microsoft Teams channel while avoiding duplicates.
The workflow uses a Redis database to store ticket IDs that already triggered alerts, then filters these tickets out in future runs.
Yes. The workflow’s Schedule Trigger node uses a cron expression that can be modified to run more or less frequently or at different times.
Check the chatId and OAuth2 credentials in the Microsoft Teams node. Renew credentials if expired and verify the chatId is correct for the desired Teams channel or user.

Promoted by BULDRR AI

Related Workflows

Automate Viral UGC Video Creation Using n8n + Degaus (Beginner-Friendly Guide)

Learn how to automate viral UGC video creation using n8n, AI prompts, and Degaus. This beginner-friendly guide shows how to import, configure, and run the workflow without technical complexity.
Form Trigger
Google Sheets
Gmail
+37
Free

AI SEO Blog Writer Automation Workflows in n8n

A complete beginner guide to building an AI SEO blog writer automation using n8n.
AI Agent
Google Sheets
httpRequest
+5
Free

Automate CrowdStrike Alerts with VirusTotal, Jira & Slack

This workflow automates processing of CrowdStrike detections by enriching threat data via VirusTotal, creating Jira tickets for incident tracking, and notifying teams on Slack for quick response. Save hours daily by transforming complex threat data into actionable alerts effortlessly.
scheduleTrigger
httpRequest
jira
+5
Free

Automate Telegram Invoices to Notion with AI Summaries & Reports

Save hours on financial tracking by automating invoice extraction from Telegram photos to Notion using Google Gemini AI. This workflow extracts data, records transactions, and generates detailed spending reports with charts sent on schedule via Telegram.
lmChatGoogleGemini
telegramTrigger
notion
+9
Free

Automate Email Replies with n8n and AI-Powered Summarization

Save hours managing your inbox with this n8n workflow that uses IMAP email triggers, AI summarization, and vector search to draft concise replies requiring minimal review. Automate business email processing efficiently with AI guidance and Gmail integration.
emailReadImap
vectorStoreQdrant
emailSend
+12
Free

Automate Email Campaigns Using n8n with Gmail & Google Sheets

This n8n workflow automates personalized email outreach campaigns by integrating Gmail and Google Sheets, saving hours of manual follow-up work and reducing errors in email sequences. It ensures timely follow-ups based on previous email interactions, optimizing communication efficiency.
googleSheets
gmail
code
+5
Free