{"product_id":"imap-to-notion-helpdesk-tickets-n8n-workflow-automation","title":"IMAP to Notion Helpdesk Tickets: n8n Workflow Automation","description":"\u003ch3\u003eTurn IMAP support emails into Notion helpdesk tickets—automatically\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow monitors a shared support inbox via IMAP and converts new emails into structured helpdesk tickets in \u003cstrong\u003eNotion\u003c\/strong\u003e. It deduplicates by \u003cem\u003eMessage-ID\u003c\/em\u003e, recognizes replies by thread headers, uploads attachments to Notion, and posts follow-ups as comments on the correct ticket.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eWatches an IMAP inbox\u003c\/strong\u003e for new incoming emails in your configured shared support mailbox.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCleans and normalizes email content\u003c\/strong\u003e (subject, body, sender details) and extracts thread headers to support deduplication and follow-up detection.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePrevents duplicate tickets\u003c\/strong\u003e by querying the \u003cstrong\u003eNotion Tickets\u003c\/strong\u003e database and skipping emails whose \u003cstrong\u003eMessage-ID\u003c\/strong\u003e already exists on an existing ticket.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eHandles replies and follow-ups\u003c\/strong\u003e by searching Notion for a ticket matching the email’s \u003cstrong\u003eIn-Reply-To\u003c\/strong\u003e\/\u003cstrong\u003eReferences\u003c\/strong\u003e, then adds the message as a \u003cstrong\u003ecomment\u003c\/strong\u003e on the original ticket.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eUploads attachments to Notion\u003c\/strong\u003e using the \u003cstrong\u003eFile Upload API\u003c\/strong\u003e, tracking successful uploads and recording failures.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCreates new tickets for new requests\u003c\/strong\u003e by finding or creating the requester in the \u003cstrong\u003eNotion Contacts\u003c\/strong\u003e database, creating a ticket (using the database default template when available), inserting the cleaned email content at the top, and storing the email’s \u003cstrong\u003eMessage-ID\u003c\/strong\u003e on the ticket.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eSaaS support teams who want a lightweight helpdesk in Notion without manual ticket entry.\u003c\/li\u003e\n  \u003cli\u003eConsolidating multiple inbox threads into a single Notion ticket with proper comment history.\u003c\/li\u003e\n  \u003cli\u003eKeeping all request context (message content, thread updates, attachments) inside Notion for easy review.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIMAP trigger\u003c\/strong\u003e for new email detection.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNotion API\u003c\/strong\u003e access to Tickets and Contacts databases, page creation, and comment insertion.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFile Upload API\u003c\/strong\u003e to upload email attachments into Notion.\u003c\/li\u003e\n  \u003cli\u003en8n nodes referenced in the workflow: \u003cstrong\u003eif\u003c\/strong\u003e, \u003cstrong\u003eset\u003c\/strong\u003e, \u003cstrong\u003ecode\u003c\/strong\u003e, \u003cstrong\u003esticky note\u003c\/strong\u003e, \u003cstrong\u003ehttp request\u003c\/strong\u003e, \u003cstrong\u003estop\u003c\/strong\u003e and \u003cstrong\u003eerror\u003c\/strong\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eSetup requirements\u003c\/h3\u003e\n\u003cp\u003eCreate a Notion integration, share your \u003cstrong\u003eTickets\u003c\/strong\u003e and \u003cstrong\u003eContacts\u003c\/strong\u003e databases, and grant permissions to create pages, upload files, and insert comments. Then configure the workflow’s Notion API credentials.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46203575435443,"sku":"N8N-20740","price":27.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/3PTfuzgxHMke357xu40QT_nNoyP68V.png?v=1791709937","url":"https:\/\/buyflowscripts.com\/products\/imap-to-notion-helpdesk-tickets-n8n-workflow-automation","provider":"N8N Commerce","version":"1.0","type":"link"}