The workflow starts with an IMAP trigger and a webhook that capture new messages the moment they arrive. A merge node combines the two streams, and a function node normalizes the data into a standard ticket shape. Keyword checks and sentiment analysis assign categories and priority levels, while a decision node flags tickets that can be answered automatically. Tailored replies are generated and sent back to the customer, and the same ticket is posted to a Slack channel for the team and saved in a CRM for future reference. Built in error nodes catch authentication failures, malformed payloads and rate limit warnings, then alert the crew in Slack so nothing falls through the cracks.