๐ Setting Up a Custom Webhook in Proof Blazer
Proof Blazer allows you to connect your widgets to any third-party application or custom system using webhooks. This is perfect if you want to collect leads, log interactions, or trigger workflows outside of Proof Blazer.
In this guide, we’ll walk you through how to set up webhooks for the following widget types:
Stream Widget – send user data such as email, name, country, description, and timestamp.
Information Widget – send profile picture, title, description, and link details.
๐งช What is a Webhook?
A webhook is an automated message sent from Proof Blazer to your server (or another app) whenever a widget is triggered. It contains data (in JSON format) that you can process or forward to other services.
1๏ธโฃ Stream Widget Webhook Setup
๐ When is this triggered?
Each time a new stream notification is displayed (e.g. “John from USA just signed up”), a webhook will be fired.
๐งพ Payload Structure
json
Copy
Edit
{
"email": "[email protected]",
"name": "John Doe",
"country": "United States",
"description": "Signed up for our newsletter",
"date_time": "2025-06-04T10:30:00+05:30"
}
โ
Use Cases
Automatically add leads to your CRM
Track sign-ups in Google Sheets via Zapier
Trigger onboarding emails via an automation platform
2๏ธโฃ Information Widget Webhook Setup
๐ When is this triggered?
Whenever a visitor sees an information widget, such as an announcement or a limited-time offer.
๐งพ Payload Structure
json
Copy
Edit
{
"profile_picture": "https://yourcdn.com/uploads/profile.jpg",
"title": "Limited Time Offer!",
"description": "Get 20% off our annual plan – today only.",
"link": "https://yourwebsite.com/offer"
}
โ
Use Cases
Log user impressions of key announcements
Trigger analytics events (e.g., via Google Tag Manager)
Measure engagement and A/B test widget performance