Integrations & NotificationsPro

Send leads to other tools with webhooks

Send every new lead from Promptor Pro to a CRM, Zapier, Make or your own endpoint in real time, with signed requests and automatic retries.

A webhook sends each new lead to another system the moment it is captured. Use it to add leads to your CRM, a spreadsheet, a mailing list or your own app, without copying anything by hand.

Webhooks are part of Promptor Pro. Compare plans.

The Webhooks settings screen with delivery, security and privacy options
Webhooks settings

How it works

  1. A visitor sends the contact form or a quote request in the chat.
  2. Promptor fires the Lead Created event and sends the lead data to your Webhook URL as an HTTP request.
  3. The receiving tool (your CRM, Zapier, Make or your own code) processes the lead.
  4. If delivery fails, Promptor retries automatically.

Each request is signed with your secret key, so the receiver can check it really came from your site.

Set up a webhook

  1. Get a webhook URL from the tool that will receive the leads. For Zapier and Make, see Connect Promptor to Zapier or Make.
  2. In Promptor, click Webhooks in the top navigation.
  3. Turn on Enable webhook delivery. The Webhooks Active badge appears.
  4. Under Events, make sure Lead Created is selected.
  5. Under Delivery Settings, paste the URL into Webhook URL.
  6. Under Security, note the Secret Key (it starts with whsec_). Copy it to the receiving system if that system verifies signatures.
  7. Save your settings.
  8. Submit a test lead in the chat on your site, using test details such as jane@example.com, and check that it arrives in the receiving tool.

Settings

General

SettingWhat it doesDefault
Enable webhook deliveryTurns webhooks on or off.—
Temporarily pause deliveriesEvents are logged but not sent. Use it while you change your CRM or Zap.—

Events

EventFires when
Lead CreatedA visitor sends the contact form or a quote request in the chat.

Handoffs (a visitor clicking Talk to a human and choosing a channel) are not webhook events. To alert your team about handoffs, use the transcript notification on Settings › Handoff & Channels, or, for developers, the promptor_handoff action. See Hand visitors over to a human.

Delivery Settings

SettingWhat it doesDefault
Webhook URLWhere Promptor sends the lead. Required. HTTPS is strongly recommended. Works with Zapier, Make and custom endpoints.Empty
Retry AttemptsHow many times Promptor retries a failed delivery, from 1 to 5. The wait between attempts grows each time (exponential backoff).3 (as shown on the 2.0.1 screen)
Request TimeoutHow many seconds Promptor waits for the receiver to answer, from 5 to 30.10 (as shown on the 2.0.1 screen)

Security

SettingWhat it doesDefault
Secret KeySigns requests with HMAC-SHA256. The signature is sent in the X-Promptor-Signature header.—
Verify SSL/TLS certificatesChecks the receiver's HTTPS certificate. Recommended. Disable only for local development.— (recommended on)

Privacy & Data Retention

SettingWhat it doesDefault
Store full payload data in delivery logsSaves the full payload in the delivery logs. Delivery logs are kept for 30 days.—

What is sent

The payload contains the lead's details, including names, emails and message content. The lead score is not part of the Lead Created payload, because the lead is scored right after the webhook is queued. To pass the score on, use the {lead_score} and {lead_temperature} placeholders in an email or Slack alert, see Email and Slack notifications. For the exact fields and how to verify the X-Promptor-Signature header in your own code, see Webhook payload and signature verification.

Webhook payloads contain personal data. Send them only to HTTPS endpoints you control or trust, keep your secret key private, and mention the receiving service in your privacy policy. See Privacy, GDPR and the data Promptor stores.

Check that webhooks work

Troubleshooting

  • Nothing arrives. Check that Enable webhook delivery is on, Temporarily pause deliveries is off and the Webhook URL is complete. Then submit a new test lead.
  • The receiver rejects requests as unsigned or invalid. Make sure both sides use the same Secret Key.
  • Timeouts. Your endpoint must answer within the Request Timeout. Process the lead in the background and answer straight away, or raise the timeout (up to 30 seconds).
  • SSL errors on a staging site. Use a valid certificate. Turn off Verify SSL/TLS certificates only on local development sites, never in production.

Still need help?

Our support team answers every ticket. Tell us your WordPress version, Promptor version and what you see.

Read the FAQSee what changed in each version

Open a support ticket

All help topics