{"product_id":"clerk-webhook-onboarding-7-email-brevo-drip-in-n8n","title":"Clerk Webhook Onboarding: 7-Email Brevo Drip in n8n","description":"\u003ch3\u003eTurn Clerk events into a complete 7-email Brevo onboarding—automatically\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow listens for \u003cstrong\u003eClerk\u003c\/strong\u003e signup\/activation\/upgrade events via a webhook, then runs a \u003cstrong\u003eBrevo (Sendinblue) 7-email drip onboarding\u003c\/strong\u003e for free users. If the contact becomes Pro, the workflow immediately updates Brevo attributes and moves the contact to the Pro list—so the remaining free onboarding sequence stops.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReceives webhook events\u003c\/strong\u003e: Accepts a POST request on the \u003ccode\u003eyour-product-onboarding\u003c\/code\u003e path (either \u003ccode\u003eClerk user.created\u003c\/code\u003e or a backend payload containing \u003ccode\u003eevent\u003c\/code\u003e, \u003ccode\u003eemail\u003c\/code\u003e, \u003ccode\u003efirstname\u003c\/code\u003e, and \u003ccode\u003econtactId\u003c\/code\u003e).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNormalizes and routes the event\u003c\/strong\u003e: Converts the incoming payload into a consistent structure and branches based on \u003ccode\u003esignup\u003c\/code\u003e, \u003ccode\u003eactivated\u003c\/code\u003e, or \u003ccode\u003eupgrade_pro\u003c\/code\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOn signup (FREE)\u003c\/strong\u003e: Upserts the contact in Brevo, sets onboarding attributes (e.g., \u003ccode\u003ePLAN=FREE\u003c\/code\u003e and \u003ccode\u003eIS_ACTIVATED=false\u003c\/code\u003e), adds the contact to \u003cstrong\u003elist 6\u003c\/strong\u003e, and sends the Welcome email.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePlan-aware email sequence\u003c\/strong\u003e: After each \u003cstrong\u003ewait\u003c\/strong\u003e period, the workflow re-fetches the contact from Brevo and exits the sequence if \u003ccode\u003ePLAN=PRO\u003c\/code\u003e by moving the contact from \u003cstrong\u003elist 6\u003c\/strong\u003e to \u003cstrong\u003elist 3\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eUses activation state to fast-forward\u003c\/strong\u003e: If the contact remains on FREE, it continues through the remaining onboarding emails, using the Brevo \u003ccode\u003eIS_ACTIVATED\u003c\/code\u003e flag to choose the appropriate branch.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOn activated\u003c\/strong\u003e: Updates Brevo contact attribute \u003ccode\u003eIS_ACTIVATED=true\u003c\/code\u003e to ensure later checks can fast-forward to the later part of the sequence.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOn upgrade_pro (switch to Pro immediately)\u003c\/strong\u003e: Sets \u003ccode\u003ePLAN=PRO\u003c\/code\u003e and moves the contact from \u003cstrong\u003elist 6\u003c\/strong\u003e to \u003cstrong\u003elist 3\u003c\/strong\u003e so waiting executions stop at the next plan check.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eLaunching a SaaS onboarding flow where users start free but need automated nurturing before activation.\u003c\/li\u003e\n  \u003cli\u003eEnsuring Pro upgrades instantly halt the remaining free 7-email onboarding in Brevo.\u003c\/li\u003e\n  \u003cli\u003eCoordinating Clerk lifecycle events with Brevo lists\/attributes for clean segmentation.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n nodes\u003c\/strong\u003e: \u003ccode\u003ewebhook\u003c\/code\u003e, \u003ccode\u003eset\u003c\/code\u003e, \u003ccode\u003eif\u003c\/code\u003e, \u003ccode\u003eswitch\u003c\/code\u003e, \u003ccode\u003ewait\u003c\/code\u003e, \u003ccode\u003esend in blue\u003c\/code\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIntegrations\u003c\/strong\u003e: \u003cstrong\u003eClerk\u003c\/strong\u003e event intake + \u003cstrong\u003eBrevo (Sendinblue)\u003c\/strong\u003e contact upsert, list management, and email sending.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eKey Brevo logic\u003c\/strong\u003e: \u003ccode\u003ePLAN\u003c\/code\u003e (\u003ccode\u003eFREE\u003c\/code\u003e\/\u003ccode\u003ePRO\u003c\/code\u003e) and \u003ccode\u003eIS_ACTIVATED\u003c\/code\u003e attributes drive branching and stopping conditions.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46289342070963,"sku":"N8N-21344","price":73.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/slX8FOEQRR_wS8zm9VOwe_gSaFTj8a.png?v=1793007072","url":"https:\/\/buyflowscripts.com\/products\/clerk-webhook-onboarding-7-email-brevo-drip-in-n8n","provider":"N8N Commerce","version":"1.0","type":"link"}