{"product_id":"odoo-hr-offboarding-automation-webhook-gmail-slack","title":"Odoo HR Offboarding Automation: Webhook, Gmail \u0026 Slack","description":"\u003ch3\u003eAutomate Odoo HR Offboarding in minutes—Webhook intake to Odoo updates, Google Calendar exit interviews, Gmail confirmations, and Slack notifications\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow streamlines your HR offboarding process by accepting employee departures via \u003cstrong\u003ewebhook\u003c\/strong\u003e, updating the employee record in \u003cstrong\u003eOdoo HR\u003c\/strong\u003e, scheduling an exit interview in \u003cstrong\u003eGoogle Calendar\u003c\/strong\u003e, sending a confirmation email through \u003cstrong\u003eGmail\u003c\/strong\u003e, notifying \u003cstrong\u003eSlack\u003c\/strong\u003e channels, and generating Odoo checklist tasks—then automatically archives employees after their last day.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReceives a POST webhook request\u003c\/strong\u003e containing employee details (name\/email), last working day, departure reason, and an optional manager email.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eValidates and normalizes input\u003c\/strong\u003e, returning a \u003cstrong\u003e400\u003c\/strong\u003e error if required fields are missing.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eLooks up the employee in Odoo\u003c\/strong\u003e (\u003ccode\u003ehr.employee\u003c\/code\u003e) by work email (when provided) or by name; returns \u003cstrong\u003e404\u003c\/strong\u003e if no match is found and \u003cstrong\u003e502\u003c\/strong\u003e if the Odoo lookup fails.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eResolves manager email\u003c\/strong\u003e from the employee’s Odoo \u003ccode\u003eparent_id\u003c\/code\u003e when available (otherwise uses the submitted manager email).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFinds or creates the departure reason\u003c\/strong\u003e in \u003ccode\u003ehr.departure.reason\u003c\/code\u003e, then updates the employee with \u003ccode\u003edeparture_date\u003c\/code\u003e and \u003ccode\u003edeparture_reason_id\u003c\/code\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eResponds 200 OK immediately\u003c\/strong\u003e after the Odoo departure update succeeds.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIn parallel (non-blocking on delivery errors):\u003c\/strong\u003e creates a Google Calendar exit interview invite, sends a departure confirmation via Gmail, posts offboarding notifications to \u003cstrong\u003etwo Slack channels\u003c\/strong\u003e, and creates \u003cstrong\u003efour Odoo \u003ccode\u003eproject.task\u003c\/code\u003e checklist items\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRuns daily on a schedule\u003c\/strong\u003e to find employees whose \u003ccode\u003edeparture_date\u003c\/code\u003e has passed and archives them.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eHR requests coming from an internal form or HR portal, pushing offboarding details to n8n via webhook.\u003c\/li\u003e\n  \u003cli\u003eTeams needing consistent exit interview scheduling plus Slack visibility for IT\/PeopleOps.\u003c\/li\u003e\n  \u003cli\u003eOrganizations using Odoo for HR tracking and project.task checklists for offboarding steps.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eWorkflow type:\u003c\/strong\u003e n8n automation workflow\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNodes\/Integrations used:\u003c\/strong\u003e \u003ccode\u003eif\u003c\/code\u003e, \u003ccode\u003eset\u003c\/code\u003e, \u003ccode\u003eno op\u003c\/code\u003e, \u003cstrong\u003eOdoo\u003c\/strong\u003e, \u003cstrong\u003eGmail\u003c\/strong\u003e, \u003cstrong\u003eSlack\u003c\/strong\u003e\n\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eKey behaviors:\u003c\/strong\u003e webhook handling, Odoo hr.employee update, Google Calendar exit interview scheduling, Gmail confirmation, Slack notifications, Odoo project.task checklist creation, and daily archival after last day.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45865766715571,"sku":"N8N-18353","price":20.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/U19ulaerpsSmiT9QM3eyU_AL16YArp.png?v=1787044745","url":"https:\/\/buyflowscripts.com\/products\/odoo-hr-offboarding-automation-webhook-gmail-slack","provider":"N8N Commerce","version":"1.0","type":"link"}