{"product_id":"contact-form-7-to-hubspot-slack-alerts-with-n8n","title":"Contact Form 7 to HubSpot + Slack Alerts with n8n","description":"\u003ch3\u003eTurn every Contact Form 7 submission into a HubSpot contact—plus an instant Slack alert\u003c\/h3\u003e\n\u003cp\u003eWith this \u003cstrong\u003en8n automation workflow\u003c\/strong\u003e, every \u003cstrong\u003eContact Form 7\u003c\/strong\u003e lead is captured by a private webhook, \u003cstrong\u003esaved to HubSpot\u003c\/strong\u003e (create or update), and immediately \u003cstrong\u003esent to Slack\u003c\/strong\u003e—so your team gets notified even if the notification email never arrives.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cp\u003eThe workflow is triggered once per submission by WordPress right after spam checking, ensuring lead delivery reliability.\u003c\/p\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNew Lead Webhook\u003c\/strong\u003e receives your form fields as JSON (for example: \u003ccode\u003e{\"your-name\":\"Ada Lovelace\",\"your-email\":\"ada@example.com\",\"your-message\":\"...\"}\u003c\/code\u003e) and uses \u003cstrong\u003eHeader Auth\u003c\/strong\u003e to keep the endpoint private.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSettings\u003c\/strong\u003e maps the field names from your Contact Form 7 form (name, email, message). Defaults match the standard CF7 fields.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eLead Fields (Code)\u003c\/strong\u003e reads the incoming fields, splits the name into \u003cem\u003efirst\u003c\/em\u003e and \u003cem\u003elast\u003c\/em\u003e name for HubSpot, and collects all other fields for the Slack alert (e.g., phone, subject, consent boxes).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eHas Email (if)\u003c\/strong\u003e routes submissions with no email directly to \u003cstrong\u003eSlack\u003c\/strong\u003e because HubSpot requires an email to locate contacts.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSave to HubSpot\u003c\/strong\u003e creates a new contact or updates an existing one when the email is already in your CRM. The form message is stored in HubSpot’s Message property.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNotify Slack\u003c\/strong\u003e posts a lead notification with a link to the HubSpot record and explicitly states whether it’s a \u003cstrong\u003enew\u003c\/strong\u003e or \u003cstrong\u003ereturning\u003c\/strong\u003e contact. If HubSpot rejects the lead (e.g., invalid email or token issues), the alert includes the reason and still carries the full submission.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eCapture demo requests or contact inquiries from \u003cstrong\u003eContact Form 7\u003c\/strong\u003e and automatically sync them into \u003cstrong\u003eHubSpot\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003eEnsure sales\/support teams receive real-time \u003cstrong\u003eSlack\u003c\/strong\u003e lead alerts after each successful form submission.\u003c\/li\u003e\n  \u003cli\u003ePrevent duplicate HubSpot contacts by updating records for returning visitors instead of creating new ones.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003en8n nodes: \u003cstrong\u003ewebhook\u003c\/strong\u003e, \u003cstrong\u003eif\u003c\/strong\u003e, \u003cstrong\u003eset\u003c\/strong\u003e, \u003cstrong\u003ecode\u003c\/strong\u003e, \u003cstrong\u003ehubspot\u003c\/strong\u003e, \u003cstrong\u003eslack\u003c\/strong\u003e\n\u003c\/li\u003e\n  \u003cli\u003eAuth: \u003cstrong\u003eHeader Auth\u003c\/strong\u003e for the webhook endpoint\u003c\/li\u003e\n  \u003cli\u003eData handling: name splitting for HubSpot + full submission included in Slack alerts (including error cases)\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cstrong\u003eSetup tip:\u003c\/strong\u003e Open \u003cstrong\u003eSettings\u003c\/strong\u003e and update field names if your Contact Form 7 form uses custom labels.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46123203952819,"sku":"N8N-20095","price":2.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/n_Nl6oPxKVcAzfAcXqmR8_mBizVxIw.png?v=1790673563","url":"https:\/\/buyflowscripts.com\/products\/contact-form-7-to-hubspot-slack-alerts-with-n8n","provider":"N8N Commerce","version":"1.0","type":"link"}