{"product_id":"n8n-workflow-reply-to-linkedin-pros-with-reach-mcp-openai","title":"n8n Workflow: Reply to LinkedIn Pros with Reach MCP + OpenAI","description":"\u003ch3\u003eAutomatically reply to LinkedIn prospects sent via Reach MCP—safely and idempotently\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow listens for \u003cstrong\u003eReach MCP\u003c\/strong\u003e LinkedIn \u003cstrong\u003emessage.received\u003c\/strong\u003e webhooks, verifies each request with HMAC signature validation, drafts a short reply using \u003cstrong\u003eOpenAI\u003c\/strong\u003e, and posts it back to Reach using \u003cstrong\u003eidempotency protection\u003c\/strong\u003e to prevent duplicate sends.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReceives a webhook\u003c\/strong\u003e from Reach MCP via a POST endpoint when a LinkedIn event is delivered.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReconstructs and validates the payload\u003c\/strong\u003e: rebuilds the raw payload, checks timestamp freshness, and computes an \u003cstrong\u003eHMAC-SHA256\u003c\/strong\u003e signature to verify the \u003ccode\u003ereach-signature\u003c\/code\u003e header.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFilters events\u003c\/strong\u003e so it only continues when:\n    \u003cul\u003e\n      \u003cli\u003ethe request is correctly signed,\u003c\/li\u003e\n      \u003cli\u003ethe timestamp is within the freshness window,\u003c\/li\u003e\n      \u003cli\u003ethe event type is \u003ccode\u003emessage.received\u003c\/code\u003e, and\u003c\/li\u003e\n      \u003cli\u003ethe message is not from a group chat.\u003c\/li\u003e\n    \u003c\/ul\u003e\n  \u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eDrafts a reply with OpenAI\u003c\/strong\u003e by sending the prospect details and last message text to an OpenAI chat model, generating a \u003cstrong\u003e2–4 sentence\u003c\/strong\u003e response in the \u003cstrong\u003esame language\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSends the reply to Reach MCP\u003c\/strong\u003e using the event ID as an \u003ccode\u003eIdempotency-Key\u003c\/code\u003e via the Reach MCP LinkedIn Messages API, reducing duplicate outputs when webhooks retry.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eTurn incoming LinkedIn messages (delivered through Reach MCP) into fast, on-brand replies without manual copy\/paste.\u003c\/li\u003e\n  \u003cli\u003eAutomate lead response handling for SaaS teams using n8n + Reach MCP webhooks.\u003c\/li\u003e\n  \u003cli\u003eEnsure secure webhook intake (signature verification + freshness checks) for production message automation.\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\/tools:\u003c\/strong\u003e \u003ccode\u003eif\u003c\/code\u003e, \u003ccode\u003ecode\u003c\/code\u003e, \u003ccode\u003ecrypto\u003c\/code\u003e, \u003ccode\u003ewebhook\u003c\/code\u003e, \u003ccode\u003ehttp request\u003c\/code\u003e, plus a \u003cstrong\u003esticky note\u003c\/strong\u003e for guidance.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIntegrations:\u003c\/strong\u003e \u003cstrong\u003eReach MCP\u003c\/strong\u003e (webhook + LinkedIn Messages API) and \u003cstrong\u003eOpenAI\u003c\/strong\u003e (chat model for reply drafting).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSecurity \u0026amp; reliability:\u003c\/strong\u003e verifies \u003ccode\u003ereach-signature\u003c\/code\u003e using \u003cstrong\u003eHMAC-SHA256\u003c\/strong\u003e and posts with an \u003cstrong\u003eIdempotency-Key\u003c\/strong\u003e to prevent duplicate sends.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46114747515059,"sku":"N8N-19992","price":61.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/jZvUgceMOxRl42I1SPORh_p6IAl35T.png?v=1790587231","url":"https:\/\/buyflowscripts.com\/products\/n8n-workflow-reply-to-linkedin-pros-with-reach-mcp-openai","provider":"N8N Commerce","version":"1.0","type":"link"}