Skip to content

Webhooks, API & AI

14 articles

Send LeadPattern events to your own systems with signed webhooks, and connect AI apps like Claude and ChatGPT.

Guides in this section

AI Connectors (MCP) Overview

The LeadPattern MCP server lets Claude, ChatGPT and Cursor read your chats and, after you confirm, send messages, tag customers or build bots.

4 min readRead guide

Build Bots by Describing Them

Describe an automation in plain words to Claude, ChatGPT or another AI app and it builds the LeadPattern bot for you, switched off until you turn it on.

3 min readRead guide

Confirm and Approve AI Changes (MCP)

Every change an AI app makes through the LeadPattern MCP server is previewed first and only happens after you say yes. How it works, with examples, and how to also require approval in LeadPattern.

4 min readRead guide

Connect ChatGPT to LeadPattern (MCP)

Add LeadPattern as a connector in ChatGPT so it can read your chats and customers and, with your confirmation, make changes in your workspace.

2 min readRead guide

Connect Claude Code or Cursor (MCP)

Add the LeadPattern MCP server to Claude Code with one command, or to Cursor with a few lines of config.

2 min readRead guide

Connect Claude to LeadPattern (MCP)

Add the LeadPattern MCP server as a custom connector in Claude (web or desktop) so Claude can work with your chats, customers, templates and bots.

2 min readRead guide

Create a Webhook

Register a webhook endpoint in LeadPattern, choose the events it receives, sign deliveries with a secret, and send a test before saving.

4 min readRead guide

Manage AI App Connections (MCP)

Connect AI apps to one or more LeadPattern workspaces, see which apps are connected, track what they did in the activity log and disconnect them any time.

5 min readRead guide

Manage Webhooks

Edit LeadPattern webhooks, rotate or replace signing secrets with a 24-hour grace period, pause and resume deliveries, and understand each status badge.

4 min readRead guide

Verify Webhook Signatures

Sign LeadPattern webhook deliveries and verify the HMAC-SHA256 X-Webhook-Signature header, with Node.js and Python examples that handle secret rotation.

7 min readRead guide

Webhook Events

The 41 LeadPattern webhook events (messages, conversations, contacts, notes, flows, calls and WooCommerce) and the envelope every delivery uses.

4 min readRead guide

Webhook Logs & Retries

How LeadPattern retries failed webhooks for ~24 hours, how to redeliver an event, when a webhook is auto-disabled, and how to read 30-day delivery logs.

5 min readRead guide

Webhooks Overview

LeadPattern webhooks send real-time events, such as new messages, chat assignments and calls, to your own server as signed HTTPS POST requests.

3 min readRead guide

What AI Apps Can Do in LeadPattern (MCP)

Everything Claude, ChatGPT and other AI apps can read and change through the LeadPattern MCP server, with example requests.

7 min readRead guide